|
2 | 2 |
|
3 | 3 | constincludeDeprecated=!process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED; |
4 | 4 |
|
| 5 | +constspecialRule=0; |
| 6 | + |
5 | 7 | module.exports={ |
6 | 8 | rules:{ |
7 | 9 | // The following rules can be used in some cases. See the README for more |
8 | 10 | // information. (These are marked with `0` instead of `"off"` so that a |
9 | 11 | // script can distinguish them.) |
10 | | -"curly":0, |
11 | | -"lines-around-comment":0, |
12 | | -"max-len":0, |
13 | | -"no-confusing-arrow":0, |
14 | | -"no-mixed-operators":0, |
15 | | -"no-tabs":0, |
16 | | -"no-unexpected-multiline":0, |
17 | | -"quotes":0, |
18 | | -"@typescript-eslint/lines-around-comment":0, |
19 | | -"@typescript-eslint/quotes":0, |
20 | | -"babel/quotes":0, |
21 | | -"unicorn/template-indent":0, |
22 | | -"vue/html-self-closing":0, |
23 | | -"vue/max-len":0, |
| 12 | +"curly":specialRule, |
| 13 | +"lines-around-comment":specialRule, |
| 14 | +"max-len":specialRule, |
| 15 | +"no-confusing-arrow":specialRule, |
| 16 | +"no-mixed-operators":specialRule, |
| 17 | +"no-tabs":specialRule, |
| 18 | +"no-unexpected-multiline":specialRule, |
| 19 | +"quotes":specialRule, |
| 20 | +"@typescript-eslint/lines-around-comment":specialRule, |
| 21 | +"@typescript-eslint/quotes":specialRule, |
| 22 | +"babel/quotes":specialRule, |
| 23 | +"unicorn/template-indent":specialRule, |
| 24 | +"vue/html-self-closing":specialRule, |
| 25 | +"vue/max-len":specialRule, |
24 | 26 |
|
25 | 27 | // The rest are rules that you never need to enable when using Prettier. |
26 | 28 | "array-bracket-newline":"off", |
|