eslint-plugin-elem-mods
v0.1.0
Published
bem bemxjst elemMods
Downloads
12
Maintainers
Readme
eslint-plugin-elem-mods
bem bemxjst elemMods
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-elem-mods
:
$ npm install eslint-plugin-elem-mods --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-elem-mods
globally.
Usage
Add elem-mods
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"elem-mods"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"elem-mods/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here