-
Install all needed packages in your project:
npm install --save-dev @kth/eslint-config-kth eslint prettier
-
Place a file ".eslintrc" in the root of your project; it will only need to contain the following:
{ "extends": ["@kth/eslint-config-kth"] }
All configuration needed will come from this config.
Our goal with this module is to use the same ESLint config in all our node projects at KTH.
We are all responsible for keeping this module fresh to help us in our daily work.
Don´t be afraid to make changes but also take your time to discuss with colleagues about the changes you want to make.
This module/package is built and published to NPM automatically after push.
Just commit and push and versions will be updated automatically