- Ensure that you have ESLint installed ESLint:
npm i -D eslint
- Install the package itself
npm i -D eslint-config-winniepukki-guardian
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-config-winniepukki-guardian
globally.
- Install peer dependencies
npm i eslint-config-airbnb eslint-plugin-react
Add the following code to your package.json
"eslintConfig": {
"extends": "winniepukki-guardian"
},