eslint-config-airbnb-extended 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,951 +1,1997 @@
1
- declare const _default: ({
2
- rules: {
3
- 'accessor-pairs': string;
4
- 'array-callback-return': (string | {
5
- allowImplicit: boolean;
6
- })[];
7
- 'block-scoped-var': string;
8
- complexity: (string | number)[];
9
- 'class-methods-use-this': (string | {
10
- exceptMethods: never[];
11
- })[];
12
- 'consistent-return': string;
13
- curly: string[];
14
- 'default-case': (string | {
15
- commentPattern: string;
16
- })[];
17
- 'default-case-last': string;
18
- 'default-param-last': string;
19
- 'dot-notation': (string | {
20
- allowKeywords: boolean;
21
- })[];
22
- 'dot-location': string[];
23
- eqeqeq: (string | {
24
- null: string;
25
- })[];
26
- 'grouped-accessor-pairs': string;
27
- 'guard-for-in': string;
28
- 'max-classes-per-file': (string | number)[];
29
- 'no-alert': string;
30
- 'no-caller': string;
31
- 'no-case-declarations': string;
32
- 'no-constructor-return': string;
33
- 'no-div-regex': string;
34
- 'no-else-return': (string | {
35
- allowElseIf: boolean;
36
- })[];
37
- 'no-empty-function': (string | {
38
- allow: string[];
39
- })[];
40
- 'no-empty-pattern': string;
41
- 'no-empty-static-block': string;
42
- 'no-eq-null': string;
43
- 'no-eval': string;
44
- 'no-extend-native': string;
45
- 'no-extra-bind': string;
46
- 'no-extra-label': string;
47
- 'no-fallthrough': string;
48
- 'no-floating-decimal': string;
49
- 'no-global-assign': (string | {
50
- exceptions: never[];
51
- })[];
52
- 'no-native-reassign': string;
53
- 'no-implicit-coercion': (string | {
54
- boolean: boolean;
55
- number: boolean;
56
- string: boolean;
57
- allow: never[];
58
- })[];
59
- 'no-implicit-globals': string;
60
- 'no-implied-eval': string;
61
- 'no-invalid-this': string;
62
- 'no-iterator': string;
63
- 'no-labels': (string | {
64
- allowLoop: boolean;
65
- allowSwitch: boolean;
66
- })[];
67
- 'no-lone-blocks': string;
68
- 'no-loop-func': string;
69
- 'no-magic-numbers': (string | {
70
- ignore: never[];
71
- ignoreArrayIndexes: boolean;
72
- enforceConst: boolean;
73
- detectObjects: boolean;
74
- })[];
75
- 'no-multi-spaces': (string | {
76
- ignoreEOLComments: boolean;
77
- })[];
78
- 'no-multi-str': string;
79
- 'no-new': string;
80
- 'no-new-func': string;
81
- 'no-new-wrappers': string;
82
- 'no-nonoctal-decimal-escape': string;
83
- 'no-object-constructor': string;
84
- 'no-octal': string;
85
- 'no-octal-escape': string;
86
- 'no-param-reassign': (string | {
87
- props: boolean;
88
- ignorePropertyModificationsFor: string[];
89
- })[];
90
- 'no-proto': string;
91
- 'no-redeclare': string;
92
- 'no-restricted-properties': (string | {
93
- object: string;
94
- property: string;
95
- message: string;
96
- } | {
97
- property: string;
98
- message: string;
99
- object?: undefined;
100
- })[];
101
- 'no-return-assign': string[];
102
- 'no-return-await': string;
103
- 'no-script-url': string;
104
- 'no-self-assign': (string | {
105
- props: boolean;
106
- })[];
107
- 'no-self-compare': string;
108
- 'no-sequences': string;
109
- 'no-throw-literal': string;
110
- 'no-unmodified-loop-condition': string;
111
- 'no-unused-expressions': (string | {
112
- allowShortCircuit: boolean;
113
- allowTernary: boolean;
114
- allowTaggedTemplates: boolean;
115
- })[];
116
- 'no-unused-labels': string;
117
- 'no-useless-call': string;
118
- 'no-useless-catch': string;
119
- 'no-useless-concat': string;
120
- 'no-useless-escape': string;
121
- 'no-useless-return': string;
122
- 'no-void': string;
123
- 'no-warning-comments': (string | {
124
- terms: string[];
125
- location: string;
126
- })[];
127
- 'no-with': string;
128
- 'prefer-promise-reject-errors': (string | {
129
- allowEmptyReject: boolean;
130
- })[];
131
- 'prefer-named-capture-group': string;
132
- 'prefer-object-has-own': string;
133
- 'prefer-regex-literals': (string | {
134
- disallowRedundantWrapping: boolean;
135
- })[];
136
- radix: string;
137
- 'require-await': string;
138
- 'require-unicode-regexp': string;
139
- 'vars-on-top': string;
140
- 'wrap-iife': (string | {
141
- functionPrototypeMethods: boolean;
142
- })[];
143
- yoda: string;
144
- };
145
- } | {
146
- rules: {
147
- 'for-direction': string;
148
- 'getter-return': (string | {
149
- allowImplicit: boolean;
150
- })[];
151
- 'no-async-promise-executor': string;
152
- 'no-await-in-loop': string;
153
- 'no-compare-neg-zero': string;
154
- 'no-cond-assign': string[];
155
- 'no-console': string;
156
- 'no-constant-binary-expression': string;
157
- 'no-constant-condition': string;
158
- 'no-control-regex': string;
159
- 'no-debugger': string;
160
- 'no-dupe-args': string;
161
- 'no-dupe-else-if': string;
162
- 'no-dupe-keys': string;
163
- 'no-duplicate-case': string;
164
- 'no-empty': string;
165
- 'no-empty-character-class': string;
166
- 'no-ex-assign': string;
167
- 'no-extra-boolean-cast': string;
168
- 'no-extra-parens': (string | {
169
- conditionalAssign: boolean;
170
- nestedBinaryExpressions: boolean;
171
- returnAssign: boolean;
172
- ignoreJSX: string;
173
- enforceForArrowConditionals: boolean;
174
- })[];
175
- 'no-extra-semi': string;
176
- 'no-func-assign': string;
177
- 'no-import-assign': string;
178
- 'no-inner-declarations': string;
179
- 'no-invalid-regexp': string;
180
- 'no-irregular-whitespace': string;
181
- 'no-loss-of-precision': string;
182
- 'no-misleading-character-class': string;
183
- 'no-obj-calls': string;
184
- 'no-new-native-nonconstructor': string;
185
- 'no-promise-executor-return': string;
186
- 'no-prototype-builtins': string;
187
- 'no-regex-spaces': string;
188
- 'no-setter-return': string;
189
- 'no-sparse-arrays': string;
190
- 'no-template-curly-in-string': string;
191
- 'no-unexpected-multiline': string;
192
- 'no-unreachable': string;
193
- 'no-unreachable-loop': (string | {
194
- ignore: never[];
195
- })[];
196
- 'no-unsafe-finally': string;
197
- 'no-unsafe-negation': string;
198
- 'no-unsafe-optional-chaining': (string | {
199
- disallowArithmeticOperators: boolean;
200
- })[];
201
- 'no-unused-private-class-members': string;
202
- 'no-useless-backreference': string;
203
- 'no-negated-in-lhs': string;
204
- 'require-atomic-updates': string;
205
- 'use-isnan': string;
206
- 'valid-jsdoc': string;
207
- 'valid-typeof': (string | {
208
- requireStringLiterals: boolean;
209
- })[];
210
- };
211
- } | {
212
- languageOptions: {
213
- globals: {
214
- Array: false;
215
- ArrayBuffer: false;
216
- Boolean: false;
217
- DataView: false;
218
- Date: false;
219
- decodeURI: false;
220
- decodeURIComponent: false;
221
- encodeURI: false;
222
- encodeURIComponent: false;
223
- Error: false;
224
- escape: false;
225
- eval: false;
226
- EvalError: false;
227
- Float32Array: false;
228
- Float64Array: false;
229
- Function: false;
230
- Infinity: false;
231
- Int16Array: false;
232
- Int32Array: false;
233
- Int8Array: false;
234
- Intl: false;
235
- isFinite: false;
236
- isNaN: false;
237
- JSON: false;
238
- Map: false;
239
- Math: false;
240
- NaN: false;
241
- Number: false;
242
- Object: false;
243
- parseFloat: false;
244
- parseInt: false;
245
- Promise: false;
246
- Proxy: false;
247
- RangeError: false;
248
- ReferenceError: false;
249
- Reflect: false;
250
- RegExp: false;
251
- Set: false;
252
- String: false;
253
- Symbol: false;
254
- SyntaxError: false;
255
- TypeError: false;
256
- Uint16Array: false;
257
- Uint32Array: false;
258
- Uint8Array: false;
259
- Uint8ClampedArray: false;
260
- undefined: false;
261
- unescape: false;
262
- URIError: false;
263
- WeakMap: false;
264
- WeakSet: false;
265
- };
266
- parserOptions: {
267
- ecmaVersion: number;
268
- sourceType: string;
269
- ecmaFeatures: {
270
- generators: boolean;
271
- objectLiteralDuplicateProperties: boolean;
1
+ declare const _default: {
2
+ base: {
3
+ 'best-practices': {
4
+ name: string;
5
+ rules: {
6
+ 'accessor-pairs': "off";
7
+ 'array-callback-return': ["error", {
8
+ allowImplicit: boolean;
9
+ }];
10
+ 'block-scoped-var': "error";
11
+ complexity: ["off", number];
12
+ 'class-methods-use-this': ["error", {
13
+ exceptMethods: never[];
14
+ }];
15
+ 'consistent-return': "error";
16
+ curly: ["error", string];
17
+ 'default-case': ["error", {
18
+ commentPattern: string;
19
+ }];
20
+ 'default-case-last': "error";
21
+ 'default-param-last': "error";
22
+ 'dot-notation': ["error", {
23
+ allowKeywords: boolean;
24
+ }];
25
+ 'dot-location': ["error", string];
26
+ eqeqeq: ["error", string, {
27
+ null: string;
28
+ }];
29
+ 'grouped-accessor-pairs': "error";
30
+ 'guard-for-in': "error";
31
+ 'max-classes-per-file': ["error", number];
32
+ 'no-alert': "warn";
33
+ 'no-caller': "error";
34
+ 'no-case-declarations': "error";
35
+ 'no-constructor-return': "error";
36
+ 'no-div-regex': "off";
37
+ 'no-else-return': ["error", {
38
+ allowElseIf: boolean;
39
+ }];
40
+ 'no-empty-function': ["error", {
41
+ allow: string[];
42
+ }];
43
+ 'no-empty-pattern': "error";
44
+ 'no-empty-static-block': "off";
45
+ 'no-eq-null': "off";
46
+ 'no-eval': "error";
47
+ 'no-extend-native': "error";
48
+ 'no-extra-bind': "error";
49
+ 'no-extra-label': "error";
50
+ 'no-fallthrough': "error";
51
+ 'no-floating-decimal': "error";
52
+ 'no-global-assign': ["error", {
53
+ exceptions: never[];
54
+ }];
55
+ 'no-native-reassign': "off";
56
+ 'no-implicit-coercion': ["off", {
57
+ boolean: boolean;
58
+ number: boolean;
59
+ string: boolean;
60
+ allow: never[];
61
+ }];
62
+ 'no-implicit-globals': "off";
63
+ 'no-implied-eval': "error";
64
+ 'no-invalid-this': "off";
65
+ 'no-iterator': "error";
66
+ 'no-labels': ["error", {
67
+ allowLoop: boolean;
68
+ allowSwitch: boolean;
69
+ }];
70
+ 'no-lone-blocks': "error";
71
+ 'no-loop-func': "error";
72
+ 'no-magic-numbers': ["off", {
73
+ ignore: never[];
74
+ ignoreArrayIndexes: boolean;
75
+ enforceConst: boolean;
76
+ detectObjects: boolean;
77
+ }];
78
+ 'no-multi-spaces': ["error", {
79
+ ignoreEOLComments: boolean;
80
+ }];
81
+ 'no-multi-str': "error";
82
+ 'no-new': "error";
83
+ 'no-new-func': "error";
84
+ 'no-new-wrappers': "error";
85
+ 'no-nonoctal-decimal-escape': "error";
86
+ 'no-object-constructor': "off";
87
+ 'no-octal': "error";
88
+ 'no-octal-escape': "error";
89
+ 'no-param-reassign': ["error", {
90
+ props: boolean;
91
+ ignorePropertyModificationsFor: string[];
92
+ }];
93
+ 'no-proto': "error";
94
+ 'no-redeclare': "error";
95
+ 'no-restricted-properties': ["error", {
96
+ object: string;
97
+ property: string;
98
+ message: string;
99
+ }, {
100
+ object: string;
101
+ property: string;
102
+ message: string;
103
+ }, {
104
+ object: string;
105
+ property: string;
106
+ message: string;
107
+ }, {
108
+ object: string;
109
+ property: string;
110
+ message: string;
111
+ }, {
112
+ object: string;
113
+ property: string;
114
+ message: string;
115
+ }, {
116
+ object: string;
117
+ property: string;
118
+ message: string;
119
+ }, {
120
+ object: string;
121
+ property: string;
122
+ message: string;
123
+ }, {
124
+ property: string;
125
+ message: string;
126
+ }, {
127
+ property: string;
128
+ message: string;
129
+ }, {
130
+ object: string;
131
+ property: string;
132
+ message: string;
133
+ }];
134
+ 'no-return-assign': ["error", string];
135
+ 'no-return-await': "error";
136
+ 'no-script-url': "error";
137
+ 'no-self-assign': ["error", {
138
+ props: boolean;
139
+ }];
140
+ 'no-self-compare': "error";
141
+ 'no-sequences': "error";
142
+ 'no-throw-literal': "error";
143
+ 'no-unmodified-loop-condition': "off";
144
+ 'no-unused-expressions': ["error", {
145
+ allowShortCircuit: boolean;
146
+ allowTernary: boolean;
147
+ allowTaggedTemplates: boolean;
148
+ }];
149
+ 'no-unused-labels': "error";
150
+ 'no-useless-call': "off";
151
+ 'no-useless-catch': "error";
152
+ 'no-useless-concat': "error";
153
+ 'no-useless-escape': "error";
154
+ 'no-useless-return': "error";
155
+ 'no-void': "error";
156
+ 'no-warning-comments': ["off", {
157
+ terms: string[];
158
+ location: string;
159
+ }];
160
+ 'no-with': "error";
161
+ 'prefer-promise-reject-errors': ["error", {
162
+ allowEmptyReject: boolean;
163
+ }];
164
+ 'prefer-named-capture-group': "off";
165
+ 'prefer-object-has-own': "off";
166
+ 'prefer-regex-literals': ["error", {
167
+ disallowRedundantWrapping: boolean;
168
+ }];
169
+ radix: "error";
170
+ 'require-await': "off";
171
+ 'require-unicode-regexp': "off";
172
+ 'vars-on-top': "error";
173
+ 'wrap-iife': ["error", string, {
174
+ functionPrototypeMethods: boolean;
175
+ }];
176
+ yoda: "error";
272
177
  };
273
- };
274
- };
275
- rules: {
276
- 'arrow-body-style': (string | {
277
- requireReturnForObjectLiteral: boolean;
278
- })[];
279
- 'arrow-parens': string[];
280
- 'arrow-spacing': (string | {
281
- before: boolean;
282
- after: boolean;
283
- })[];
284
- 'constructor-super': string;
285
- 'generator-star-spacing': (string | {
286
- before: boolean;
287
- after: boolean;
288
- })[];
289
- 'no-class-assign': string;
290
- 'no-confusing-arrow': (string | {
291
- allowParens: boolean;
292
- })[];
293
- 'no-const-assign': string;
294
- 'no-dupe-class-members': string;
295
- 'no-duplicate-imports': string;
296
- 'no-new-symbol': string;
297
- 'no-restricted-exports': (string | {
298
- restrictedNamedExports: string[];
299
- })[];
300
- 'no-restricted-imports': (string | {
301
- paths: never[];
302
- patterns: never[];
303
- })[];
304
- 'no-this-before-super': string;
305
- 'no-useless-computed-key': string;
306
- 'no-useless-constructor': string;
307
- 'no-useless-rename': (string | {
308
- ignoreDestructuring: boolean;
309
- ignoreImport: boolean;
310
- ignoreExport: boolean;
311
- })[];
312
- 'no-var': string;
313
- 'object-shorthand': (string | {
314
- ignoreConstructors: boolean;
315
- avoidQuotes: boolean;
316
- })[];
317
- 'prefer-arrow-callback': (string | {
318
- allowNamedFunctions: boolean;
319
- allowUnboundThis: boolean;
320
- })[];
321
- 'prefer-const': (string | {
322
- destructuring: string;
323
- ignoreReadBeforeAssign: boolean;
324
- })[];
325
- 'prefer-destructuring': (string | {
326
- VariableDeclarator: {
327
- array: boolean;
328
- object: boolean;
178
+ }[];
179
+ errors: {
180
+ name: string;
181
+ rules: {
182
+ 'for-direction': "error";
183
+ 'getter-return': ["error", {
184
+ allowImplicit: boolean;
185
+ }];
186
+ 'no-async-promise-executor': "error";
187
+ 'no-await-in-loop': "error";
188
+ 'no-compare-neg-zero': "error";
189
+ 'no-cond-assign': ["error", string];
190
+ 'no-console': "warn";
191
+ 'no-constant-binary-expression': "off";
192
+ 'no-constant-condition': "warn";
193
+ 'no-control-regex': "error";
194
+ 'no-debugger': "error";
195
+ 'no-dupe-args': "error";
196
+ 'no-dupe-else-if': "error";
197
+ 'no-dupe-keys': "error";
198
+ 'no-duplicate-case': "error";
199
+ 'no-empty': "error";
200
+ 'no-empty-character-class': "error";
201
+ 'no-ex-assign': "error";
202
+ 'no-extra-boolean-cast': "error";
203
+ 'no-extra-parens': ["off", string, {
204
+ conditionalAssign: boolean;
205
+ nestedBinaryExpressions: boolean;
206
+ returnAssign: boolean;
207
+ ignoreJSX: string;
208
+ enforceForArrowConditionals: boolean;
209
+ }];
210
+ 'no-extra-semi': "error";
211
+ 'no-func-assign': "error";
212
+ 'no-import-assign': "error";
213
+ 'no-inner-declarations': "error";
214
+ 'no-invalid-regexp': "error";
215
+ 'no-irregular-whitespace': "error";
216
+ 'no-loss-of-precision': "error";
217
+ 'no-misleading-character-class': "error";
218
+ 'no-obj-calls': "error";
219
+ 'no-new-native-nonconstructor': "off";
220
+ 'no-promise-executor-return': "error";
221
+ 'no-prototype-builtins': "error";
222
+ 'no-regex-spaces': "error";
223
+ 'no-setter-return': "error";
224
+ 'no-sparse-arrays': "error";
225
+ 'no-template-curly-in-string': "error";
226
+ 'no-unexpected-multiline': "error";
227
+ 'no-unreachable': "error";
228
+ 'no-unreachable-loop': ["error", {
229
+ ignore: never[];
230
+ }];
231
+ 'no-unsafe-finally': "error";
232
+ 'no-unsafe-negation': "error";
233
+ 'no-unsafe-optional-chaining': ["error", {
234
+ disallowArithmeticOperators: boolean;
235
+ }];
236
+ 'no-unused-private-class-members': "off";
237
+ 'no-useless-backreference': "error";
238
+ 'no-negated-in-lhs': "off";
239
+ 'require-atomic-updates': "off";
240
+ 'use-isnan': "error";
241
+ 'valid-jsdoc': "off";
242
+ 'valid-typeof': ["error", {
243
+ requireStringLiterals: boolean;
244
+ }];
329
245
  };
330
- AssignmentExpression: {
331
- array: boolean;
332
- object: boolean;
246
+ }[];
247
+ es6: {
248
+ name: string;
249
+ languageOptions: {
250
+ globals: {
251
+ Array: false;
252
+ ArrayBuffer: false;
253
+ Boolean: false;
254
+ DataView: false;
255
+ Date: false;
256
+ decodeURI: false;
257
+ decodeURIComponent: false;
258
+ encodeURI: false;
259
+ encodeURIComponent: false;
260
+ Error: false;
261
+ escape: false;
262
+ eval: false;
263
+ EvalError: false;
264
+ Float32Array: false;
265
+ Float64Array: false;
266
+ Function: false;
267
+ Infinity: false;
268
+ Int16Array: false;
269
+ Int32Array: false;
270
+ Int8Array: false;
271
+ Intl: false;
272
+ isFinite: false;
273
+ isNaN: false;
274
+ JSON: false;
275
+ Map: false;
276
+ Math: false;
277
+ NaN: false;
278
+ Number: false;
279
+ Object: false;
280
+ parseFloat: false;
281
+ parseInt: false;
282
+ Promise: false;
283
+ Proxy: false;
284
+ RangeError: false;
285
+ ReferenceError: false;
286
+ Reflect: false;
287
+ RegExp: false;
288
+ Set: false;
289
+ String: false;
290
+ Symbol: false;
291
+ SyntaxError: false;
292
+ TypeError: false;
293
+ Uint16Array: false;
294
+ Uint32Array: false;
295
+ Uint8Array: false;
296
+ Uint8ClampedArray: false;
297
+ undefined: false;
298
+ unescape: false;
299
+ URIError: false;
300
+ WeakMap: false;
301
+ WeakSet: false;
302
+ };
303
+ parserOptions: {
304
+ ecmaVersion: 6;
305
+ sourceType: "module";
306
+ ecmaFeatures: {
307
+ generators: boolean;
308
+ objectLiteralDuplicateProperties: boolean;
309
+ };
310
+ };
333
311
  };
334
- enforceForRenamedProperties?: undefined;
335
- } | {
336
- enforceForRenamedProperties: boolean;
337
- VariableDeclarator?: undefined;
338
- AssignmentExpression?: undefined;
339
- })[];
340
- 'prefer-numeric-literals': string;
341
- 'prefer-reflect': string;
342
- 'prefer-rest-params': string;
343
- 'prefer-spread': string;
344
- 'prefer-template': string;
345
- 'require-yield': string;
346
- 'rest-spread-spacing': string[];
347
- 'sort-imports': (string | {
348
- ignoreCase: boolean;
349
- ignoreDeclarationSort: boolean;
350
- ignoreMemberSort: boolean;
351
- memberSyntaxSortOrder: string[];
352
- })[];
353
- 'symbol-description': string;
354
- 'template-curly-spacing': string;
355
- 'yield-star-spacing': string[];
356
- };
357
- } | {
358
- languageOptions: {
359
- globals: {
360
- Array: false;
361
- ArrayBuffer: false;
362
- Boolean: false;
363
- DataView: false;
364
- Date: false;
365
- decodeURI: false;
366
- decodeURIComponent: false;
367
- encodeURI: false;
368
- encodeURIComponent: false;
369
- Error: false;
370
- escape: false;
371
- eval: false;
372
- EvalError: false;
373
- Float32Array: false;
374
- Float64Array: false;
375
- Function: false;
376
- Infinity: false;
377
- Int16Array: false;
378
- Int32Array: false;
379
- Int8Array: false;
380
- Intl: false;
381
- isFinite: false;
382
- isNaN: false;
383
- JSON: false;
384
- Map: false;
385
- Math: false;
386
- NaN: false;
387
- Number: false;
388
- Object: false;
389
- parseFloat: false;
390
- parseInt: false;
391
- Promise: false;
392
- Proxy: false;
393
- RangeError: false;
394
- ReferenceError: false;
395
- Reflect: false;
396
- RegExp: false;
397
- Set: false;
398
- String: false;
399
- Symbol: false;
400
- SyntaxError: false;
401
- TypeError: false;
402
- Uint16Array: false;
403
- Uint32Array: false;
404
- Uint8Array: false;
405
- Uint8ClampedArray: false;
406
- undefined: false;
407
- unescape: false;
408
- URIError: false;
409
- WeakMap: false;
410
- WeakSet: false;
411
- };
412
- parserOptions: {
413
- ecmaVersion: number;
414
- sourceType: string;
415
- };
416
- };
417
- plugins: {
418
- import: any;
419
- };
420
- settings: {
421
- 'import/resolver': {
422
- node: {
423
- extensions: string[];
312
+ rules: {
313
+ 'arrow-body-style': ["error", string, {
314
+ requireReturnForObjectLiteral: boolean;
315
+ }];
316
+ 'arrow-parens': ["error", string];
317
+ 'arrow-spacing': ["error", {
318
+ before: boolean;
319
+ after: boolean;
320
+ }];
321
+ 'constructor-super': "error";
322
+ 'generator-star-spacing': ["error", {
323
+ before: boolean;
324
+ after: boolean;
325
+ }];
326
+ 'no-class-assign': "error";
327
+ 'no-confusing-arrow': ["error", {
328
+ allowParens: boolean;
329
+ }];
330
+ 'no-const-assign': "error";
331
+ 'no-dupe-class-members': "error";
332
+ 'no-duplicate-imports': "off";
333
+ 'no-new-symbol': "error";
334
+ 'no-restricted-exports': ["error", {
335
+ restrictedNamedExports: string[];
336
+ }];
337
+ 'no-restricted-imports': ["off", {
338
+ paths: never[];
339
+ patterns: never[];
340
+ }];
341
+ 'no-this-before-super': "error";
342
+ 'no-useless-computed-key': "error";
343
+ 'no-useless-constructor': "error";
344
+ 'no-useless-rename': ["error", {
345
+ ignoreDestructuring: boolean;
346
+ ignoreImport: boolean;
347
+ ignoreExport: boolean;
348
+ }];
349
+ 'no-var': "error";
350
+ 'object-shorthand': ["error", string, {
351
+ ignoreConstructors: boolean;
352
+ avoidQuotes: boolean;
353
+ }];
354
+ 'prefer-arrow-callback': ["error", {
355
+ allowNamedFunctions: boolean;
356
+ allowUnboundThis: boolean;
357
+ }];
358
+ 'prefer-const': ["error", {
359
+ destructuring: string;
360
+ ignoreReadBeforeAssign: boolean;
361
+ }];
362
+ 'prefer-destructuring': ["error", {
363
+ VariableDeclarator: {
364
+ array: boolean;
365
+ object: boolean;
366
+ };
367
+ AssignmentExpression: {
368
+ array: boolean;
369
+ object: boolean;
370
+ };
371
+ }, {
372
+ enforceForRenamedProperties: boolean;
373
+ }];
374
+ 'prefer-numeric-literals': "error";
375
+ 'prefer-reflect': "off";
376
+ 'prefer-rest-params': "error";
377
+ 'prefer-spread': "error";
378
+ 'prefer-template': "error";
379
+ 'require-yield': "error";
380
+ 'rest-spread-spacing': ["error", string];
381
+ 'sort-imports': ["off", {
382
+ ignoreCase: boolean;
383
+ ignoreDeclarationSort: boolean;
384
+ ignoreMemberSort: boolean;
385
+ memberSyntaxSortOrder: string[];
386
+ }];
387
+ 'symbol-description': "error";
388
+ 'template-curly-spacing': "error";
389
+ 'yield-star-spacing': ["error", string];
424
390
  };
425
- };
426
- 'import/extensions': string[];
427
- 'import/core-modules': never[];
428
- 'import/ignore': string[];
429
- };
430
- rules: {
431
- 'import/no-unresolved': (string | {
432
- commonjs: boolean;
433
- caseSensitive: boolean;
434
- })[];
435
- 'import/named': string;
436
- 'import/default': string;
437
- 'import/namespace': string;
438
- 'import/export': string;
439
- 'import/no-named-as-default': string;
440
- 'import/no-named-as-default-member': string;
441
- 'import/no-deprecated': string;
442
- 'import/no-extraneous-dependencies': (string | {
443
- devDependencies: string[];
444
- optionalDependencies: boolean;
445
- })[];
446
- 'import/no-mutable-exports': string;
447
- 'import/no-commonjs': string;
448
- 'import/no-amd': string;
449
- 'import/no-nodejs-modules': string;
450
- 'import/first': string;
451
- 'import/imports-first': string;
452
- 'import/no-duplicates': string;
453
- 'import/no-namespace': string;
454
- 'import/extensions': (string | {
455
- js: string;
456
- mjs: string;
457
- jsx: string;
458
- })[];
459
- 'import/order': (string | {
460
- groups: string[][];
461
- })[];
462
- 'import/newline-after-import': string;
463
- 'import/prefer-default-export': string;
464
- 'import/no-restricted-paths': string;
465
- 'import/max-dependencies': (string | {
466
- max: number;
467
- })[];
468
- 'import/no-absolute-path': string;
469
- 'import/no-dynamic-require': string;
470
- 'import/no-internal-modules': (string | {
471
- allow: never[];
472
- })[];
473
- 'import/unambiguous': string;
474
- 'import/no-webpack-loader-syntax': string;
475
- 'import/no-unassigned-import': string;
476
- 'import/no-named-default': string;
477
- 'import/no-anonymous-default-export': (string | {
478
- allowArray: boolean;
479
- allowArrowFunction: boolean;
480
- allowAnonymousClass: boolean;
481
- allowAnonymousFunction: boolean;
482
- allowLiteral: boolean;
483
- allowObject: boolean;
484
- })[];
485
- 'import/exports-last': string;
486
- 'import/group-exports': string;
487
- 'import/no-default-export': string;
488
- 'import/no-named-export': string;
489
- 'import/no-self-import': string;
490
- 'import/no-cycle': (string | {
491
- maxDepth: string;
492
- })[];
493
- 'import/no-useless-path-segments': (string | {
494
- commonjs: boolean;
495
- })[];
496
- 'import/dynamic-import-chunkname': (string | {
497
- importFunctions: never[];
498
- webpackChunknameFormat: string;
499
- })[];
500
- 'import/no-relative-parent-imports': string;
501
- 'import/no-unused-modules': (string | {
502
- ignoreExports: never[];
503
- missingExports: boolean;
504
- unusedExports: boolean;
505
- })[];
506
- 'import/no-import-module-exports': (string | {
507
- exceptions: never[];
508
- })[];
509
- 'import/no-relative-packages': string;
510
- 'import/consistent-type-specifier-style': string[];
511
- 'import/no-empty-named-blocks': string;
512
- };
513
- } | {
514
- languageOptions: {
515
- globals: {
516
- AbortController: false;
517
- AbortSignal: false;
518
- atob: false;
519
- Blob: false;
520
- BroadcastChannel: false;
521
- btoa: false;
522
- Buffer: false;
523
- ByteLengthQueuingStrategy: false;
524
- clearImmediate: false;
525
- clearInterval: false;
526
- clearTimeout: false;
527
- CloseEvent: false;
528
- CompressionStream: false;
529
- console: false;
530
- CountQueuingStrategy: false;
531
- crypto: false;
532
- Crypto: false;
533
- CryptoKey: false;
534
- CustomEvent: false;
535
- DecompressionStream: false;
536
- DOMException: false;
537
- Event: false;
538
- EventTarget: false;
539
- fetch: false;
540
- File: false;
541
- FormData: false;
542
- global: false;
543
- Headers: false;
544
- MessageChannel: false;
545
- MessageEvent: false;
546
- MessagePort: false;
547
- navigator: false;
548
- Navigator: false;
549
- performance: false;
550
- Performance: false;
551
- PerformanceEntry: false;
552
- PerformanceMark: false;
553
- PerformanceMeasure: false;
554
- PerformanceObserver: false;
555
- PerformanceObserverEntryList: false;
556
- PerformanceResourceTiming: false;
557
- process: false;
558
- queueMicrotask: false;
559
- ReadableByteStreamController: false;
560
- ReadableStream: false;
561
- ReadableStreamBYOBReader: false;
562
- ReadableStreamBYOBRequest: false;
563
- ReadableStreamDefaultController: false;
564
- ReadableStreamDefaultReader: false;
565
- Request: false;
566
- Response: false;
567
- setImmediate: false;
568
- setInterval: false;
569
- setTimeout: false;
570
- structuredClone: false;
571
- SubtleCrypto: false;
572
- TextDecoder: false;
573
- TextDecoderStream: false;
574
- TextEncoder: false;
575
- TextEncoderStream: false;
576
- TransformStream: false;
577
- TransformStreamDefaultController: false;
578
- URL: false;
579
- URLSearchParams: false;
580
- WebAssembly: false;
581
- WebSocket: false;
582
- WritableStream: false;
583
- WritableStreamDefaultController: false;
584
- WritableStreamDefaultWriter: false;
585
- };
586
- };
587
- rules: {
588
- 'callback-return': string;
589
- 'global-require': string;
590
- 'handle-callback-err': string;
591
- 'no-buffer-constructor': string;
592
- 'no-mixed-requires': (string | boolean)[];
593
- 'no-new-require': string;
594
- 'no-path-concat': string;
595
- 'no-process-env': string;
596
- 'no-process-exit': string;
597
- 'no-restricted-modules': string;
598
- 'no-sync': string;
599
- };
600
- } | {
601
- rules: {
602
- strict: string[];
603
- };
604
- } | {
605
- rules: {
606
- 'array-bracket-newline': string[];
607
- 'array-element-newline': (string | {
608
- multiline: boolean;
609
- minItems: number;
610
- })[];
611
- 'array-bracket-spacing': string[];
612
- 'block-spacing': string[];
613
- 'brace-style': (string | {
614
- allowSingleLine: boolean;
615
- })[];
616
- camelcase: (string | {
617
- properties: string;
618
- ignoreDestructuring: boolean;
619
- })[];
620
- 'capitalized-comments': (string | {
621
- line: {
622
- ignorePattern: string;
623
- ignoreInlineComments: boolean;
624
- ignoreConsecutiveComments: boolean;
391
+ }[];
392
+ imports: {
393
+ name: string;
394
+ languageOptions: {
395
+ globals: {
396
+ Array: false;
397
+ ArrayBuffer: false;
398
+ Boolean: false;
399
+ DataView: false;
400
+ Date: false;
401
+ decodeURI: false;
402
+ decodeURIComponent: false;
403
+ encodeURI: false;
404
+ encodeURIComponent: false;
405
+ Error: false;
406
+ escape: false;
407
+ eval: false;
408
+ EvalError: false;
409
+ Float32Array: false;
410
+ Float64Array: false;
411
+ Function: false;
412
+ Infinity: false;
413
+ Int16Array: false;
414
+ Int32Array: false;
415
+ Int8Array: false;
416
+ Intl: false;
417
+ isFinite: false;
418
+ isNaN: false;
419
+ JSON: false;
420
+ Map: false;
421
+ Math: false;
422
+ NaN: false;
423
+ Number: false;
424
+ Object: false;
425
+ parseFloat: false;
426
+ parseInt: false;
427
+ Promise: false;
428
+ Proxy: false;
429
+ RangeError: false;
430
+ ReferenceError: false;
431
+ Reflect: false;
432
+ RegExp: false;
433
+ Set: false;
434
+ String: false;
435
+ Symbol: false;
436
+ SyntaxError: false;
437
+ TypeError: false;
438
+ Uint16Array: false;
439
+ Uint32Array: false;
440
+ Uint8Array: false;
441
+ Uint8ClampedArray: false;
442
+ undefined: false;
443
+ unescape: false;
444
+ URIError: false;
445
+ WeakMap: false;
446
+ WeakSet: false;
447
+ };
448
+ parserOptions: {
449
+ ecmaVersion: 6;
450
+ sourceType: "module";
451
+ };
625
452
  };
626
- block: {
627
- ignorePattern: string;
628
- ignoreInlineComments: boolean;
629
- ignoreConsecutiveComments: boolean;
453
+ plugins: {
454
+ import: any;
630
455
  };
631
- })[];
632
- 'comma-dangle': (string | {
633
- arrays: string;
634
- objects: string;
635
- imports: string;
636
- exports: string;
637
- functions: string;
638
- })[];
639
- 'comma-spacing': (string | {
640
- before: boolean;
641
- after: boolean;
642
- })[];
643
- 'comma-style': (string | {
644
- exceptions: {
645
- ArrayExpression: boolean;
646
- ArrayPattern: boolean;
647
- ArrowFunctionExpression: boolean;
648
- CallExpression: boolean;
649
- FunctionDeclaration: boolean;
650
- FunctionExpression: boolean;
651
- ImportDeclaration: boolean;
652
- ObjectExpression: boolean;
653
- ObjectPattern: boolean;
654
- VariableDeclaration: boolean;
655
- NewExpression: boolean;
456
+ settings: {
457
+ 'import/resolver': {
458
+ node: {
459
+ extensions: string[];
460
+ };
461
+ };
462
+ 'import/extensions': string[];
463
+ 'import/core-modules': never[];
464
+ 'import/ignore': string[];
656
465
  };
657
- })[];
658
- 'computed-property-spacing': string[];
659
- 'consistent-this': string;
660
- 'eol-last': string[];
661
- 'function-call-argument-newline': string[];
662
- 'func-call-spacing': string[];
663
- 'func-name-matching': (string | {
664
- includeCommonJSModuleExports: boolean;
665
- considerPropertyDescriptor: boolean;
666
- })[];
667
- 'func-names': string;
668
- 'func-style': string[];
669
- 'function-paren-newline': string[];
670
- 'id-denylist': string;
671
- 'id-length': string;
672
- 'id-match': string;
673
- 'implicit-arrow-linebreak': string[];
674
- indent: (string | number | {
675
- SwitchCase: number;
676
- VariableDeclarator: number;
677
- outerIIFEBody: number;
678
- FunctionDeclaration: {
679
- parameters: number;
680
- body: number;
466
+ rules: {
467
+ 'import/no-unresolved': ["error", {
468
+ commonjs: boolean;
469
+ caseSensitive: boolean;
470
+ }];
471
+ 'import/named': "error";
472
+ 'import/default': "off";
473
+ 'import/namespace': "off";
474
+ 'import/export': "error";
475
+ 'import/no-named-as-default': "error";
476
+ 'import/no-named-as-default-member': "error";
477
+ 'import/no-deprecated': "off";
478
+ 'import/no-extraneous-dependencies': ["error", {
479
+ devDependencies: string[];
480
+ optionalDependencies: boolean;
481
+ }];
482
+ 'import/no-mutable-exports': "error";
483
+ 'import/no-commonjs': "off";
484
+ 'import/no-amd': "error";
485
+ 'import/no-nodejs-modules': "off";
486
+ 'import/first': "error";
487
+ 'import/imports-first': "off";
488
+ 'import/no-duplicates': "error";
489
+ 'import/no-namespace': "off";
490
+ 'import/extensions': ["error", string, {
491
+ js: string;
492
+ mjs: string;
493
+ jsx: string;
494
+ }];
495
+ 'import/order': ["error", {
496
+ groups: string[][];
497
+ }];
498
+ 'import/newline-after-import': "error";
499
+ 'import/prefer-default-export': "error";
500
+ 'import/no-restricted-paths': "off";
501
+ 'import/max-dependencies': ["off", {
502
+ max: number;
503
+ }];
504
+ 'import/no-absolute-path': "error";
505
+ 'import/no-dynamic-require': "error";
506
+ 'import/no-internal-modules': ["off", {
507
+ allow: never[];
508
+ }];
509
+ 'import/unambiguous': "off";
510
+ 'import/no-webpack-loader-syntax': "error";
511
+ 'import/no-unassigned-import': "off";
512
+ 'import/no-named-default': "error";
513
+ 'import/no-anonymous-default-export': ["off", {
514
+ allowArray: boolean;
515
+ allowArrowFunction: boolean;
516
+ allowAnonymousClass: boolean;
517
+ allowAnonymousFunction: boolean;
518
+ allowLiteral: boolean;
519
+ allowObject: boolean;
520
+ }];
521
+ 'import/exports-last': "off";
522
+ 'import/group-exports': "off";
523
+ 'import/no-default-export': "off";
524
+ 'import/no-named-export': "off";
525
+ 'import/no-self-import': "error";
526
+ 'import/no-cycle': ["error", {
527
+ maxDepth: string;
528
+ }];
529
+ 'import/no-useless-path-segments': ["error", {
530
+ commonjs: boolean;
531
+ }];
532
+ 'import/dynamic-import-chunkname': ["off", {
533
+ importFunctions: never[];
534
+ webpackChunknameFormat: string;
535
+ }];
536
+ 'import/no-relative-parent-imports': "off";
537
+ 'import/no-unused-modules': ["off", {
538
+ ignoreExports: never[];
539
+ missingExports: boolean;
540
+ unusedExports: boolean;
541
+ }];
542
+ 'import/no-import-module-exports': ["error", {
543
+ exceptions: never[];
544
+ }];
545
+ 'import/no-relative-packages': "error";
546
+ 'import/consistent-type-specifier-style': ["off", string];
547
+ 'import/no-empty-named-blocks': "off";
681
548
  };
682
- FunctionExpression: {
683
- parameters: number;
684
- body: number;
549
+ }[];
550
+ node: {
551
+ name: string;
552
+ languageOptions: {
553
+ globals: {
554
+ AbortController: false;
555
+ AbortSignal: false;
556
+ atob: false;
557
+ Blob: false;
558
+ BroadcastChannel: false;
559
+ btoa: false;
560
+ Buffer: false;
561
+ ByteLengthQueuingStrategy: false;
562
+ clearImmediate: false;
563
+ clearInterval: false;
564
+ clearTimeout: false;
565
+ CloseEvent: false;
566
+ CompressionStream: false;
567
+ console: false;
568
+ CountQueuingStrategy: false;
569
+ crypto: false;
570
+ Crypto: false;
571
+ CryptoKey: false;
572
+ CustomEvent: false;
573
+ DecompressionStream: false;
574
+ DOMException: false;
575
+ Event: false;
576
+ EventTarget: false;
577
+ fetch: false;
578
+ File: false;
579
+ FormData: false;
580
+ global: false;
581
+ Headers: false;
582
+ MessageChannel: false;
583
+ MessageEvent: false;
584
+ MessagePort: false;
585
+ navigator: false;
586
+ Navigator: false;
587
+ performance: false;
588
+ Performance: false;
589
+ PerformanceEntry: false;
590
+ PerformanceMark: false;
591
+ PerformanceMeasure: false;
592
+ PerformanceObserver: false;
593
+ PerformanceObserverEntryList: false;
594
+ PerformanceResourceTiming: false;
595
+ process: false;
596
+ queueMicrotask: false;
597
+ ReadableByteStreamController: false;
598
+ ReadableStream: false;
599
+ ReadableStreamBYOBReader: false;
600
+ ReadableStreamBYOBRequest: false;
601
+ ReadableStreamDefaultController: false;
602
+ ReadableStreamDefaultReader: false;
603
+ Request: false;
604
+ Response: false;
605
+ setImmediate: false;
606
+ setInterval: false;
607
+ setTimeout: false;
608
+ structuredClone: false;
609
+ SubtleCrypto: false;
610
+ TextDecoder: false;
611
+ TextDecoderStream: false;
612
+ TextEncoder: false;
613
+ TextEncoderStream: false;
614
+ TransformStream: false;
615
+ TransformStreamDefaultController: false;
616
+ URL: false;
617
+ URLSearchParams: false;
618
+ WebAssembly: false;
619
+ WebSocket: false;
620
+ WritableStream: false;
621
+ WritableStreamDefaultController: false;
622
+ WritableStreamDefaultWriter: false;
623
+ };
685
624
  };
686
- CallExpression: {
687
- arguments: number;
625
+ rules: {
626
+ 'callback-return': "off";
627
+ 'global-require': "error";
628
+ 'handle-callback-err': "off";
629
+ 'no-buffer-constructor': "error";
630
+ 'no-mixed-requires': ["off", boolean];
631
+ 'no-new-require': "error";
632
+ 'no-path-concat': "error";
633
+ 'no-process-env': "off";
634
+ 'no-process-exit': "off";
635
+ 'no-restricted-modules': "off";
636
+ 'no-sync': "off";
688
637
  };
689
- ArrayExpression: number;
690
- ObjectExpression: number;
691
- ImportDeclaration: number;
692
- flatTernaryExpressions: boolean;
693
- ignoredNodes: string[];
694
- ignoreComments: boolean;
695
- })[];
696
- 'jsx-quotes': string[];
697
- 'key-spacing': (string | {
698
- beforeColon: boolean;
699
- afterColon: boolean;
700
- })[];
701
- 'keyword-spacing': (string | {
702
- before: boolean;
703
- after: boolean;
704
- overrides: {
705
- return: {
638
+ }[];
639
+ strict: {
640
+ name: string;
641
+ rules: {
642
+ strict: ["error", string];
643
+ };
644
+ }[];
645
+ style: {
646
+ name: string;
647
+ rules: {
648
+ 'array-bracket-newline': ["off", string];
649
+ 'array-element-newline': ["off", {
650
+ multiline: boolean;
651
+ minItems: number;
652
+ }];
653
+ 'array-bracket-spacing': ["error", string];
654
+ 'block-spacing': ["error", string];
655
+ 'brace-style': ["error", string, {
656
+ allowSingleLine: boolean;
657
+ }];
658
+ camelcase: ["error", {
659
+ properties: string;
660
+ ignoreDestructuring: boolean;
661
+ }];
662
+ 'capitalized-comments': ["off", string, {
663
+ line: {
664
+ ignorePattern: string;
665
+ ignoreInlineComments: boolean;
666
+ ignoreConsecutiveComments: boolean;
667
+ };
668
+ block: {
669
+ ignorePattern: string;
670
+ ignoreInlineComments: boolean;
671
+ ignoreConsecutiveComments: boolean;
672
+ };
673
+ }];
674
+ 'comma-dangle': ["error", {
675
+ arrays: string;
676
+ objects: string;
677
+ imports: string;
678
+ exports: string;
679
+ functions: string;
680
+ }];
681
+ 'comma-spacing': ["error", {
682
+ before: boolean;
706
683
  after: boolean;
707
- };
708
- throw: {
684
+ }];
685
+ 'comma-style': ["error", string, {
686
+ exceptions: {
687
+ ArrayExpression: boolean;
688
+ ArrayPattern: boolean;
689
+ ArrowFunctionExpression: boolean;
690
+ CallExpression: boolean;
691
+ FunctionDeclaration: boolean;
692
+ FunctionExpression: boolean;
693
+ ImportDeclaration: boolean;
694
+ ObjectExpression: boolean;
695
+ ObjectPattern: boolean;
696
+ VariableDeclaration: boolean;
697
+ NewExpression: boolean;
698
+ };
699
+ }];
700
+ 'computed-property-spacing': ["error", string];
701
+ 'consistent-this': "off";
702
+ 'eol-last': ["error", string];
703
+ 'function-call-argument-newline': ["error", string];
704
+ 'func-call-spacing': ["error", string];
705
+ 'func-name-matching': ["off", string, {
706
+ includeCommonJSModuleExports: boolean;
707
+ considerPropertyDescriptor: boolean;
708
+ }];
709
+ 'func-names': "warn";
710
+ 'func-style': ["off", string];
711
+ 'function-paren-newline': ["error", string];
712
+ 'id-denylist': "off";
713
+ 'id-length': "off";
714
+ 'id-match': "off";
715
+ 'implicit-arrow-linebreak': ["error", string];
716
+ indent: ["error", number, {
717
+ SwitchCase: number;
718
+ VariableDeclarator: number;
719
+ outerIIFEBody: number;
720
+ FunctionDeclaration: {
721
+ parameters: number;
722
+ body: number;
723
+ };
724
+ FunctionExpression: {
725
+ parameters: number;
726
+ body: number;
727
+ };
728
+ CallExpression: {
729
+ arguments: number;
730
+ };
731
+ ArrayExpression: number;
732
+ ObjectExpression: number;
733
+ ImportDeclaration: number;
734
+ flatTernaryExpressions: boolean;
735
+ ignoredNodes: string[];
736
+ ignoreComments: boolean;
737
+ }];
738
+ 'jsx-quotes': ["off", string];
739
+ 'key-spacing': ["error", {
740
+ beforeColon: boolean;
741
+ afterColon: boolean;
742
+ }];
743
+ 'keyword-spacing': ["error", {
744
+ before: boolean;
745
+ after: boolean;
746
+ overrides: {
747
+ return: {
748
+ after: boolean;
749
+ };
750
+ throw: {
751
+ after: boolean;
752
+ };
753
+ case: {
754
+ after: boolean;
755
+ };
756
+ };
757
+ }];
758
+ 'line-comment-position': ["off", {
759
+ position: string;
760
+ ignorePattern: string;
761
+ applyDefaultPatterns: boolean;
762
+ }];
763
+ 'linebreak-style': ["error", string];
764
+ 'lines-between-class-members': ["error", string, {
765
+ exceptAfterSingleLine: boolean;
766
+ }];
767
+ 'lines-around-comment': "off";
768
+ 'lines-around-directive': ["error", {
769
+ before: string;
770
+ after: string;
771
+ }];
772
+ 'logical-assignment-operators': ["off", string, {
773
+ enforceForIfStatements: boolean;
774
+ }];
775
+ 'max-depth': ["off", number];
776
+ 'max-len': ["error", number, number, {
777
+ ignoreUrls: boolean;
778
+ ignoreComments: boolean;
779
+ ignoreRegExpLiterals: boolean;
780
+ ignoreStrings: boolean;
781
+ ignoreTemplateLiterals: boolean;
782
+ }];
783
+ 'max-lines': ["off", {
784
+ max: number;
785
+ skipBlankLines: boolean;
786
+ skipComments: boolean;
787
+ }];
788
+ 'max-lines-per-function': ["off", {
789
+ max: number;
790
+ skipBlankLines: boolean;
791
+ skipComments: boolean;
792
+ IIFEs: boolean;
793
+ }];
794
+ 'max-nested-callbacks': "off";
795
+ 'max-params': ["off", number];
796
+ 'max-statements': ["off", number];
797
+ 'max-statements-per-line': ["off", {
798
+ max: number;
799
+ }];
800
+ 'multiline-comment-style': ["off", string];
801
+ 'multiline-ternary': ["off", string];
802
+ 'new-cap': ["error", {
803
+ newIsCap: boolean;
804
+ newIsCapExceptions: never[];
805
+ capIsNew: boolean;
806
+ capIsNewExceptions: string[];
807
+ }];
808
+ 'new-parens': "error";
809
+ 'newline-after-var': "off";
810
+ 'newline-before-return': "off";
811
+ 'newline-per-chained-call': ["error", {
812
+ ignoreChainWithDepth: number;
813
+ }];
814
+ 'no-array-constructor': "error";
815
+ 'no-bitwise': "error";
816
+ 'no-continue': "error";
817
+ 'no-inline-comments': "off";
818
+ 'no-lonely-if': "error";
819
+ 'no-mixed-operators': ["error", {
820
+ groups: string[][];
821
+ allowSamePrecedence: boolean;
822
+ }];
823
+ 'no-mixed-spaces-and-tabs': "error";
824
+ 'no-multi-assign': ["error"];
825
+ 'no-multiple-empty-lines': ["error", {
826
+ max: number;
827
+ maxBOF: number;
828
+ maxEOF: number;
829
+ }];
830
+ 'no-negated-condition': "off";
831
+ 'no-nested-ternary': "error";
832
+ 'no-new-object': "error";
833
+ 'no-plusplus': "error";
834
+ 'no-restricted-syntax': ["error", {
835
+ selector: string;
836
+ message: string;
837
+ }, {
838
+ selector: string;
839
+ message: string;
840
+ }, {
841
+ selector: string;
842
+ message: string;
843
+ }, {
844
+ selector: string;
845
+ message: string;
846
+ }];
847
+ 'no-spaced-func': "off";
848
+ 'no-tabs': "error";
849
+ 'no-ternary': "off";
850
+ 'no-trailing-spaces': ["error", {
851
+ skipBlankLines: boolean;
852
+ ignoreComments: boolean;
853
+ }];
854
+ 'no-underscore-dangle': ["error", {
855
+ allow: never[];
856
+ allowAfterThis: boolean;
857
+ allowAfterSuper: boolean;
858
+ enforceInMethodNames: boolean;
859
+ }];
860
+ 'no-unneeded-ternary': ["error", {
861
+ defaultAssignment: boolean;
862
+ }];
863
+ 'no-whitespace-before-property': "error";
864
+ 'nonblock-statement-body-position': ["error", string, {
865
+ overrides: {};
866
+ }];
867
+ 'object-curly-spacing': ["error", string];
868
+ 'object-curly-newline': ["error", {
869
+ ObjectExpression: {
870
+ minProperties: number;
871
+ multiline: boolean;
872
+ consistent: boolean;
873
+ };
874
+ ObjectPattern: {
875
+ minProperties: number;
876
+ multiline: boolean;
877
+ consistent: boolean;
878
+ };
879
+ ImportDeclaration: {
880
+ minProperties: number;
881
+ multiline: boolean;
882
+ consistent: boolean;
883
+ };
884
+ ExportDeclaration: {
885
+ minProperties: number;
886
+ multiline: boolean;
887
+ consistent: boolean;
888
+ };
889
+ }];
890
+ 'object-property-newline': ["error", {
891
+ allowAllPropertiesOnSameLine: boolean;
892
+ }];
893
+ 'one-var': ["error", string];
894
+ 'one-var-declaration-per-line': ["error", string];
895
+ 'operator-assignment': ["error", string];
896
+ 'operator-linebreak': ["error", string, {
897
+ overrides: {
898
+ '=': string;
899
+ };
900
+ }];
901
+ 'padded-blocks': ["error", {
902
+ blocks: string;
903
+ classes: string;
904
+ switches: string;
905
+ }, {
906
+ allowSingleLineBlocks: boolean;
907
+ }];
908
+ 'padding-line-between-statements': "off";
909
+ 'prefer-exponentiation-operator': "error";
910
+ 'prefer-object-spread': "error";
911
+ 'quote-props': ["error", string, {
912
+ keywords: boolean;
913
+ unnecessary: boolean;
914
+ numbers: boolean;
915
+ }];
916
+ quotes: ["error", string, {
917
+ avoidEscape: boolean;
918
+ }];
919
+ 'require-jsdoc': "off";
920
+ semi: ["error", string];
921
+ 'semi-spacing': ["error", {
922
+ before: boolean;
709
923
  after: boolean;
924
+ }];
925
+ 'semi-style': ["error", string];
926
+ 'sort-keys': ["off", string, {
927
+ caseSensitive: boolean;
928
+ natural: boolean;
929
+ }];
930
+ 'sort-vars': "off";
931
+ 'space-before-blocks': "error";
932
+ 'space-before-function-paren': ["error", {
933
+ anonymous: string;
934
+ named: string;
935
+ asyncArrow: string;
936
+ }];
937
+ 'space-in-parens': ["error", string];
938
+ 'space-infix-ops': "error";
939
+ 'space-unary-ops': ["error", {
940
+ words: boolean;
941
+ nonwords: boolean;
942
+ overrides: {};
943
+ }];
944
+ 'spaced-comment': ["error", string, {
945
+ line: {
946
+ exceptions: string[];
947
+ markers: string[];
948
+ };
949
+ block: {
950
+ exceptions: string[];
951
+ markers: string[];
952
+ balanced: boolean;
953
+ };
954
+ }];
955
+ 'switch-colon-spacing': ["error", {
956
+ after: boolean;
957
+ before: boolean;
958
+ }];
959
+ 'template-tag-spacing': ["error", string];
960
+ 'unicode-bom': ["error", string];
961
+ 'wrap-regex': "off";
962
+ };
963
+ }[];
964
+ variables: {
965
+ name: string;
966
+ rules: {
967
+ 'init-declarations': "off";
968
+ 'no-catch-shadow': "off";
969
+ 'no-delete-var': "error";
970
+ 'no-label-var': "error";
971
+ 'no-restricted-globals': ["error", {
972
+ name: string;
973
+ message: string;
974
+ }, {
975
+ name: string;
976
+ message: string;
977
+ }, ...{
978
+ name: "length" | "find" | "name" | "location" | "stop" | "screenX" | "screenY" | "closed" | "top" | "open" | "screen" | "blur" | "close" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "scrollBy" | "scrollTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "event" | "external" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "opener" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "screenLeft" | "screenTop" | "scrollX" | "scrollY" | "scrollbars" | "self" | "status" | "statusbar" | "toolbar" | "confirm" | "moveBy" | "moveTo" | "print" | "resizeBy" | "resizeTo" | "onunload" | "defaultStatus" | "defaultstatus" | "opera";
979
+ message: string;
980
+ }[]];
981
+ 'no-shadow': "error";
982
+ 'no-shadow-restricted-names': "error";
983
+ 'no-undef': "error";
984
+ 'no-undef-init': "error";
985
+ 'no-undefined': "off";
986
+ 'no-unused-vars': ["error", {
987
+ vars: string;
988
+ args: string;
989
+ ignoreRestSiblings: boolean;
990
+ }];
991
+ 'no-use-before-define': ["error", {
992
+ functions: boolean;
993
+ classes: boolean;
994
+ variables: boolean;
995
+ }];
996
+ };
997
+ }[];
998
+ recommended: ({
999
+ name: string;
1000
+ rules: {
1001
+ 'accessor-pairs': "off";
1002
+ 'array-callback-return': ["error", {
1003
+ allowImplicit: boolean;
1004
+ }];
1005
+ 'block-scoped-var': "error";
1006
+ complexity: ["off", number];
1007
+ 'class-methods-use-this': ["error", {
1008
+ exceptMethods: never[];
1009
+ }];
1010
+ 'consistent-return': "error";
1011
+ curly: ["error", string];
1012
+ 'default-case': ["error", {
1013
+ commentPattern: string;
1014
+ }];
1015
+ 'default-case-last': "error";
1016
+ 'default-param-last': "error";
1017
+ 'dot-notation': ["error", {
1018
+ allowKeywords: boolean;
1019
+ }];
1020
+ 'dot-location': ["error", string];
1021
+ eqeqeq: ["error", string, {
1022
+ null: string;
1023
+ }];
1024
+ 'grouped-accessor-pairs': "error";
1025
+ 'guard-for-in': "error";
1026
+ 'max-classes-per-file': ["error", number];
1027
+ 'no-alert': "warn";
1028
+ 'no-caller': "error";
1029
+ 'no-case-declarations': "error";
1030
+ 'no-constructor-return': "error";
1031
+ 'no-div-regex': "off";
1032
+ 'no-else-return': ["error", {
1033
+ allowElseIf: boolean;
1034
+ }];
1035
+ 'no-empty-function': ["error", {
1036
+ allow: string[];
1037
+ }];
1038
+ 'no-empty-pattern': "error";
1039
+ 'no-empty-static-block': "off";
1040
+ 'no-eq-null': "off";
1041
+ 'no-eval': "error";
1042
+ 'no-extend-native': "error";
1043
+ 'no-extra-bind': "error";
1044
+ 'no-extra-label': "error";
1045
+ 'no-fallthrough': "error";
1046
+ 'no-floating-decimal': "error";
1047
+ 'no-global-assign': ["error", {
1048
+ exceptions: never[];
1049
+ }];
1050
+ 'no-native-reassign': "off";
1051
+ 'no-implicit-coercion': ["off", {
1052
+ boolean: boolean;
1053
+ number: boolean;
1054
+ string: boolean;
1055
+ allow: never[];
1056
+ }];
1057
+ 'no-implicit-globals': "off";
1058
+ 'no-implied-eval': "error";
1059
+ 'no-invalid-this': "off";
1060
+ 'no-iterator': "error";
1061
+ 'no-labels': ["error", {
1062
+ allowLoop: boolean;
1063
+ allowSwitch: boolean;
1064
+ }];
1065
+ 'no-lone-blocks': "error";
1066
+ 'no-loop-func': "error";
1067
+ 'no-magic-numbers': ["off", {
1068
+ ignore: never[];
1069
+ ignoreArrayIndexes: boolean;
1070
+ enforceConst: boolean;
1071
+ detectObjects: boolean;
1072
+ }];
1073
+ 'no-multi-spaces': ["error", {
1074
+ ignoreEOLComments: boolean;
1075
+ }];
1076
+ 'no-multi-str': "error";
1077
+ 'no-new': "error";
1078
+ 'no-new-func': "error";
1079
+ 'no-new-wrappers': "error";
1080
+ 'no-nonoctal-decimal-escape': "error";
1081
+ 'no-object-constructor': "off";
1082
+ 'no-octal': "error";
1083
+ 'no-octal-escape': "error";
1084
+ 'no-param-reassign': ["error", {
1085
+ props: boolean;
1086
+ ignorePropertyModificationsFor: string[];
1087
+ }];
1088
+ 'no-proto': "error";
1089
+ 'no-redeclare': "error";
1090
+ 'no-restricted-properties': ["error", {
1091
+ object: string;
1092
+ property: string;
1093
+ message: string;
1094
+ }, {
1095
+ object: string;
1096
+ property: string;
1097
+ message: string;
1098
+ }, {
1099
+ object: string;
1100
+ property: string;
1101
+ message: string;
1102
+ }, {
1103
+ object: string;
1104
+ property: string;
1105
+ message: string;
1106
+ }, {
1107
+ object: string;
1108
+ property: string;
1109
+ message: string;
1110
+ }, {
1111
+ object: string;
1112
+ property: string;
1113
+ message: string;
1114
+ }, {
1115
+ object: string;
1116
+ property: string;
1117
+ message: string;
1118
+ }, {
1119
+ property: string;
1120
+ message: string;
1121
+ }, {
1122
+ property: string;
1123
+ message: string;
1124
+ }, {
1125
+ object: string;
1126
+ property: string;
1127
+ message: string;
1128
+ }];
1129
+ 'no-return-assign': ["error", string];
1130
+ 'no-return-await': "error";
1131
+ 'no-script-url': "error";
1132
+ 'no-self-assign': ["error", {
1133
+ props: boolean;
1134
+ }];
1135
+ 'no-self-compare': "error";
1136
+ 'no-sequences': "error";
1137
+ 'no-throw-literal': "error";
1138
+ 'no-unmodified-loop-condition': "off";
1139
+ 'no-unused-expressions': ["error", {
1140
+ allowShortCircuit: boolean;
1141
+ allowTernary: boolean;
1142
+ allowTaggedTemplates: boolean;
1143
+ }];
1144
+ 'no-unused-labels': "error";
1145
+ 'no-useless-call': "off";
1146
+ 'no-useless-catch': "error";
1147
+ 'no-useless-concat': "error";
1148
+ 'no-useless-escape': "error";
1149
+ 'no-useless-return': "error";
1150
+ 'no-void': "error";
1151
+ 'no-warning-comments': ["off", {
1152
+ terms: string[];
1153
+ location: string;
1154
+ }];
1155
+ 'no-with': "error";
1156
+ 'prefer-promise-reject-errors': ["error", {
1157
+ allowEmptyReject: boolean;
1158
+ }];
1159
+ 'prefer-named-capture-group': "off";
1160
+ 'prefer-object-has-own': "off";
1161
+ 'prefer-regex-literals': ["error", {
1162
+ disallowRedundantWrapping: boolean;
1163
+ }];
1164
+ radix: "error";
1165
+ 'require-await': "off";
1166
+ 'require-unicode-regexp': "off";
1167
+ 'vars-on-top': "error";
1168
+ 'wrap-iife': ["error", string, {
1169
+ functionPrototypeMethods: boolean;
1170
+ }];
1171
+ yoda: "error";
1172
+ };
1173
+ } | {
1174
+ name: string;
1175
+ rules: {
1176
+ 'for-direction': "error";
1177
+ 'getter-return': ["error", {
1178
+ allowImplicit: boolean;
1179
+ }];
1180
+ 'no-async-promise-executor': "error";
1181
+ 'no-await-in-loop': "error";
1182
+ 'no-compare-neg-zero': "error";
1183
+ 'no-cond-assign': ["error", string];
1184
+ 'no-console': "warn";
1185
+ 'no-constant-binary-expression': "off";
1186
+ 'no-constant-condition': "warn";
1187
+ 'no-control-regex': "error";
1188
+ 'no-debugger': "error";
1189
+ 'no-dupe-args': "error";
1190
+ 'no-dupe-else-if': "error";
1191
+ 'no-dupe-keys': "error";
1192
+ 'no-duplicate-case': "error";
1193
+ 'no-empty': "error";
1194
+ 'no-empty-character-class': "error";
1195
+ 'no-ex-assign': "error";
1196
+ 'no-extra-boolean-cast': "error";
1197
+ 'no-extra-parens': ["off", string, {
1198
+ conditionalAssign: boolean;
1199
+ nestedBinaryExpressions: boolean;
1200
+ returnAssign: boolean;
1201
+ ignoreJSX: string;
1202
+ enforceForArrowConditionals: boolean;
1203
+ }];
1204
+ 'no-extra-semi': "error";
1205
+ 'no-func-assign': "error";
1206
+ 'no-import-assign': "error";
1207
+ 'no-inner-declarations': "error";
1208
+ 'no-invalid-regexp': "error";
1209
+ 'no-irregular-whitespace': "error";
1210
+ 'no-loss-of-precision': "error";
1211
+ 'no-misleading-character-class': "error";
1212
+ 'no-obj-calls': "error";
1213
+ 'no-new-native-nonconstructor': "off";
1214
+ 'no-promise-executor-return': "error";
1215
+ 'no-prototype-builtins': "error";
1216
+ 'no-regex-spaces': "error";
1217
+ 'no-setter-return': "error";
1218
+ 'no-sparse-arrays': "error";
1219
+ 'no-template-curly-in-string': "error";
1220
+ 'no-unexpected-multiline': "error";
1221
+ 'no-unreachable': "error";
1222
+ 'no-unreachable-loop': ["error", {
1223
+ ignore: never[];
1224
+ }];
1225
+ 'no-unsafe-finally': "error";
1226
+ 'no-unsafe-negation': "error";
1227
+ 'no-unsafe-optional-chaining': ["error", {
1228
+ disallowArithmeticOperators: boolean;
1229
+ }];
1230
+ 'no-unused-private-class-members': "off";
1231
+ 'no-useless-backreference': "error";
1232
+ 'no-negated-in-lhs': "off";
1233
+ 'require-atomic-updates': "off";
1234
+ 'use-isnan': "error";
1235
+ 'valid-jsdoc': "off";
1236
+ 'valid-typeof': ["error", {
1237
+ requireStringLiterals: boolean;
1238
+ }];
1239
+ };
1240
+ } | {
1241
+ name: string;
1242
+ languageOptions: {
1243
+ globals: {
1244
+ Array: false;
1245
+ ArrayBuffer: false;
1246
+ Boolean: false;
1247
+ DataView: false;
1248
+ Date: false;
1249
+ decodeURI: false;
1250
+ decodeURIComponent: false;
1251
+ encodeURI: false;
1252
+ encodeURIComponent: false;
1253
+ Error: false;
1254
+ escape: false;
1255
+ eval: false;
1256
+ EvalError: false;
1257
+ Float32Array: false;
1258
+ Float64Array: false;
1259
+ Function: false;
1260
+ Infinity: false;
1261
+ Int16Array: false;
1262
+ Int32Array: false;
1263
+ Int8Array: false;
1264
+ Intl: false;
1265
+ isFinite: false;
1266
+ isNaN: false;
1267
+ JSON: false;
1268
+ Map: false;
1269
+ Math: false;
1270
+ NaN: false;
1271
+ Number: false;
1272
+ Object: false;
1273
+ parseFloat: false;
1274
+ parseInt: false;
1275
+ Promise: false;
1276
+ Proxy: false;
1277
+ RangeError: false;
1278
+ ReferenceError: false;
1279
+ Reflect: false;
1280
+ RegExp: false;
1281
+ Set: false;
1282
+ String: false;
1283
+ Symbol: false;
1284
+ SyntaxError: false;
1285
+ TypeError: false;
1286
+ Uint16Array: false;
1287
+ Uint32Array: false;
1288
+ Uint8Array: false;
1289
+ Uint8ClampedArray: false;
1290
+ undefined: false;
1291
+ unescape: false;
1292
+ URIError: false;
1293
+ WeakMap: false;
1294
+ WeakSet: false;
1295
+ };
1296
+ parserOptions: {
1297
+ ecmaVersion: 6;
1298
+ sourceType: "module";
1299
+ ecmaFeatures: {
1300
+ generators: boolean;
1301
+ objectLiteralDuplicateProperties: boolean;
1302
+ };
710
1303
  };
711
- case: {
1304
+ };
1305
+ rules: {
1306
+ 'arrow-body-style': ["error", string, {
1307
+ requireReturnForObjectLiteral: boolean;
1308
+ }];
1309
+ 'arrow-parens': ["error", string];
1310
+ 'arrow-spacing': ["error", {
1311
+ before: boolean;
712
1312
  after: boolean;
1313
+ }];
1314
+ 'constructor-super': "error";
1315
+ 'generator-star-spacing': ["error", {
1316
+ before: boolean;
1317
+ after: boolean;
1318
+ }];
1319
+ 'no-class-assign': "error";
1320
+ 'no-confusing-arrow': ["error", {
1321
+ allowParens: boolean;
1322
+ }];
1323
+ 'no-const-assign': "error";
1324
+ 'no-dupe-class-members': "error";
1325
+ 'no-duplicate-imports': "off";
1326
+ 'no-new-symbol': "error";
1327
+ 'no-restricted-exports': ["error", {
1328
+ restrictedNamedExports: string[];
1329
+ }];
1330
+ 'no-restricted-imports': ["off", {
1331
+ paths: never[];
1332
+ patterns: never[];
1333
+ }];
1334
+ 'no-this-before-super': "error";
1335
+ 'no-useless-computed-key': "error";
1336
+ 'no-useless-constructor': "error";
1337
+ 'no-useless-rename': ["error", {
1338
+ ignoreDestructuring: boolean;
1339
+ ignoreImport: boolean;
1340
+ ignoreExport: boolean;
1341
+ }];
1342
+ 'no-var': "error";
1343
+ 'object-shorthand': ["error", string, {
1344
+ ignoreConstructors: boolean;
1345
+ avoidQuotes: boolean;
1346
+ }];
1347
+ 'prefer-arrow-callback': ["error", {
1348
+ allowNamedFunctions: boolean;
1349
+ allowUnboundThis: boolean;
1350
+ }];
1351
+ 'prefer-const': ["error", {
1352
+ destructuring: string;
1353
+ ignoreReadBeforeAssign: boolean;
1354
+ }];
1355
+ 'prefer-destructuring': ["error", {
1356
+ VariableDeclarator: {
1357
+ array: boolean;
1358
+ object: boolean;
1359
+ };
1360
+ AssignmentExpression: {
1361
+ array: boolean;
1362
+ object: boolean;
1363
+ };
1364
+ }, {
1365
+ enforceForRenamedProperties: boolean;
1366
+ }];
1367
+ 'prefer-numeric-literals': "error";
1368
+ 'prefer-reflect': "off";
1369
+ 'prefer-rest-params': "error";
1370
+ 'prefer-spread': "error";
1371
+ 'prefer-template': "error";
1372
+ 'require-yield': "error";
1373
+ 'rest-spread-spacing': ["error", string];
1374
+ 'sort-imports': ["off", {
1375
+ ignoreCase: boolean;
1376
+ ignoreDeclarationSort: boolean;
1377
+ ignoreMemberSort: boolean;
1378
+ memberSyntaxSortOrder: string[];
1379
+ }];
1380
+ 'symbol-description': "error";
1381
+ 'template-curly-spacing': "error";
1382
+ 'yield-star-spacing': ["error", string];
1383
+ };
1384
+ } | {
1385
+ name: string;
1386
+ languageOptions: {
1387
+ globals: {
1388
+ Array: false;
1389
+ ArrayBuffer: false;
1390
+ Boolean: false;
1391
+ DataView: false;
1392
+ Date: false;
1393
+ decodeURI: false;
1394
+ decodeURIComponent: false;
1395
+ encodeURI: false;
1396
+ encodeURIComponent: false;
1397
+ Error: false;
1398
+ escape: false;
1399
+ eval: false;
1400
+ EvalError: false;
1401
+ Float32Array: false;
1402
+ Float64Array: false;
1403
+ Function: false;
1404
+ Infinity: false;
1405
+ Int16Array: false;
1406
+ Int32Array: false;
1407
+ Int8Array: false;
1408
+ Intl: false;
1409
+ isFinite: false;
1410
+ isNaN: false;
1411
+ JSON: false;
1412
+ Map: false;
1413
+ Math: false;
1414
+ NaN: false;
1415
+ Number: false;
1416
+ Object: false;
1417
+ parseFloat: false;
1418
+ parseInt: false;
1419
+ Promise: false;
1420
+ Proxy: false;
1421
+ RangeError: false;
1422
+ ReferenceError: false;
1423
+ Reflect: false;
1424
+ RegExp: false;
1425
+ Set: false;
1426
+ String: false;
1427
+ Symbol: false;
1428
+ SyntaxError: false;
1429
+ TypeError: false;
1430
+ Uint16Array: false;
1431
+ Uint32Array: false;
1432
+ Uint8Array: false;
1433
+ Uint8ClampedArray: false;
1434
+ undefined: false;
1435
+ unescape: false;
1436
+ URIError: false;
1437
+ WeakMap: false;
1438
+ WeakSet: false;
1439
+ };
1440
+ parserOptions: {
1441
+ ecmaVersion: 6;
1442
+ sourceType: "module";
713
1443
  };
714
1444
  };
715
- })[];
716
- 'line-comment-position': (string | {
717
- position: string;
718
- ignorePattern: string;
719
- applyDefaultPatterns: boolean;
720
- })[];
721
- 'linebreak-style': string[];
722
- 'lines-between-class-members': (string | {
723
- exceptAfterSingleLine: boolean;
724
- })[];
725
- 'lines-around-comment': string;
726
- 'lines-around-directive': (string | {
727
- before: string;
728
- after: string;
729
- })[];
730
- 'logical-assignment-operators': (string | {
731
- enforceForIfStatements: boolean;
732
- })[];
733
- 'max-depth': (string | number)[];
734
- 'max-len': (string | number | {
735
- ignoreUrls: boolean;
736
- ignoreComments: boolean;
737
- ignoreRegExpLiterals: boolean;
738
- ignoreStrings: boolean;
739
- ignoreTemplateLiterals: boolean;
740
- })[];
741
- 'max-lines': (string | {
742
- max: number;
743
- skipBlankLines: boolean;
744
- skipComments: boolean;
745
- })[];
746
- 'max-lines-per-function': (string | {
747
- max: number;
748
- skipBlankLines: boolean;
749
- skipComments: boolean;
750
- IIFEs: boolean;
751
- })[];
752
- 'max-nested-callbacks': string;
753
- 'max-params': (string | number)[];
754
- 'max-statements': (string | number)[];
755
- 'max-statements-per-line': (string | {
756
- max: number;
757
- })[];
758
- 'multiline-comment-style': string[];
759
- 'multiline-ternary': string[];
760
- 'new-cap': (string | {
761
- newIsCap: boolean;
762
- newIsCapExceptions: never[];
763
- capIsNew: boolean;
764
- capIsNewExceptions: string[];
765
- })[];
766
- 'new-parens': string;
767
- 'newline-after-var': string;
768
- 'newline-before-return': string;
769
- 'newline-per-chained-call': (string | {
770
- ignoreChainWithDepth: number;
771
- })[];
772
- 'no-array-constructor': string;
773
- 'no-bitwise': string;
774
- 'no-continue': string;
775
- 'no-inline-comments': string;
776
- 'no-lonely-if': string;
777
- 'no-mixed-operators': (string | {
778
- groups: string[][];
779
- allowSamePrecedence: boolean;
780
- })[];
781
- 'no-mixed-spaces-and-tabs': string;
782
- 'no-multi-assign': string[];
783
- 'no-multiple-empty-lines': (string | {
784
- max: number;
785
- maxBOF: number;
786
- maxEOF: number;
787
- })[];
788
- 'no-negated-condition': string;
789
- 'no-nested-ternary': string;
790
- 'no-new-object': string;
791
- 'no-plusplus': string;
792
- 'no-restricted-syntax': (string | {
793
- selector: string;
794
- message: string;
795
- })[];
796
- 'no-spaced-func': string;
797
- 'no-tabs': string;
798
- 'no-ternary': string;
799
- 'no-trailing-spaces': (string | {
800
- skipBlankLines: boolean;
801
- ignoreComments: boolean;
802
- })[];
803
- 'no-underscore-dangle': (string | {
804
- allow: never[];
805
- allowAfterThis: boolean;
806
- allowAfterSuper: boolean;
807
- enforceInMethodNames: boolean;
808
- })[];
809
- 'no-unneeded-ternary': (string | {
810
- defaultAssignment: boolean;
811
- })[];
812
- 'no-whitespace-before-property': string;
813
- 'nonblock-statement-body-position': (string | {
814
- overrides: {};
815
- })[];
816
- 'object-curly-spacing': string[];
817
- 'object-curly-newline': (string | {
818
- ObjectExpression: {
819
- minProperties: number;
820
- multiline: boolean;
821
- consistent: boolean;
1445
+ plugins: {
1446
+ import: any;
822
1447
  };
823
- ObjectPattern: {
824
- minProperties: number;
825
- multiline: boolean;
826
- consistent: boolean;
1448
+ settings: {
1449
+ 'import/resolver': {
1450
+ node: {
1451
+ extensions: string[];
1452
+ };
1453
+ };
1454
+ 'import/extensions': string[];
1455
+ 'import/core-modules': never[];
1456
+ 'import/ignore': string[];
827
1457
  };
828
- ImportDeclaration: {
829
- minProperties: number;
830
- multiline: boolean;
831
- consistent: boolean;
1458
+ rules: {
1459
+ 'import/no-unresolved': ["error", {
1460
+ commonjs: boolean;
1461
+ caseSensitive: boolean;
1462
+ }];
1463
+ 'import/named': "error";
1464
+ 'import/default': "off";
1465
+ 'import/namespace': "off";
1466
+ 'import/export': "error";
1467
+ 'import/no-named-as-default': "error";
1468
+ 'import/no-named-as-default-member': "error";
1469
+ 'import/no-deprecated': "off";
1470
+ 'import/no-extraneous-dependencies': ["error", {
1471
+ devDependencies: string[];
1472
+ optionalDependencies: boolean;
1473
+ }];
1474
+ 'import/no-mutable-exports': "error";
1475
+ 'import/no-commonjs': "off";
1476
+ 'import/no-amd': "error";
1477
+ 'import/no-nodejs-modules': "off";
1478
+ 'import/first': "error";
1479
+ 'import/imports-first': "off";
1480
+ 'import/no-duplicates': "error";
1481
+ 'import/no-namespace': "off";
1482
+ 'import/extensions': ["error", string, {
1483
+ js: string;
1484
+ mjs: string;
1485
+ jsx: string;
1486
+ }];
1487
+ 'import/order': ["error", {
1488
+ groups: string[][];
1489
+ }];
1490
+ 'import/newline-after-import': "error";
1491
+ 'import/prefer-default-export': "error";
1492
+ 'import/no-restricted-paths': "off";
1493
+ 'import/max-dependencies': ["off", {
1494
+ max: number;
1495
+ }];
1496
+ 'import/no-absolute-path': "error";
1497
+ 'import/no-dynamic-require': "error";
1498
+ 'import/no-internal-modules': ["off", {
1499
+ allow: never[];
1500
+ }];
1501
+ 'import/unambiguous': "off";
1502
+ 'import/no-webpack-loader-syntax': "error";
1503
+ 'import/no-unassigned-import': "off";
1504
+ 'import/no-named-default': "error";
1505
+ 'import/no-anonymous-default-export': ["off", {
1506
+ allowArray: boolean;
1507
+ allowArrowFunction: boolean;
1508
+ allowAnonymousClass: boolean;
1509
+ allowAnonymousFunction: boolean;
1510
+ allowLiteral: boolean;
1511
+ allowObject: boolean;
1512
+ }];
1513
+ 'import/exports-last': "off";
1514
+ 'import/group-exports': "off";
1515
+ 'import/no-default-export': "off";
1516
+ 'import/no-named-export': "off";
1517
+ 'import/no-self-import': "error";
1518
+ 'import/no-cycle': ["error", {
1519
+ maxDepth: string;
1520
+ }];
1521
+ 'import/no-useless-path-segments': ["error", {
1522
+ commonjs: boolean;
1523
+ }];
1524
+ 'import/dynamic-import-chunkname': ["off", {
1525
+ importFunctions: never[];
1526
+ webpackChunknameFormat: string;
1527
+ }];
1528
+ 'import/no-relative-parent-imports': "off";
1529
+ 'import/no-unused-modules': ["off", {
1530
+ ignoreExports: never[];
1531
+ missingExports: boolean;
1532
+ unusedExports: boolean;
1533
+ }];
1534
+ 'import/no-import-module-exports': ["error", {
1535
+ exceptions: never[];
1536
+ }];
1537
+ 'import/no-relative-packages': "error";
1538
+ 'import/consistent-type-specifier-style': ["off", string];
1539
+ 'import/no-empty-named-blocks': "off";
832
1540
  };
833
- ExportDeclaration: {
834
- minProperties: number;
835
- multiline: boolean;
836
- consistent: boolean;
1541
+ } | {
1542
+ name: string;
1543
+ languageOptions: {
1544
+ globals: {
1545
+ AbortController: false;
1546
+ AbortSignal: false;
1547
+ atob: false;
1548
+ Blob: false;
1549
+ BroadcastChannel: false;
1550
+ btoa: false;
1551
+ Buffer: false;
1552
+ ByteLengthQueuingStrategy: false;
1553
+ clearImmediate: false;
1554
+ clearInterval: false;
1555
+ clearTimeout: false;
1556
+ CloseEvent: false;
1557
+ CompressionStream: false;
1558
+ console: false;
1559
+ CountQueuingStrategy: false;
1560
+ crypto: false;
1561
+ Crypto: false;
1562
+ CryptoKey: false;
1563
+ CustomEvent: false;
1564
+ DecompressionStream: false;
1565
+ DOMException: false;
1566
+ Event: false;
1567
+ EventTarget: false;
1568
+ fetch: false;
1569
+ File: false;
1570
+ FormData: false;
1571
+ global: false;
1572
+ Headers: false;
1573
+ MessageChannel: false;
1574
+ MessageEvent: false;
1575
+ MessagePort: false;
1576
+ navigator: false;
1577
+ Navigator: false;
1578
+ performance: false;
1579
+ Performance: false;
1580
+ PerformanceEntry: false;
1581
+ PerformanceMark: false;
1582
+ PerformanceMeasure: false;
1583
+ PerformanceObserver: false;
1584
+ PerformanceObserverEntryList: false;
1585
+ PerformanceResourceTiming: false;
1586
+ process: false;
1587
+ queueMicrotask: false;
1588
+ ReadableByteStreamController: false;
1589
+ ReadableStream: false;
1590
+ ReadableStreamBYOBReader: false;
1591
+ ReadableStreamBYOBRequest: false;
1592
+ ReadableStreamDefaultController: false;
1593
+ ReadableStreamDefaultReader: false;
1594
+ Request: false;
1595
+ Response: false;
1596
+ setImmediate: false;
1597
+ setInterval: false;
1598
+ setTimeout: false;
1599
+ structuredClone: false;
1600
+ SubtleCrypto: false;
1601
+ TextDecoder: false;
1602
+ TextDecoderStream: false;
1603
+ TextEncoder: false;
1604
+ TextEncoderStream: false;
1605
+ TransformStream: false;
1606
+ TransformStreamDefaultController: false;
1607
+ URL: false;
1608
+ URLSearchParams: false;
1609
+ WebAssembly: false;
1610
+ WebSocket: false;
1611
+ WritableStream: false;
1612
+ WritableStreamDefaultController: false;
1613
+ WritableStreamDefaultWriter: false;
1614
+ };
837
1615
  };
838
- })[];
839
- 'object-property-newline': (string | {
840
- allowAllPropertiesOnSameLine: boolean;
841
- })[];
842
- 'one-var': string[];
843
- 'one-var-declaration-per-line': string[];
844
- 'operator-assignment': string[];
845
- 'operator-linebreak': (string | {
846
- overrides: {
847
- '=': string;
1616
+ rules: {
1617
+ 'callback-return': "off";
1618
+ 'global-require': "error";
1619
+ 'handle-callback-err': "off";
1620
+ 'no-buffer-constructor': "error";
1621
+ 'no-mixed-requires': ["off", boolean];
1622
+ 'no-new-require': "error";
1623
+ 'no-path-concat': "error";
1624
+ 'no-process-env': "off";
1625
+ 'no-process-exit': "off";
1626
+ 'no-restricted-modules': "off";
1627
+ 'no-sync': "off";
848
1628
  };
849
- })[];
850
- 'padded-blocks': (string | {
851
- blocks: string;
852
- classes: string;
853
- switches: string;
854
- allowSingleLineBlocks?: undefined;
855
1629
  } | {
856
- allowSingleLineBlocks: boolean;
857
- blocks?: undefined;
858
- classes?: undefined;
859
- switches?: undefined;
860
- })[];
861
- 'padding-line-between-statements': string;
862
- 'prefer-exponentiation-operator': string;
863
- 'prefer-object-spread': string;
864
- 'quote-props': (string | {
865
- keywords: boolean;
866
- unnecessary: boolean;
867
- numbers: boolean;
868
- })[];
869
- quotes: (string | {
870
- avoidEscape: boolean;
871
- })[];
872
- 'require-jsdoc': string;
873
- semi: string[];
874
- 'semi-spacing': (string | {
875
- before: boolean;
876
- after: boolean;
877
- })[];
878
- 'semi-style': string[];
879
- 'sort-keys': (string | {
880
- caseSensitive: boolean;
881
- natural: boolean;
882
- })[];
883
- 'sort-vars': string;
884
- 'space-before-blocks': string;
885
- 'space-before-function-paren': (string | {
886
- anonymous: string;
887
- named: string;
888
- asyncArrow: string;
889
- })[];
890
- 'space-in-parens': string[];
891
- 'space-infix-ops': string;
892
- 'space-unary-ops': (string | {
893
- words: boolean;
894
- nonwords: boolean;
895
- overrides: {};
896
- })[];
897
- 'spaced-comment': (string | {
898
- line: {
899
- exceptions: string[];
900
- markers: string[];
1630
+ name: string;
1631
+ rules: {
1632
+ strict: ["error", string];
901
1633
  };
902
- block: {
903
- exceptions: string[];
904
- markers: string[];
905
- balanced: boolean;
1634
+ } | {
1635
+ name: string;
1636
+ rules: {
1637
+ 'array-bracket-newline': ["off", string];
1638
+ 'array-element-newline': ["off", {
1639
+ multiline: boolean;
1640
+ minItems: number;
1641
+ }];
1642
+ 'array-bracket-spacing': ["error", string];
1643
+ 'block-spacing': ["error", string];
1644
+ 'brace-style': ["error", string, {
1645
+ allowSingleLine: boolean;
1646
+ }];
1647
+ camelcase: ["error", {
1648
+ properties: string;
1649
+ ignoreDestructuring: boolean;
1650
+ }];
1651
+ 'capitalized-comments': ["off", string, {
1652
+ line: {
1653
+ ignorePattern: string;
1654
+ ignoreInlineComments: boolean;
1655
+ ignoreConsecutiveComments: boolean;
1656
+ };
1657
+ block: {
1658
+ ignorePattern: string;
1659
+ ignoreInlineComments: boolean;
1660
+ ignoreConsecutiveComments: boolean;
1661
+ };
1662
+ }];
1663
+ 'comma-dangle': ["error", {
1664
+ arrays: string;
1665
+ objects: string;
1666
+ imports: string;
1667
+ exports: string;
1668
+ functions: string;
1669
+ }];
1670
+ 'comma-spacing': ["error", {
1671
+ before: boolean;
1672
+ after: boolean;
1673
+ }];
1674
+ 'comma-style': ["error", string, {
1675
+ exceptions: {
1676
+ ArrayExpression: boolean;
1677
+ ArrayPattern: boolean;
1678
+ ArrowFunctionExpression: boolean;
1679
+ CallExpression: boolean;
1680
+ FunctionDeclaration: boolean;
1681
+ FunctionExpression: boolean;
1682
+ ImportDeclaration: boolean;
1683
+ ObjectExpression: boolean;
1684
+ ObjectPattern: boolean;
1685
+ VariableDeclaration: boolean;
1686
+ NewExpression: boolean;
1687
+ };
1688
+ }];
1689
+ 'computed-property-spacing': ["error", string];
1690
+ 'consistent-this': "off";
1691
+ 'eol-last': ["error", string];
1692
+ 'function-call-argument-newline': ["error", string];
1693
+ 'func-call-spacing': ["error", string];
1694
+ 'func-name-matching': ["off", string, {
1695
+ includeCommonJSModuleExports: boolean;
1696
+ considerPropertyDescriptor: boolean;
1697
+ }];
1698
+ 'func-names': "warn";
1699
+ 'func-style': ["off", string];
1700
+ 'function-paren-newline': ["error", string];
1701
+ 'id-denylist': "off";
1702
+ 'id-length': "off";
1703
+ 'id-match': "off";
1704
+ 'implicit-arrow-linebreak': ["error", string];
1705
+ indent: ["error", number, {
1706
+ SwitchCase: number;
1707
+ VariableDeclarator: number;
1708
+ outerIIFEBody: number;
1709
+ FunctionDeclaration: {
1710
+ parameters: number;
1711
+ body: number;
1712
+ };
1713
+ FunctionExpression: {
1714
+ parameters: number;
1715
+ body: number;
1716
+ };
1717
+ CallExpression: {
1718
+ arguments: number;
1719
+ };
1720
+ ArrayExpression: number;
1721
+ ObjectExpression: number;
1722
+ ImportDeclaration: number;
1723
+ flatTernaryExpressions: boolean;
1724
+ ignoredNodes: string[];
1725
+ ignoreComments: boolean;
1726
+ }];
1727
+ 'jsx-quotes': ["off", string];
1728
+ 'key-spacing': ["error", {
1729
+ beforeColon: boolean;
1730
+ afterColon: boolean;
1731
+ }];
1732
+ 'keyword-spacing': ["error", {
1733
+ before: boolean;
1734
+ after: boolean;
1735
+ overrides: {
1736
+ return: {
1737
+ after: boolean;
1738
+ };
1739
+ throw: {
1740
+ after: boolean;
1741
+ };
1742
+ case: {
1743
+ after: boolean;
1744
+ };
1745
+ };
1746
+ }];
1747
+ 'line-comment-position': ["off", {
1748
+ position: string;
1749
+ ignorePattern: string;
1750
+ applyDefaultPatterns: boolean;
1751
+ }];
1752
+ 'linebreak-style': ["error", string];
1753
+ 'lines-between-class-members': ["error", string, {
1754
+ exceptAfterSingleLine: boolean;
1755
+ }];
1756
+ 'lines-around-comment': "off";
1757
+ 'lines-around-directive': ["error", {
1758
+ before: string;
1759
+ after: string;
1760
+ }];
1761
+ 'logical-assignment-operators': ["off", string, {
1762
+ enforceForIfStatements: boolean;
1763
+ }];
1764
+ 'max-depth': ["off", number];
1765
+ 'max-len': ["error", number, number, {
1766
+ ignoreUrls: boolean;
1767
+ ignoreComments: boolean;
1768
+ ignoreRegExpLiterals: boolean;
1769
+ ignoreStrings: boolean;
1770
+ ignoreTemplateLiterals: boolean;
1771
+ }];
1772
+ 'max-lines': ["off", {
1773
+ max: number;
1774
+ skipBlankLines: boolean;
1775
+ skipComments: boolean;
1776
+ }];
1777
+ 'max-lines-per-function': ["off", {
1778
+ max: number;
1779
+ skipBlankLines: boolean;
1780
+ skipComments: boolean;
1781
+ IIFEs: boolean;
1782
+ }];
1783
+ 'max-nested-callbacks': "off";
1784
+ 'max-params': ["off", number];
1785
+ 'max-statements': ["off", number];
1786
+ 'max-statements-per-line': ["off", {
1787
+ max: number;
1788
+ }];
1789
+ 'multiline-comment-style': ["off", string];
1790
+ 'multiline-ternary': ["off", string];
1791
+ 'new-cap': ["error", {
1792
+ newIsCap: boolean;
1793
+ newIsCapExceptions: never[];
1794
+ capIsNew: boolean;
1795
+ capIsNewExceptions: string[];
1796
+ }];
1797
+ 'new-parens': "error";
1798
+ 'newline-after-var': "off";
1799
+ 'newline-before-return': "off";
1800
+ 'newline-per-chained-call': ["error", {
1801
+ ignoreChainWithDepth: number;
1802
+ }];
1803
+ 'no-array-constructor': "error";
1804
+ 'no-bitwise': "error";
1805
+ 'no-continue': "error";
1806
+ 'no-inline-comments': "off";
1807
+ 'no-lonely-if': "error";
1808
+ 'no-mixed-operators': ["error", {
1809
+ groups: string[][];
1810
+ allowSamePrecedence: boolean;
1811
+ }];
1812
+ 'no-mixed-spaces-and-tabs': "error";
1813
+ 'no-multi-assign': ["error"];
1814
+ 'no-multiple-empty-lines': ["error", {
1815
+ max: number;
1816
+ maxBOF: number;
1817
+ maxEOF: number;
1818
+ }];
1819
+ 'no-negated-condition': "off";
1820
+ 'no-nested-ternary': "error";
1821
+ 'no-new-object': "error";
1822
+ 'no-plusplus': "error";
1823
+ 'no-restricted-syntax': ["error", {
1824
+ selector: string;
1825
+ message: string;
1826
+ }, {
1827
+ selector: string;
1828
+ message: string;
1829
+ }, {
1830
+ selector: string;
1831
+ message: string;
1832
+ }, {
1833
+ selector: string;
1834
+ message: string;
1835
+ }];
1836
+ 'no-spaced-func': "off";
1837
+ 'no-tabs': "error";
1838
+ 'no-ternary': "off";
1839
+ 'no-trailing-spaces': ["error", {
1840
+ skipBlankLines: boolean;
1841
+ ignoreComments: boolean;
1842
+ }];
1843
+ 'no-underscore-dangle': ["error", {
1844
+ allow: never[];
1845
+ allowAfterThis: boolean;
1846
+ allowAfterSuper: boolean;
1847
+ enforceInMethodNames: boolean;
1848
+ }];
1849
+ 'no-unneeded-ternary': ["error", {
1850
+ defaultAssignment: boolean;
1851
+ }];
1852
+ 'no-whitespace-before-property': "error";
1853
+ 'nonblock-statement-body-position': ["error", string, {
1854
+ overrides: {};
1855
+ }];
1856
+ 'object-curly-spacing': ["error", string];
1857
+ 'object-curly-newline': ["error", {
1858
+ ObjectExpression: {
1859
+ minProperties: number;
1860
+ multiline: boolean;
1861
+ consistent: boolean;
1862
+ };
1863
+ ObjectPattern: {
1864
+ minProperties: number;
1865
+ multiline: boolean;
1866
+ consistent: boolean;
1867
+ };
1868
+ ImportDeclaration: {
1869
+ minProperties: number;
1870
+ multiline: boolean;
1871
+ consistent: boolean;
1872
+ };
1873
+ ExportDeclaration: {
1874
+ minProperties: number;
1875
+ multiline: boolean;
1876
+ consistent: boolean;
1877
+ };
1878
+ }];
1879
+ 'object-property-newline': ["error", {
1880
+ allowAllPropertiesOnSameLine: boolean;
1881
+ }];
1882
+ 'one-var': ["error", string];
1883
+ 'one-var-declaration-per-line': ["error", string];
1884
+ 'operator-assignment': ["error", string];
1885
+ 'operator-linebreak': ["error", string, {
1886
+ overrides: {
1887
+ '=': string;
1888
+ };
1889
+ }];
1890
+ 'padded-blocks': ["error", {
1891
+ blocks: string;
1892
+ classes: string;
1893
+ switches: string;
1894
+ }, {
1895
+ allowSingleLineBlocks: boolean;
1896
+ }];
1897
+ 'padding-line-between-statements': "off";
1898
+ 'prefer-exponentiation-operator': "error";
1899
+ 'prefer-object-spread': "error";
1900
+ 'quote-props': ["error", string, {
1901
+ keywords: boolean;
1902
+ unnecessary: boolean;
1903
+ numbers: boolean;
1904
+ }];
1905
+ quotes: ["error", string, {
1906
+ avoidEscape: boolean;
1907
+ }];
1908
+ 'require-jsdoc': "off";
1909
+ semi: ["error", string];
1910
+ 'semi-spacing': ["error", {
1911
+ before: boolean;
1912
+ after: boolean;
1913
+ }];
1914
+ 'semi-style': ["error", string];
1915
+ 'sort-keys': ["off", string, {
1916
+ caseSensitive: boolean;
1917
+ natural: boolean;
1918
+ }];
1919
+ 'sort-vars': "off";
1920
+ 'space-before-blocks': "error";
1921
+ 'space-before-function-paren': ["error", {
1922
+ anonymous: string;
1923
+ named: string;
1924
+ asyncArrow: string;
1925
+ }];
1926
+ 'space-in-parens': ["error", string];
1927
+ 'space-infix-ops': "error";
1928
+ 'space-unary-ops': ["error", {
1929
+ words: boolean;
1930
+ nonwords: boolean;
1931
+ overrides: {};
1932
+ }];
1933
+ 'spaced-comment': ["error", string, {
1934
+ line: {
1935
+ exceptions: string[];
1936
+ markers: string[];
1937
+ };
1938
+ block: {
1939
+ exceptions: string[];
1940
+ markers: string[];
1941
+ balanced: boolean;
1942
+ };
1943
+ }];
1944
+ 'switch-colon-spacing': ["error", {
1945
+ after: boolean;
1946
+ before: boolean;
1947
+ }];
1948
+ 'template-tag-spacing': ["error", string];
1949
+ 'unicode-bom': ["error", string];
1950
+ 'wrap-regex': "off";
906
1951
  };
907
- })[];
908
- 'switch-colon-spacing': (string | {
909
- after: boolean;
910
- before: boolean;
911
- })[];
912
- 'template-tag-spacing': string[];
913
- 'unicode-bom': string[];
914
- 'wrap-regex': string;
915
- };
916
- } | {
917
- rules: {
918
- 'init-declarations': string;
919
- 'no-catch-shadow': string;
920
- 'no-delete-var': string;
921
- 'no-label-var': string;
922
- 'no-restricted-globals': (string | {
1952
+ } | {
923
1953
  name: string;
924
- message: string;
925
- })[];
926
- 'no-shadow': string;
927
- 'no-shadow-restricted-names': string;
928
- 'no-undef': string;
929
- 'no-undef-init': string;
930
- 'no-undefined': string;
931
- 'no-unused-vars': (string | {
932
- vars: string;
933
- args: string;
934
- ignoreRestSiblings: boolean;
935
- })[];
936
- 'no-use-before-define': (string | {
937
- functions: boolean;
938
- classes: boolean;
939
- variables: boolean;
1954
+ rules: {
1955
+ 'init-declarations': "off";
1956
+ 'no-catch-shadow': "off";
1957
+ 'no-delete-var': "error";
1958
+ 'no-label-var': "error";
1959
+ 'no-restricted-globals': ["error", {
1960
+ name: string;
1961
+ message: string;
1962
+ }, {
1963
+ name: string;
1964
+ message: string;
1965
+ }, ...{
1966
+ name: "length" | "find" | "name" | "location" | "stop" | "screenX" | "screenY" | "closed" | "top" | "open" | "screen" | "blur" | "close" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "scrollBy" | "scrollTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "event" | "external" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "opener" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "screenLeft" | "screenTop" | "scrollX" | "scrollY" | "scrollbars" | "self" | "status" | "statusbar" | "toolbar" | "confirm" | "moveBy" | "moveTo" | "print" | "resizeBy" | "resizeTo" | "onunload" | "defaultStatus" | "defaultstatus" | "opera";
1967
+ message: string;
1968
+ }[]];
1969
+ 'no-shadow': "error";
1970
+ 'no-shadow-restricted-names': "error";
1971
+ 'no-undef': "error";
1972
+ 'no-undef-init': "error";
1973
+ 'no-undefined': "off";
1974
+ 'no-unused-vars': ["error", {
1975
+ vars: string;
1976
+ args: string;
1977
+ ignoreRestSiblings: boolean;
1978
+ }];
1979
+ 'no-use-before-define': ["error", {
1980
+ functions: boolean;
1981
+ classes: boolean;
1982
+ variables: boolean;
1983
+ }];
1984
+ };
1985
+ } | {
1986
+ name: string;
1987
+ languageOptions: {
1988
+ parserOptions: {
1989
+ ecmaVersion: 2018;
1990
+ sourceType: "module";
1991
+ };
1992
+ };
1993
+ rules: {};
940
1994
  })[];
941
1995
  };
942
- } | {
943
- languageOptions: {
944
- parserOptions: {
945
- ecmaVersion: number;
946
- sourceType: string;
947
- };
948
- };
949
- rules: {};
950
- })[];
1996
+ };
951
1997
  export default _default;