1.0.3 • Published 4 years ago

@bluebase/eslint-config-bluebase v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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 in package.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