Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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