eslint-plugin-elem-mods
Version:
bem bemxjst elemMods
52 lines (31 loc) • 775 B
Markdown
# eslint-plugin-elem-mods
bem bemxjst elemMods
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ 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:
```json
{
"plugins": [
"elem-mods"
]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"elem-mods/rule-name": 2
}
}
```
## Supported Rules
* Fill in provided rules here