eslint-plugin-amd

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-amd

Weekly Downloads

195

Version

1.1.0

License

ISC

Last publish

Collaborators

  • bonuspunkt