1 | # Modifiers
|
2 |
|
3 | Sometimes you want some rules for a project and not for another.
|
4 | Without requiring the need for multiple version of this project.
|
5 |
|
6 | Modifiers are specific to your rules and can be tedeious to implement. I suggest
|
7 | to use them mostly for add/remove rules and avoid multiple modifiers that can
|
8 | affect the same rule.
|
9 |
|
10 | ## Available modifiers
|
11 |
|
12 | ```js
|
13 | {
|
14 | "novivia-linter": {
|
15 | "modifiers": {
|
16 | "react": Boolean, // Enable/Disable react plugin. Default: true,
|
17 | "es2015": Boolean, // Enable/Disable rules for ES2015. Default: true,
|
18 | "no-code-style": Boolean // Do not add rules concerning code style. Default: false
|
19 | }
|
20 | }
|
21 | }
|
22 | ```
|