Note on Prettier

This commit is contained in:
Bryan Ashby 2022-06-10 16:18:22 -06:00
parent 5a6827f46b
commit dc0a06d195
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 4 additions and 3 deletions

View File

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