@zenloopgmbh/eslint-config-typescript

Recommended config for typescript eslint

Usage no npm install needed!

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

README

@zenloopgmbh/eslint-config-typescript

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

Installation

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

Usage

In eslintrc.js file add:

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

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/typescript-eslint/typescript-eslint/tree/master/packages/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.