lukeed/tidyPublic

fix: recover in code blocks

Scripts in markup and Markdown code blocks parse with the recovery
that files have, as Prettier's parsers are the same there, and keep
the same round-trip check. Duplicate exports are recoverable too, as
Babel's DuplicateExport is. 26 more Markdown files of the corpus
match Prettier without the hook, mostly declaration-only .api.md.
LELuke Edwards authored
5626635Patch
Parentabb183a
3 files changed+57-21
StackedSplit
crates/tidy/src/js/mod.rs+18 −10
crates/tidy/src/js/template/js.rs+32 −11
crates/tidy/tests/embedded_js.rs+7 −0