1.0.3 • Published 6 years ago
@bluebase/eslint-config-bluebase v1.0.3
Setup
- Install the package via
yarn add @bluebase/eslint-config-bluebase- Create a
.eslintrcfile on the root of your project with the following content
{
"extends": [
"@bluebase/eslint-config-bluebase/eslint.js"
]
}- Add the following lines to
scriptsinpackage.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