eslint-plugin-amd
v1.1.0
Published
amd
Maintainers
Readme
eslint-plugin-amd
amd
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-amd:
$ npm install eslint-plugin-amd --save-devNote: 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
