Closed shanedell closed 3 years ago
Linting is great, but we need a better formatter for #99.
Prettier has a VSCode extension, JavaScriptPrettier
Can set VS Code to format on save, which is ideal for now.
Might want a CI check for formatting too, but that can wait if its not a drop in simple thing to do.
I was playing around with prettier, will do separate PR
yarn run lint
-- The Unit tests CI actually already fails if their are linting issues so no need to create a seperate one (file removed from repo)fix-lint
in scriptpackage.json
, so that the user can just runyarn run fix-lint
and all of the lint issues will be fixed..eslintrc.json
to have a rule for indents. This file can be updated with more rules for more specific code checking.99