|
1 | | -{ |
2 | | -"parser": "espree", |
3 | | -"ecmaFeatures":{}, |
4 | | -"rules":{ |
| 1 | +/** |
| 2 | + * @fileoverview Configuration applied when a user configuration extends from |
| 3 | + * eslint:recommended. |
| 4 | + * @author Nicholas C. Zakas |
| 5 | + */ |
| 6 | + |
| 7 | +"use strict"; |
| 8 | + |
| 9 | +/* eslint sort-keys: ["error", "asc"], quote-props: ["error", "consistent"] */ |
| 10 | +/* eslint-disable sort-keys */ |
| 11 | + |
| 12 | +module.exports={ |
| 13 | +parser: "espree", |
| 14 | +ecmaFeatures: {}, |
| 15 | + |
| 16 | +rules: { |
| 17 | + |
| 18 | +/* eslint-enable sort-keys */ |
| 19 | +"accessor-pairs": "off", |
| 20 | +"array-bracket-spacing": "off", |
| 21 | +"array-callback-return": "off", |
| 22 | +"arrow-body-style": "off", |
| 23 | +"arrow-parens": "off", |
| 24 | +"arrow-spacing": "off", |
| 25 | +"block-scoped-var": "off", |
| 26 | +"block-spacing": "off", |
| 27 | +"brace-style": "off", |
| 28 | +"callback-return": "off", |
| 29 | +"camelcase": "off", |
| 30 | +"capitalized-comments": "off", |
| 31 | +"class-methods-use-this": "off", |
| 32 | +"comma-dangle": "off", |
| 33 | +"comma-spacing": "off", |
| 34 | +"comma-style": "off", |
| 35 | +"complexity": "off", |
| 36 | +"computed-property-spacing": "off", |
| 37 | +"consistent-return": "off", |
| 38 | +"consistent-this": "off", |
| 39 | +"constructor-super": "error", |
| 40 | +"curly": "off", |
| 41 | +"default-case": "off", |
| 42 | +"dot-location": "off", |
| 43 | +"dot-notation": "off", |
| 44 | +"eol-last": "off", |
| 45 | +"eqeqeq": "off", |
| 46 | +"func-call-spacing": "off", |
| 47 | +"func-name-matching": "off", |
| 48 | +"func-names": "off", |
| 49 | +"func-style": "off", |
| 50 | +"generator-star-spacing": "off", |
| 51 | +"global-require": "off", |
| 52 | +"guard-for-in": "off", |
| 53 | +"handle-callback-err": "off", |
| 54 | +"id-blacklist": "off", |
| 55 | +"id-length": "off", |
| 56 | +"id-match": "off", |
| 57 | +"indent": "off", |
| 58 | +"init-declarations": "off", |
| 59 | +"jsx-quotes": "off", |
| 60 | +"key-spacing": "off", |
| 61 | +"keyword-spacing": "off", |
| 62 | +"line-comment-position": "off", |
| 63 | +"linebreak-style": "off", |
| 64 | +"lines-around-comment": "off", |
| 65 | +"lines-around-directive": "off", |
| 66 | +"max-depth": "off", |
| 67 | +"max-len": "off", |
| 68 | +"max-lines": "off", |
| 69 | +"max-nested-callbacks": "off", |
| 70 | +"max-params": "off", |
| 71 | +"max-statements": "off", |
| 72 | +"max-statements-per-line": "off", |
| 73 | +"multiline-ternary": "off", |
| 74 | +"new-cap": "off", |
| 75 | +"new-parens": "off", |
| 76 | +"newline-after-var": "off", |
| 77 | +"newline-before-return": "off", |
| 78 | +"newline-per-chained-call": "off", |
5 | 79 | "no-alert": "off", |
6 | 80 | "no-array-constructor": "off", |
7 | 81 | "no-await-in-loop": "off", |
|
10 | 84 | "no-case-declarations": "error", |
11 | 85 | "no-catch-shadow": "off", |
12 | 86 | "no-class-assign": "error", |
| 87 | +"no-compare-neg-zero": "off", |
13 | 88 | "no-cond-assign": "error", |
14 | 89 | "no-confusing-arrow": "off", |
15 | 90 | "no-console": "error", |
|
61 | 136 | "no-mixed-operators": "off", |
62 | 137 | "no-mixed-requires": "off", |
63 | 138 | "no-mixed-spaces-and-tabs": "error", |
| 139 | +"no-multi-assign": "off", |
64 | 140 | "no-multi-spaces": "off", |
65 | 141 | "no-multi-str": "off", |
66 | 142 | "no-multiple-empty-lines": "off", |
|
99 | 175 | "no-sequences": "off", |
100 | 176 | "no-shadow": "off", |
101 | 177 | "no-shadow-restricted-names": "off", |
102 | | -"no-whitespace-before-property": "off", |
103 | 178 | "no-spaced-func": "off", |
104 | 179 | "no-sparse-arrays": "error", |
105 | 180 | "no-sync": "off", |
106 | 181 | "no-tabs": "off", |
| 182 | +"no-template-curly-in-string": "off", |
107 | 183 | "no-ternary": "off", |
108 | | -"no-trailing-spaces": "off", |
109 | 184 | "no-this-before-super": "error", |
110 | 185 | "no-throw-literal": "off", |
| 186 | +"no-trailing-spaces": "off", |
111 | 187 | "no-undef": "error", |
112 | 188 | "no-undef-init": "off", |
113 | 189 | "no-undefined": "off", |
114 | | -"no-unexpected-multiline": "error", |
115 | 190 | "no-underscore-dangle": "off", |
| 191 | +"no-unexpected-multiline": "error", |
116 | 192 | "no-unmodified-loop-condition": "off", |
117 | 193 | "no-unneeded-ternary": "off", |
118 | 194 | "no-unreachable": "error", |
|
129 | 205 | "no-useless-escape": "off", |
130 | 206 | "no-useless-rename": "off", |
131 | 207 | "no-useless-return": "off", |
132 | | -"no-void": "off", |
133 | 208 | "no-var": "off", |
| 209 | +"no-void": "off", |
134 | 210 | "no-warning-comments": "off", |
| 211 | +"no-whitespace-before-property": "off", |
135 | 212 | "no-with": "off", |
136 | | -"array-bracket-spacing": "off", |
137 | | -"array-callback-return": "off", |
138 | | -"arrow-body-style": "off", |
139 | | -"arrow-parens": "off", |
140 | | -"arrow-spacing": "off", |
141 | | -"accessor-pairs": "off", |
142 | | -"block-scoped-var": "off", |
143 | | -"block-spacing": "off", |
144 | | -"brace-style": "off", |
145 | | -"callback-return": "off", |
146 | | -"camelcase": "off", |
147 | | -"capitalized-comments": "off", |
148 | | -"class-methods-use-this": "off", |
149 | | -"comma-dangle": "off", |
150 | | -"comma-spacing": "off", |
151 | | -"comma-style": "off", |
152 | | -"complexity": "off", |
153 | | -"computed-property-spacing": "off", |
154 | | -"consistent-return": "off", |
155 | | -"consistent-this": "off", |
156 | | -"constructor-super": "error", |
157 | | -"curly": "off", |
158 | | -"default-case": "off", |
159 | | -"dot-location": "off", |
160 | | -"dot-notation": "off", |
161 | | -"eol-last": "off", |
162 | | -"eqeqeq": "off", |
163 | | -"func-call-spacing": "off", |
164 | | -"func-names": "off", |
165 | | -"func-name-matching": "off", |
166 | | -"func-style": "off", |
167 | | -"generator-star-spacing": "off", |
168 | | -"global-require": "off", |
169 | | -"guard-for-in": "off", |
170 | | -"handle-callback-err": "off", |
171 | | -"id-blacklist": "off", |
172 | | -"id-length": "off", |
173 | | -"id-match": "off", |
174 | | -"indent": "off", |
175 | | -"init-declarations": "off", |
176 | | -"jsx-quotes": "off", |
177 | | -"key-spacing": "off", |
178 | | -"keyword-spacing": "off", |
179 | | -"linebreak-style": "off", |
180 | | -"line-comment-position": "off", |
181 | | -"lines-around-comment": "off", |
182 | | -"lines-around-directive": "off", |
183 | | -"max-depth": "off", |
184 | | -"max-len": "off", |
185 | | -"max-lines": "off", |
186 | | -"max-nested-callbacks": "off", |
187 | | -"max-params": "off", |
188 | | -"max-statements": "off", |
189 | | -"max-statements-per-line": "off", |
190 | | -"multiline-ternary": "off", |
191 | | -"new-cap": "off", |
192 | | -"new-parens": "off", |
193 | | -"newline-after-var": "off", |
194 | | -"newline-before-return": "off", |
195 | | -"newline-per-chained-call": "off", |
| 213 | +"nonblock-statement-body-position": "off", |
196 | 214 | "object-curly-newline": "off", |
197 | 215 | "object-curly-spacing": ["off","never"], |
198 | 216 | "object-property-newline": "off", |
|
206 | 224 | "prefer-const": "off", |
207 | 225 | "prefer-destructuring": "off", |
208 | 226 | "prefer-numeric-literals": "off", |
| 227 | +"prefer-promise-reject-errors": "off", |
209 | 228 | "prefer-reflect": "off", |
210 | 229 | "prefer-rest-params": "off", |
211 | 230 | "prefer-spread": "off", |
|
219 | 238 | "rest-spread-spacing": "off", |
220 | 239 | "semi": "off", |
221 | 240 | "semi-spacing": "off", |
222 | | -"sort-keys": "off", |
223 | 241 | "sort-imports": "off", |
| 242 | +"sort-keys": "off", |
224 | 243 | "sort-vars": "off", |
225 | 244 | "space-before-blocks": "off", |
226 | 245 | "space-before-function-paren": "off", |
|
231 | 250 | "strict": "off", |
232 | 251 | "symbol-description": "off", |
233 | 252 | "template-curly-spacing": "off", |
| 253 | +"template-tag-spacing": "off", |
234 | 254 | "unicode-bom": "off", |
235 | 255 | "use-isnan": "error", |
236 | 256 | "valid-jsdoc": "off", |
237 | 257 | "valid-typeof": "error", |
238 | 258 | "vars-on-top": "off", |
239 | 259 | "wrap-iife": "off", |
240 | 260 | "wrap-regex": "off", |
241 | | -"no-template-curly-in-string": "off", |
242 | 261 | "yield-star-spacing": "off", |
243 | 262 | "yoda": "off" |
244 | 263 | } |
245 | | -} |
| 264 | +}; |
0 commit comments