@zenloopgmbh/eslint-config-ember

Recommended config for ember eslint

Usage no npm install needed!

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

README

@zenloopgmbh/eslint-config-ember

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

Installation

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

Usage

In eslintrc.js file add:

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

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/ember-cli/eslint-plugin-ember 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.