|
8 | 8 | }, |
9 | 9 |
|
10 | 10 | "rules": { |
| 11 | + "accessor-pairs": [2, { getWithoutSet: false, setWithoutGet: true }], |
11 | 12 | "block-scoped-var": [0], |
12 | 13 | "brace-style": [2, "1tbs", { "allowSingleLine": true }], |
13 | 14 | "camelcase": [2], |
|
29 | 30 | "guard-for-in": [0], |
30 | 31 | "handle-callback-err": [0], |
31 | 32 | "key-spacing": [2, { "beforeColon": false, "afterColon": true }], |
| 33 | + "linebreak-style": [2, "unix"], |
| 34 | + "lines-around-comment": [2, { "beforeBlockComment": false, "afterBlockComment": false, "beforeLineComment": false, "beforeLineComment": false }], |
32 | 35 | "quotes": [2, "single", "avoid-escape"], |
33 | 36 | "max-depth": [0, 4], |
34 | 37 | "max-len": [0, 80, 4], |
|
56 | 59 | "no-duplicate-case": [2], |
57 | 60 | "no-else-return": [0], |
58 | 61 | "no-empty": [2], |
59 | | - "no-empty-class": [2], |
| 62 | + "no-empty-character-class": [2], |
60 | 63 | "no-empty-label": [2], |
61 | 64 | "no-eq-null": [0], |
62 | 65 | "no-eval": [2], |
|
119 | 122 | "no-sync": [0], |
120 | 123 | "no-ternary": [0], |
121 | 124 | "no-throw-literal": [2], |
122 | | - "no-trailing-spaces": [2], |
| 125 | + "no-trailing-spaces": [2, { "skipBlankLines": false }], |
123 | 126 | "no-undef": [2], |
124 | 127 | "no-undef-init": [2], |
125 | 128 | "no-undefined": [0], |
126 | 129 | "no-underscore-dangle": [2], |
| 130 | + "no-unneeded-ternary": [2], |
127 | 131 | "no-unreachable": [2], |
128 | 132 | "no-unused-expressions": [2], |
129 | 133 | "no-unused-vars": [2, { "vars": "all", "args": "after-used" }], |
|
132 | 136 | "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }], |
133 | 137 | "no-with": [2], |
134 | 138 | "no-wrap-func": [2], |
| 139 | + "object-curly-spacing": [2, "always"], |
135 | 140 | "object-shorthand": [2, "never"], |
136 | 141 | "one-var": [0], |
137 | 142 | "operator-assignment": [0, "always"], |
138 | | - "operator-linebreak": [2, "after"], |
| 143 | + "operator-linebreak": [2, "none"], |
139 | 144 | "padded-blocks": [0], |
140 | 145 | "quote-props": [0], |
141 | 146 | "radix": [0], |
|
0 commit comments