More doc updates on Prettier

This commit is contained in:
Bryan Ashby
2022-06-10 17:21:53 -06:00
parent dc0a06d195
commit a7fe9dbeb0
2 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Contributing
## Style
* In general, [Prettier](https://prettier.io) is used. See the Prettier website for instructions.
## Style & Formatting
* In general, [Prettier](https://prettier.io) is used. See the [Prettier installation and basic instructions](https://prettier.io/docs/en/install.html) for more information.
* Though you'll see a lot of older style callback code, please utilize modern JavaScript. ES6 classes, arrow functions, and builtins.
* There is almost never a reason to use `var`. Prefer `const` where you can and and `let` otherwise.
* Save with UNIX line feeds, UTF-8 without BOM, and tabs set to 4 spaces.