eslint-plugin-amd

amd

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-amd
1.1.07 years ago8 years agoMinified + gzip package size for eslint-plugin-amd in KB

Readme

eslint-plugin-amd
amd

Installation

You'll first need to install ESLint:
$ npm i eslint --save-dev

Next, install eslint-plugin-amd:
$ npm install eslint-plugin-amd --save-dev

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

Usage

Add amd to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
    "plugins": [
        "amd"
    ]
}

Then configure the rules you want to use under the rules section.
{
    "rules": {
        "amd/rule-name": 2
    }
}

Supported Rules

see tests/lib/rules