0.0.5 • Published 2 years ago

eslint-plugin-ember-twitch v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-ember-rules-twitch

must have isDestroyed check in promise handlers

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ember-rules-twitch:

$ npm install eslint-plugin-ember-rules-twitch --save-dev

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

Usage

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

{
    "plugins": [
        "ember-rules-twitch"
    ]
}

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

{
    "rules": {
        "ember-rules-twitch/rule-name": 2
    }
}

Supported Rules

Rules Documentation

0.0.5

2 years ago