lukeed/tidyPublic

fix: comments by empty bodies

A ; that is the body of an if, a loop, a with or a label holds
comments in Prettier (isMeaningfulEmptyStatement). decorate skipped
every ;, so such comments moved before the statement.
LELuke Edwards authored
9528ebcPatch
Parenteb88c46
1 file changed+28-12
StackedSplit
crates/tidy/src/js/ast/comments.rs+28 −12