0.2.0 • Published 5 years ago
@ebot7/eslint-config v0.2.0
@ebot7/eslint-config
Base ESLint configuration for e-bot7 projects
Installation
yarn add -D eslint @ebot7/eslint-configor
npm install -D eslint @ebot7/eslint-configUsage
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