0.0.2 • Published 2 years ago

eslint-plugin-ember-es6-class v0.0.2

Weekly downloads
77
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-ember-es6-class

Eslint plugin for enforcing usages of ember es6 classes.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ember-es6-class:

$ npm install eslint-plugin-ember-es6-class --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ember-es6-class globally.

Usage

Add ember-es6-class to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ember-es6-class"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "ember-es6-class/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here