Install the eslint config:
Using npm
:
npm i -D eslint @coreschool/eslint-config
Using yarn
:
yarn add -D eslint @coreschool/eslint-config
Now in the .eslintrc
file put this:
{
"extends": "@coreschool"
}
We use this main eslint config in all our examples at CORE Code School