0.1.0 • Published 9 years ago
eslint-plugin-elem-mods v0.1.0
eslint-plugin-elem-mods
bem bemxjst elemMods
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-elem-mods:
$ npm install eslint-plugin-elem-mods --save-devNote: 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
0.1.0
9 years ago