On Thu, Jun 13, 2019 at 1:42 PM Victor Porof <vpo...@mozilla.com> wrote:
> To improve developer productivity, we plan to automate JS formatting using > Prettier <https://prettier.io/>, a broadly adopted tool specifically > designed for this task and maintained by well known stakeholders. This > should reduce the amount of time spent writing and reviewing JS code. > Thanks for doing this! This could cause some JS engine frontend tests (under js/src/tests/non262 and js/src/jit-test) to silently stop testing what they're meant to test. For example, Prettier inserts missing semicolons (which is GREAT) but we want to keep our Automatic Semicolon Insertion test coverage. What should we do? The number of test files affected is probably a very small fraction of the whole, but they're important (try implementing ASI sometime) and I don't know how to identify them. It's not obvious from the filenames. Some directory names (non262/{jit,JSON,Map}) imply that it's probably fine to beautify everything in there, but a lot of files are named stuff like "tests/non262/extensions/regress-474771-01.js". -j _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform