@blueberrypie/eslint-config
Installation
- Install:
npm install --save-dev eslint @blueberrypie/eslint-config
- Add the following to
package.json
:
{
"scripts": {
"fix:scripts": "eslint --ignore-path .lintignore --cache --fix \"**/*.{ts,tsx,js,jsx,json}\"",
"lint:scripts": "eslint --ignore-path .lintignore --max-warnings 0 --cache \"**/*.{ts,tsx,js,jsx,json}\""
},
"eslint": {
"extends": "@blueberrypie/eslint-config",
"parserOptions": {
"project": "./tsconfig.json"
}
}
}
- Add the following to
.lintignore
, adjusted as needed:
package-lock.json
build/