eslint-plugin-ember-es6-class

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-ember-es6-class

Weekly Downloads

10

Version

0.0.2

License

MIT

Unpacked Size

12 kB

Total Files

12

Last publish

Collaborators

  • scalvert