@ebot7/eslint-config
v0.2.0
Published
Shared ESLint configuration
Downloads
6
Keywords
Readme
@ebot7/eslint-config
Base ESLint configuration for e-bot7 projects
Installation
yarn add -D eslint @ebot7/eslint-config
or
npm install -D eslint @ebot7/eslint-config
Usage
In your .eslintrc.json
file
{
"extends": ["@ebot7/eslint-config"]
}
Then in package.json
you can add the following script
{
"scripts": {
+ "lint": "eslint ."
}
}
to use from command line
yarn lint # To report the linting errors in your project
yarn lint --fix # To fix the errors that can be fixed automatically