@zenloopgmbh/eslint-config-babel
v0.4.6
Published
Recommended config for babel eslint
Downloads
13
Readme
@zenloopgmbh/eslint-config-babel
This config configures all recommended Eslint rules by Zenloop for babel projects.
Installation
npm i -D @zenloopgmbh/eslint-config-babel
Usage
In eslintrc.js
file add:
{
"extends": [
"@zenloopgmbh/babel"
]
}
Development
To update plugins and the rules:
Update all plugins packages to the latest
Run
npm test
inside of the package directory.Apply missing rules and remove deprecated ones.
Go to https://github.com/babel/babel/tree/main/eslint/babel-eslint-plugin and verify that each category has it's own file in
/lib
directory.In case of the category is missing a file, first add a new test and then create a file with new rules.