@zenloopgmbh/eslint-config-node

Recommended eslint config for node

Usage no npm install needed!

<script type="module">
  import zenloopgmbhEslintConfigNode from 'https://cdn.skypack.dev/@zenloopgmbh/eslint-config-node';
</script>

README

@zenloopgmbh/eslint-config-node

This config configures all recommended Eslint rules by Zenloop for Node.js projects.

Installation

npm i -D @zenloopgmbh/eslint-config-node

Usage

In eslintrc.js file add:

{
  "extends": [
    "@zenloopgmbh/node"
  ]
}

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/mysticatea/eslint-plugin-node 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.