0.4.6 • Published 3 years ago

@zenloopgmbh/eslint-config-babel v0.4.6

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

@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:

  1. Update all plugins packages to the latest

  2. Run npm test inside of the package directory.

  3. Apply missing rules and remove deprecated ones.

  4. 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.

  5. In case of the category is missing a file, first add a new test and then create a file with new rules.