.eslintrc.js
).prettierrc
)tsconfig.json
)eslint-config-prettier
(helps eslint and prettier get along)Inside /.vscode/settings.json
we set prettier as the default formatter, and also set editor.codeActionsOnSave
to run:
"source.fixAll.eslint"
"source.fixAll.format"
Using husky we can check all of our style standards to make sure our git commits are up to par. Check those checks out at .husky/pre-commit