This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.
- In your project folder, run:
npm i -D eslint-config-loonz206
or for yarn
yarn install --dev eslint-config-loonz206
then run
npx install-peerdeps --dev eslint-config-loonz206
- You will see several dependencies were installed. Now, create (or update) a
.eslintrc
file with the following content:
{
'extends': [
'loonz206'
]
}
- Copy the .editorconfig file from this repository into your project folder, and be sure you have eslint and prettier installed
This repository is inspired by eslint-config-wesbos.