1.0.3 • Published 4 years ago
@bluebase/eslint-config-bluebase v1.0.3
Setup
- Install the package via
yarn add @bluebase/eslint-config-bluebase
- Create a
.eslintrc
file on the root of your project with the following content
{
"extends": [
"@bluebase/eslint-config-bluebase/eslint.js"
]
}
- Add the following lines to
scripts
inpackage.json
"lint" : "eslint src --ext=jsx,ts,tsx",
"fix:lint" : "eslint src --ext=jsx,ts,tsx --fix"
- Run lint
yarn lint
- Fix lint
yarn fix:lint