0.0.7 • Published 7 years ago

eslint-plugin-backbone-radio-channels v0.0.7

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

eslint-plugin-backbone-radio-channels

validate usage of backbone.radio channels

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-backbone-radio-channels:

$ npm install eslint-plugin-backbone-radio-channels --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-backbone-radio-channels globally.

Usage

Add backbone-radio-channels to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "backbone-radio-channels"
    ]
}

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

{
    "rules": {
        "backbone-radio-channels/channel-usage": "error"
    }
}

Supported Rules

  • channel-usage: restrict the usage of a channel to a module
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.0

7 years ago