9d7515907e
* Verify shebang tests against Babylon as well as Flow/Typescript * Pass entire text through formatWithShebang() to format() That way, we won't have to do any arithmetic on range and cursor locations when there is a shebang. See here for details: https://github.com/prettier/prettier/pull/1637#issuecomment-303846507 This required changing comment printing such that comments that are actually shebangs are just ignored. * Add curly brace after `if` See https://github.com/prettier/prettier/pull/1718#discussion_r118382574 |
||
---|---|---|
.. | ||
__snapshots__ | ||
jsfmt.spec.js | ||
shebang-newline.js | ||
shebang.js |