The ESLint configuration for all SchoolSquirrel repositories (and many more ;-))
- Run
npm i eslint @schoolsquirrel/eslint-config-squirrel eslint-plugin-import eslint-plugin-prettier --save-dev
- Create a
.eslintrc.json
file with the following content:{ "extends": ["@schoolsquirrel/eslint-config-squirrel"] }
- Create a
.eslintignore
file and list all the folders / files to be ignored. - Done!