@enigmatry/eslint-config 18.1.0 → 19.0.0
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/index.js +786 -807
- package/package.json +13 -20
package/index.js
CHANGED
|
@@ -1,814 +1,793 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import tseslint from "typescript-eslint";
|
|
2
|
+
import angular from "angular-eslint";
|
|
3
|
+
import pluginPromise from "eslint-plugin-promise";
|
|
4
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
5
|
+
import noSecrets from "eslint-plugin-no-secrets";
|
|
6
|
+
import importPlugin from "eslint-plugin-import";
|
|
7
|
+
import nounsanitized from "eslint-plugin-no-unsanitized";
|
|
8
|
+
import unusedImports from "eslint-plugin-unused-imports";
|
|
9
|
+
import arrowFunctions from "eslint-plugin-prefer-arrow-functions";
|
|
10
|
+
|
|
11
|
+
export default tseslint.config(
|
|
12
|
+
...angular.configs.tsRecommended,
|
|
13
|
+
{
|
|
14
|
+
ignores: ["src/**/generated/", "src/polyfills.ts", "src/@enigmatry/**", "**/api-reference.ts"]
|
|
8
15
|
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
16
|
+
{
|
|
17
|
+
"processor": angular.processInlineTemplates,
|
|
18
|
+
"files": ["src/**/*.ts"],
|
|
19
|
+
"languageOptions": {
|
|
20
|
+
"ecmaVersion": "latest",
|
|
21
|
+
"sourceType": "module",
|
|
22
|
+
"parser": tseslint.parser,
|
|
15
23
|
"parserOptions": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"e2e/tsconfig.json"
|
|
19
|
-
],
|
|
20
|
-
"createDefaultProgram": true
|
|
24
|
+
"projectService": true,
|
|
25
|
+
"tsconfigRootDir": import.meta.dirname
|
|
21
26
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
],
|
|
213
|
-
"@typescript-eslint/default-param-last": [
|
|
214
|
-
"error"
|
|
215
|
-
],
|
|
216
|
-
"@typescript-eslint/dot-notation": [
|
|
217
|
-
"error"
|
|
218
|
-
],
|
|
219
|
-
"@typescript-eslint/func-call-spacing": [
|
|
220
|
-
"error"
|
|
221
|
-
],
|
|
222
|
-
"@typescript-eslint/indent": [
|
|
223
|
-
"off",
|
|
224
|
-
"tab"
|
|
225
|
-
],
|
|
226
|
-
"@typescript-eslint/init-declarations": [
|
|
227
|
-
"off"
|
|
228
|
-
],
|
|
229
|
-
"@typescript-eslint/keyword-spacing": [
|
|
230
|
-
"error"
|
|
231
|
-
],
|
|
232
|
-
"@typescript-eslint/naming-convention": "off",
|
|
233
|
-
"@typescript-eslint/no-array-constructor": [
|
|
234
|
-
"error"
|
|
235
|
-
],
|
|
236
|
-
"@typescript-eslint/no-dupe-class-members": [
|
|
237
|
-
"error"
|
|
238
|
-
],
|
|
239
|
-
"@typescript-eslint/no-empty-function": [
|
|
240
|
-
"error"
|
|
241
|
-
],
|
|
242
|
-
"@typescript-eslint/no-implied-eval": [
|
|
243
|
-
"error"
|
|
244
|
-
],
|
|
245
|
-
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
246
|
-
"@typescript-eslint/no-invalid-this": [
|
|
247
|
-
"error"
|
|
248
|
-
],
|
|
249
|
-
"@typescript-eslint/no-loop-func": [
|
|
250
|
-
"error"
|
|
251
|
-
],
|
|
252
|
-
"@typescript-eslint/no-loss-of-precision": [
|
|
253
|
-
"error"
|
|
254
|
-
],
|
|
255
|
-
"@typescript-eslint/no-magic-numbers": [
|
|
256
|
-
"error",
|
|
257
|
-
{
|
|
258
|
-
"enforceConst": true,
|
|
259
|
-
"ignore": [
|
|
260
|
-
0,
|
|
261
|
-
1
|
|
262
|
-
],
|
|
263
|
-
"ignoreArrayIndexes": true,
|
|
264
|
-
"ignoreClassFieldInitialValues": true,
|
|
265
|
-
"ignoreDefaultValues": true,
|
|
266
|
-
"ignoreEnums": true,
|
|
267
|
-
"ignoreNumericLiteralTypes": true,
|
|
268
|
-
"ignoreReadonlyClassProperties": true,
|
|
269
|
-
"ignoreTypeIndexes": true
|
|
270
|
-
}
|
|
271
|
-
],
|
|
272
|
-
"@typescript-eslint/no-meaningless-void-operator": [
|
|
273
|
-
"error",
|
|
274
|
-
{
|
|
275
|
-
"checkNever": false
|
|
276
|
-
}
|
|
277
|
-
],
|
|
278
|
-
"@typescript-eslint/no-mixed-enums": "error",
|
|
279
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
280
|
-
"@typescript-eslint/no-non-null-assertion": [
|
|
281
|
-
"error"
|
|
282
|
-
],
|
|
283
|
-
"@typescript-eslint/no-redeclare": [
|
|
284
|
-
"error"
|
|
285
|
-
],
|
|
286
|
-
"@typescript-eslint/no-redundant-type-constituents": [
|
|
287
|
-
"error"
|
|
288
|
-
],
|
|
289
|
-
"@typescript-eslint/no-restricted-imports": [
|
|
290
|
-
"off"
|
|
291
|
-
],
|
|
292
|
-
"@typescript-eslint/no-shadow": [
|
|
293
|
-
"error"
|
|
294
|
-
],
|
|
295
|
-
"@typescript-eslint/no-throw-literal": [
|
|
296
|
-
"error"
|
|
297
|
-
],
|
|
298
|
-
"@typescript-eslint/no-unsafe-declaration-merging": [
|
|
299
|
-
"error"
|
|
300
|
-
],
|
|
301
|
-
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
302
|
-
"@typescript-eslint/no-unsafe-return": "off",
|
|
303
|
-
"@typescript-eslint/no-unused-expressions": [
|
|
304
|
-
"error"
|
|
305
|
-
],
|
|
306
|
-
"@typescript-eslint/no-unused-vars": [
|
|
307
|
-
"error",
|
|
308
|
-
{
|
|
309
|
-
"argsIgnorePattern": "^_"
|
|
310
|
-
}
|
|
311
|
-
],
|
|
312
|
-
"@typescript-eslint/no-use-before-define": [
|
|
313
|
-
"error"
|
|
314
|
-
],
|
|
315
|
-
"@typescript-eslint/no-useless-constructor": [
|
|
316
|
-
"error"
|
|
317
|
-
],
|
|
318
|
-
"@typescript-eslint/object-curly-spacing": [
|
|
319
|
-
"error",
|
|
320
|
-
"always"
|
|
321
|
-
],
|
|
322
|
-
"@typescript-eslint/parameter-properties": "off",
|
|
323
|
-
"@typescript-eslint/prefer-optional-chain": "error",
|
|
324
|
-
"@typescript-eslint/prefer-readonly": "off",
|
|
325
|
-
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
326
|
-
"@typescript-eslint/quotes": [
|
|
327
|
-
"error",
|
|
328
|
-
"single",
|
|
329
|
-
{
|
|
330
|
-
"allowTemplateLiterals": true
|
|
331
|
-
}
|
|
332
|
-
],
|
|
333
|
-
"@typescript-eslint/require-await": [
|
|
334
|
-
"error"
|
|
335
|
-
],
|
|
336
|
-
"@typescript-eslint/restrict-plus-operands": "error",
|
|
337
|
-
"@typescript-eslint/return-await": [
|
|
338
|
-
"error"
|
|
339
|
-
],
|
|
340
|
-
"@typescript-eslint/semi": [
|
|
341
|
-
"error"
|
|
342
|
-
],
|
|
343
|
-
"@typescript-eslint/space-before-function-paren": [
|
|
344
|
-
"error",
|
|
345
|
-
"never"
|
|
346
|
-
],
|
|
347
|
-
"@typescript-eslint/space-infix-ops": [
|
|
348
|
-
"error"
|
|
349
|
-
],
|
|
350
|
-
"array-callback-return": "error",
|
|
351
|
-
"arrow-body-style": "off",
|
|
352
|
-
"block-scoped-var": "error",
|
|
353
|
-
"camelcase": "warn",
|
|
354
|
-
"capitalized-comments": "off",
|
|
355
|
-
"class-methods-use-this": "off",
|
|
356
|
-
"complexity": "error",
|
|
357
|
-
"consistent-return": "error",
|
|
358
|
-
"consistent-this": "error",
|
|
359
|
-
"constructor-super": "error",
|
|
360
|
-
"curly": "error",
|
|
361
|
-
"default-case": "warn",
|
|
362
|
-
"default-case-last": "error",
|
|
363
|
-
"default-param-last": "off",
|
|
364
|
-
"deprecation/deprecation": "error",
|
|
365
|
-
"dot-notation": "off",
|
|
366
|
-
"eqeqeq": "error",
|
|
367
|
-
"for-direction": "error",
|
|
368
|
-
"func-name-matching": "off",
|
|
369
|
-
"func-names": "error",
|
|
370
|
-
"func-style": "error",
|
|
371
|
-
"function-call-argument-newline": "off",
|
|
372
|
-
"getter-return": "error",
|
|
373
|
-
"grouped-accessor-pairs": "warn",
|
|
374
|
-
"guard-for-in": "warn",
|
|
375
|
-
"id-denylist": "off",
|
|
376
|
-
"id-length": [
|
|
377
|
-
"error",
|
|
378
|
-
{
|
|
379
|
-
"max": 50,
|
|
380
|
-
"min": 1
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"id-match": "off",
|
|
384
|
-
"import/consistent-type-specifier-style": [
|
|
385
|
-
"off"
|
|
386
|
-
],
|
|
387
|
-
"import/default": [
|
|
388
|
-
"error"
|
|
389
|
-
],
|
|
390
|
-
"import/dynamic-import-chunkname": [
|
|
391
|
-
"off"
|
|
392
|
-
],
|
|
393
|
-
"import/export": [
|
|
394
|
-
"error"
|
|
395
|
-
],
|
|
396
|
-
"import/exports-last": [
|
|
397
|
-
"off"
|
|
398
|
-
],
|
|
399
|
-
"import/extensions": [
|
|
400
|
-
"off",
|
|
401
|
-
"never"
|
|
402
|
-
],
|
|
403
|
-
"import/first": [
|
|
404
|
-
"error"
|
|
405
|
-
],
|
|
406
|
-
"import/max-dependencies": [
|
|
407
|
-
"error",
|
|
408
|
-
{
|
|
409
|
-
"ignoreTypeImports": false,
|
|
410
|
-
"max": 20
|
|
411
|
-
}
|
|
412
|
-
],
|
|
413
|
-
"import/named": [
|
|
414
|
-
"off"
|
|
415
|
-
],
|
|
416
|
-
"import/namespace": [
|
|
417
|
-
"error"
|
|
418
|
-
],
|
|
419
|
-
"import/newline-after-import": [
|
|
420
|
-
"error"
|
|
421
|
-
],
|
|
422
|
-
"import/no-absolute-path": [
|
|
423
|
-
"off"
|
|
424
|
-
],
|
|
425
|
-
"import/no-amd": [
|
|
426
|
-
"error"
|
|
427
|
-
],
|
|
428
|
-
"import/no-anonymous-default-export": [
|
|
429
|
-
"error"
|
|
430
|
-
],
|
|
431
|
-
"import/no-commonjs": [
|
|
432
|
-
"error"
|
|
433
|
-
],
|
|
434
|
-
"import/no-cycle": [
|
|
435
|
-
"error"
|
|
436
|
-
],
|
|
437
|
-
"import/no-default-export": [
|
|
438
|
-
"off"
|
|
439
|
-
],
|
|
440
|
-
"import/no-deprecated": [
|
|
441
|
-
"error"
|
|
442
|
-
],
|
|
443
|
-
"import/no-duplicates": [
|
|
444
|
-
"error"
|
|
445
|
-
],
|
|
446
|
-
"import/no-dynamic-require": [
|
|
447
|
-
"off"
|
|
448
|
-
],
|
|
449
|
-
"import/no-empty-named-blocks": [
|
|
450
|
-
"error"
|
|
451
|
-
],
|
|
452
|
-
"import/no-extraneous-dependencies": [
|
|
453
|
-
"error"
|
|
454
|
-
],
|
|
455
|
-
"import/no-import-module-exports": [
|
|
456
|
-
"error"
|
|
457
|
-
],
|
|
458
|
-
"import/no-internal-modules": [
|
|
459
|
-
"off"
|
|
460
|
-
],
|
|
461
|
-
"import/no-mutable-exports": [
|
|
462
|
-
"error"
|
|
463
|
-
],
|
|
464
|
-
"import/no-named-as-default": [
|
|
465
|
-
"error"
|
|
466
|
-
],
|
|
467
|
-
"import/no-named-as-default-member": [
|
|
468
|
-
"error"
|
|
469
|
-
],
|
|
470
|
-
"import/no-named-default": [
|
|
471
|
-
"error"
|
|
472
|
-
],
|
|
473
|
-
"import/no-named-export": [
|
|
474
|
-
"off"
|
|
475
|
-
],
|
|
476
|
-
"import/no-namespace": [
|
|
477
|
-
"off"
|
|
478
|
-
],
|
|
479
|
-
"import/no-nodejs-modules": [
|
|
480
|
-
"off"
|
|
481
|
-
],
|
|
482
|
-
"import/no-relative-packages": [
|
|
483
|
-
"off"
|
|
484
|
-
],
|
|
485
|
-
"import/no-relative-parent-imports": [
|
|
486
|
-
"off"
|
|
487
|
-
],
|
|
488
|
-
"import/no-restricted-paths": [
|
|
489
|
-
"off"
|
|
490
|
-
],
|
|
491
|
-
"import/no-self-import": [
|
|
492
|
-
"error"
|
|
493
|
-
],
|
|
494
|
-
"import/no-unassigned-import": [
|
|
495
|
-
"off"
|
|
496
|
-
],
|
|
497
|
-
"import/no-unresolved": [
|
|
498
|
-
"off"
|
|
499
|
-
],
|
|
500
|
-
"import/no-unused-modules": [
|
|
501
|
-
"off"
|
|
502
|
-
],
|
|
503
|
-
"import/no-useless-path-segments": [
|
|
504
|
-
"error"
|
|
505
|
-
],
|
|
506
|
-
"import/no-webpack-loader-syntax": [
|
|
507
|
-
"error"
|
|
508
|
-
],
|
|
509
|
-
"import/order": [
|
|
510
|
-
"error",
|
|
511
|
-
{
|
|
512
|
-
"alphabetize": {
|
|
513
|
-
"caseInsensitive": true,
|
|
514
|
-
"order": "asc"
|
|
27
|
+
},
|
|
28
|
+
"plugins": {
|
|
29
|
+
"no-unsanitized": nounsanitized,
|
|
30
|
+
"@stylistic": stylistic,
|
|
31
|
+
"@typescript-eslint": tseslint.plugin,
|
|
32
|
+
"import": importPlugin,
|
|
33
|
+
"no-secrets": noSecrets,
|
|
34
|
+
"prefer-arrow-functions": arrowFunctions,
|
|
35
|
+
"promise": pluginPromise,
|
|
36
|
+
"unused-imports": unusedImports,
|
|
37
|
+
},
|
|
38
|
+
"rules": {
|
|
39
|
+
"@angular-eslint/component-selector": [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
"prefix": [
|
|
43
|
+
"app",
|
|
44
|
+
"appg",
|
|
45
|
+
"enigmatry",
|
|
46
|
+
"entry"
|
|
47
|
+
],
|
|
48
|
+
"style": "kebab-case",
|
|
49
|
+
"type": "element"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"@angular-eslint/directive-selector": [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
"prefix": [
|
|
56
|
+
"app",
|
|
57
|
+
"appg",
|
|
58
|
+
"enigmatry",
|
|
59
|
+
"entry"
|
|
60
|
+
],
|
|
61
|
+
"style": "camelCase",
|
|
62
|
+
"type": "attribute"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"@stylistic/array-bracket-newline": "off",
|
|
66
|
+
"@stylistic/array-bracket-spacing": [
|
|
67
|
+
"error",
|
|
68
|
+
"never"
|
|
69
|
+
],
|
|
70
|
+
"@stylistic/array-element-newline": "off",
|
|
71
|
+
"@stylistic/arrow-parens": [
|
|
72
|
+
"error",
|
|
73
|
+
"as-needed",
|
|
74
|
+
{
|
|
75
|
+
"requireForBlockBody": false
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"@stylistic/arrow-spacing": "error",
|
|
79
|
+
"@stylistic/block-spacing": "error",
|
|
80
|
+
"@stylistic/brace-style": "error",
|
|
81
|
+
"@stylistic/comma-dangle": [
|
|
82
|
+
"error",
|
|
83
|
+
"never"
|
|
84
|
+
],
|
|
85
|
+
"@stylistic/comma-spacing": "error",
|
|
86
|
+
"@stylistic/comma-style": "error",
|
|
87
|
+
"@stylistic/computed-property-spacing": "error",
|
|
88
|
+
"@stylistic/curly-newline": "off",
|
|
89
|
+
"@stylistic/dot-location": [
|
|
90
|
+
"error",
|
|
91
|
+
"property"
|
|
92
|
+
],
|
|
93
|
+
"@stylistic/eol-last": "off",
|
|
94
|
+
"@stylistic/function-call-argument-newline": "off",
|
|
95
|
+
"@stylistic/function-call-spacing": "error",
|
|
96
|
+
"@stylistic/function-paren-newline": "off",
|
|
97
|
+
"@stylistic/generator-star-spacing": "error",
|
|
98
|
+
"@stylistic/implicit-arrow-linebreak": "off",
|
|
99
|
+
"@stylistic/indent": [
|
|
100
|
+
"off",
|
|
101
|
+
"tab"
|
|
102
|
+
],
|
|
103
|
+
"@stylistic/indent-binary-ops": "off",
|
|
104
|
+
"@stylistic/jsx-quotes": "error",
|
|
105
|
+
"@stylistic/key-spacing": "error",
|
|
106
|
+
"@stylistic/keyword-spacing": "off",
|
|
107
|
+
"@stylistic/line-comment-position": "off",
|
|
108
|
+
"@stylistic/linebreak-style": "off",
|
|
109
|
+
"@stylistic/lines-around-comment": "off",
|
|
110
|
+
"@stylistic/lines-between-class-members": [
|
|
111
|
+
"off",
|
|
112
|
+
"always",
|
|
113
|
+
{
|
|
114
|
+
"exceptAfterSingleLine": true
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"@stylistic/max-len": [
|
|
118
|
+
"error",
|
|
119
|
+
{
|
|
120
|
+
"code": 150,
|
|
121
|
+
"ignoreComments": true
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"@stylistic/max-statements-per-line": "error",
|
|
125
|
+
"@stylistic/member-delimiter-style": [
|
|
126
|
+
"error"
|
|
127
|
+
],
|
|
128
|
+
"@stylistic/multiline-comment-style": "off",
|
|
129
|
+
"@stylistic/multiline-ternary": "off",
|
|
130
|
+
"@stylistic/new-parens": "error",
|
|
131
|
+
"@stylistic/newline-per-chained-call": [
|
|
132
|
+
"error",
|
|
133
|
+
{
|
|
134
|
+
"ignoreChainWithDepth": 2
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"@stylistic/no-confusing-arrow": "off",
|
|
138
|
+
"@stylistic/no-extra-parens": [
|
|
139
|
+
"error"
|
|
140
|
+
],
|
|
141
|
+
"@stylistic/no-extra-semi": [
|
|
142
|
+
"error"
|
|
143
|
+
],
|
|
144
|
+
"@stylistic/no-floating-decimal": "off",
|
|
145
|
+
"@stylistic/no-mixed-operators": "off",
|
|
146
|
+
"@stylistic/no-mixed-spaces-and-tabs": "off",
|
|
147
|
+
"@stylistic/no-multi-spaces": "error",
|
|
148
|
+
"@stylistic/no-multiple-empty-lines": "error",
|
|
149
|
+
"@stylistic/no-tabs": "off",
|
|
150
|
+
"@stylistic/no-trailing-spaces": "error",
|
|
151
|
+
"@stylistic/no-whitespace-before-property": "error",
|
|
152
|
+
"@stylistic/nonblock-statement-body-position": [
|
|
153
|
+
"error",
|
|
154
|
+
"below"
|
|
155
|
+
],
|
|
156
|
+
"@stylistic/object-curly-newline": "off",
|
|
157
|
+
"@stylistic/object-curly-spacing": [
|
|
158
|
+
"error",
|
|
159
|
+
"always"
|
|
160
|
+
],
|
|
161
|
+
"@stylistic/object-property-newline": [
|
|
162
|
+
"error",
|
|
163
|
+
{
|
|
164
|
+
"allowAllPropertiesOnSameLine": true
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"@stylistic/one-var-declaration-per-line": "off",
|
|
168
|
+
"@stylistic/operator-linebreak": "off",
|
|
169
|
+
"@stylistic/padded-blocks": [
|
|
170
|
+
"error",
|
|
171
|
+
"never"
|
|
172
|
+
],
|
|
173
|
+
"@stylistic/padding-line-between-statements": "off",
|
|
174
|
+
"@stylistic/quote-props": [
|
|
175
|
+
"error",
|
|
176
|
+
"as-needed"
|
|
177
|
+
],
|
|
178
|
+
"@stylistic/quotes": [
|
|
179
|
+
"error",
|
|
180
|
+
"single",
|
|
181
|
+
{
|
|
182
|
+
"allowTemplateLiterals": true
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"@stylistic/rest-spread-spacing": [
|
|
186
|
+
"error",
|
|
187
|
+
"never"
|
|
188
|
+
],
|
|
189
|
+
"@stylistic/semi": "error",
|
|
190
|
+
"@stylistic/semi-spacing": "error",
|
|
191
|
+
"@stylistic/semi-style": "off",
|
|
192
|
+
"@stylistic/space-before-blocks": "error",
|
|
193
|
+
"@stylistic/space-before-function-paren": [
|
|
194
|
+
"error",
|
|
195
|
+
"never"
|
|
196
|
+
],
|
|
197
|
+
"@stylistic/space-in-parens": "error",
|
|
198
|
+
"@stylistic/space-infix-ops": "error",
|
|
199
|
+
"@stylistic/space-unary-ops": "error",
|
|
200
|
+
"@stylistic/spaced-comment": "off",
|
|
201
|
+
"@stylistic/switch-colon-spacing": "error",
|
|
202
|
+
"@stylistic/template-curly-spacing": "error",
|
|
203
|
+
"@stylistic/template-tag-spacing": "error",
|
|
204
|
+
"@stylistic/type-annotation-spacing": [
|
|
205
|
+
"error",
|
|
206
|
+
{
|
|
207
|
+
"after": true,
|
|
208
|
+
"before": false,
|
|
209
|
+
"overrides": {
|
|
210
|
+
"arrow": {
|
|
211
|
+
"after": true,
|
|
212
|
+
"before": true
|
|
213
|
+
},
|
|
214
|
+
"colon": {
|
|
215
|
+
"after": true,
|
|
216
|
+
"before": false
|
|
515
217
|
}
|
|
516
218
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
"
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
"
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
"
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
"
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
"
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
"
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
"
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
"
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
"
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
"
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
"
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
"
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
"
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
"
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
"
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
"
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
"
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
"
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
"
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
"
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
"
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
"
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
"
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
"
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
"
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
"
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
"
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
"
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
"
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
"
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
"
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
"
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
"
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"@stylistic/type-generic-spacing": "error",
|
|
222
|
+
"@stylistic/type-named-tuple-spacing": "error",
|
|
223
|
+
"@stylistic/wrap-iife": "off",
|
|
224
|
+
"@stylistic/wrap-regex": "off",
|
|
225
|
+
"@stylistic/yield-star-spacing": "error",
|
|
226
|
+
"@typescript-eslint/ban-ts-comments": "off",
|
|
227
|
+
"@typescript-eslint/consistent-type-definitions": "error",
|
|
228
|
+
"@typescript-eslint/consistent-type-exports": [
|
|
229
|
+
"error",
|
|
230
|
+
{
|
|
231
|
+
"fixMixedExportsWithInlineTypeSpecifier": true
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"@typescript-eslint/consistent-type-imports": [
|
|
235
|
+
"off"
|
|
236
|
+
],
|
|
237
|
+
"@typescript-eslint/default-param-last": [
|
|
238
|
+
"error"
|
|
239
|
+
],
|
|
240
|
+
"@typescript-eslint/dot-notation": [
|
|
241
|
+
"error"
|
|
242
|
+
],
|
|
243
|
+
"@typescript-eslint/indent": [
|
|
244
|
+
"off",
|
|
245
|
+
"tab"
|
|
246
|
+
],
|
|
247
|
+
"@typescript-eslint/init-declarations": [
|
|
248
|
+
"off"
|
|
249
|
+
],
|
|
250
|
+
"@typescript-eslint/naming-convention": "off",
|
|
251
|
+
"@typescript-eslint/no-array-constructor": [
|
|
252
|
+
"error"
|
|
253
|
+
],
|
|
254
|
+
"@typescript-eslint/no-array-delete": "error",
|
|
255
|
+
"@typescript-eslint/no-deprecated": "error",
|
|
256
|
+
"@typescript-eslint/no-dupe-class-members": [
|
|
257
|
+
"error"
|
|
258
|
+
],
|
|
259
|
+
"@typescript-eslint/no-empty-function": [
|
|
260
|
+
"error"
|
|
261
|
+
],
|
|
262
|
+
"@typescript-eslint/no-empty-object-type": "off",
|
|
263
|
+
"@typescript-eslint/no-floating-promises": "error",
|
|
264
|
+
"@typescript-eslint/no-implied-eval": [
|
|
265
|
+
"error"
|
|
266
|
+
],
|
|
267
|
+
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
268
|
+
"@typescript-eslint/no-invalid-this": [
|
|
269
|
+
"error"
|
|
270
|
+
],
|
|
271
|
+
"@typescript-eslint/no-loop-func": [
|
|
272
|
+
"error"
|
|
273
|
+
],
|
|
274
|
+
"@typescript-eslint/no-loss-of-precision": [
|
|
275
|
+
"error"
|
|
276
|
+
],
|
|
277
|
+
"@typescript-eslint/no-magic-numbers": [
|
|
278
|
+
"error",
|
|
279
|
+
{
|
|
280
|
+
"enforceConst": true,
|
|
281
|
+
"ignore": [
|
|
282
|
+
0,
|
|
283
|
+
1
|
|
284
|
+
],
|
|
285
|
+
"ignoreArrayIndexes": true,
|
|
286
|
+
"ignoreClassFieldInitialValues": true,
|
|
287
|
+
"ignoreDefaultValues": true,
|
|
288
|
+
"ignoreEnums": true,
|
|
289
|
+
"ignoreNumericLiteralTypes": true,
|
|
290
|
+
"ignoreReadonlyClassProperties": true,
|
|
291
|
+
"ignoreTypeIndexes": true
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"@typescript-eslint/no-meaningless-void-operator": [
|
|
295
|
+
"error",
|
|
296
|
+
{
|
|
297
|
+
"checkNever": false
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"@typescript-eslint/no-mixed-enums": "error",
|
|
301
|
+
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
302
|
+
"@typescript-eslint/no-non-null-assertion": "error",
|
|
303
|
+
"@typescript-eslint/no-redeclare": [
|
|
304
|
+
"error"
|
|
305
|
+
],
|
|
306
|
+
"@typescript-eslint/no-redundant-type-constituents": [
|
|
307
|
+
"error"
|
|
308
|
+
],
|
|
309
|
+
"@typescript-eslint/no-restricted-imports": [
|
|
310
|
+
"off"
|
|
311
|
+
],
|
|
312
|
+
"@typescript-eslint/no-restricted-types": "error",
|
|
313
|
+
"@typescript-eslint/no-shadow": [
|
|
314
|
+
"error"
|
|
315
|
+
],
|
|
316
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
317
|
+
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
318
|
+
"@typescript-eslint/no-unsafe-declaration-merging": [
|
|
319
|
+
"error"
|
|
320
|
+
],
|
|
321
|
+
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
322
|
+
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
323
|
+
"@typescript-eslint/no-unsafe-return": "off",
|
|
324
|
+
"@typescript-eslint/no-unsafe-type-assertion": "off",
|
|
325
|
+
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
326
|
+
"@typescript-eslint/no-unused-expressions": [
|
|
327
|
+
"error"
|
|
328
|
+
],
|
|
329
|
+
"@typescript-eslint/no-unused-vars": [
|
|
330
|
+
"error",
|
|
331
|
+
{
|
|
332
|
+
"argsIgnorePattern": "^_"
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"@typescript-eslint/no-use-before-define": [
|
|
336
|
+
"error"
|
|
337
|
+
],
|
|
338
|
+
"@typescript-eslint/no-useless-constructor": [
|
|
339
|
+
"error"
|
|
340
|
+
],
|
|
341
|
+
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
342
|
+
"@typescript-eslint/parameter-properties": "off",
|
|
343
|
+
"@typescript-eslint/prefer-optional-chain": "error",
|
|
344
|
+
"@typescript-eslint/prefer-promise-reject-errors": "off",
|
|
345
|
+
"@typescript-eslint/prefer-readonly": "off",
|
|
346
|
+
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
347
|
+
"@typescript-eslint/related-getter-setter-pairs": "error",
|
|
348
|
+
"@typescript-eslint/require-await": [
|
|
349
|
+
"error"
|
|
350
|
+
],
|
|
351
|
+
"@typescript-eslint/restrict-plus-operands": "error",
|
|
352
|
+
"@typescript-eslint/return-await": [
|
|
353
|
+
"error"
|
|
354
|
+
],
|
|
355
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
|
|
356
|
+
"array-callback-return": "error",
|
|
357
|
+
"arrow-body-style": "off",
|
|
358
|
+
"block-scoped-var": "error",
|
|
359
|
+
"camelcase": "warn",
|
|
360
|
+
"capitalized-comments": "off",
|
|
361
|
+
"class-methods-use-this": "off",
|
|
362
|
+
"complexity": "error",
|
|
363
|
+
"consistent-return": "error",
|
|
364
|
+
"consistent-this": "error",
|
|
365
|
+
"constructor-super": "error",
|
|
366
|
+
"curly": "error",
|
|
367
|
+
"default-case": "warn",
|
|
368
|
+
"default-case-last": "error",
|
|
369
|
+
"default-param-last": "off",
|
|
370
|
+
"dot-notation": "off",
|
|
371
|
+
"eqeqeq": "error",
|
|
372
|
+
"for-direction": "error",
|
|
373
|
+
"func-name-matching": "off",
|
|
374
|
+
"func-names": "error",
|
|
375
|
+
"func-style": "error",
|
|
376
|
+
"function-call-argument-newline": "off",
|
|
377
|
+
"getter-return": "error",
|
|
378
|
+
"grouped-accessor-pairs": "warn",
|
|
379
|
+
"guard-for-in": "warn",
|
|
380
|
+
"id-denylist": "off",
|
|
381
|
+
"id-length": [
|
|
382
|
+
"error",
|
|
383
|
+
{
|
|
384
|
+
"max": 50,
|
|
385
|
+
"min": 1
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"id-match": "off",
|
|
389
|
+
"import/consistent-type-specifier-style": [
|
|
390
|
+
"off"
|
|
391
|
+
],
|
|
392
|
+
"import/default": [
|
|
393
|
+
"error"
|
|
394
|
+
],
|
|
395
|
+
"import/dynamic-import-chunkname": [
|
|
396
|
+
"off"
|
|
397
|
+
],
|
|
398
|
+
"import/export": [
|
|
399
|
+
"error"
|
|
400
|
+
],
|
|
401
|
+
"import/exports-last": [
|
|
402
|
+
"off"
|
|
403
|
+
],
|
|
404
|
+
"import/extensions": [
|
|
405
|
+
"off",
|
|
406
|
+
"never"
|
|
407
|
+
],
|
|
408
|
+
"import/first": [
|
|
409
|
+
"error"
|
|
410
|
+
],
|
|
411
|
+
"import/max-dependencies": [
|
|
412
|
+
"error",
|
|
413
|
+
{
|
|
414
|
+
"ignoreTypeImports": false,
|
|
415
|
+
"max": 20
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"import/named": [
|
|
419
|
+
"off"
|
|
420
|
+
],
|
|
421
|
+
"import/namespace": [
|
|
422
|
+
"error"
|
|
423
|
+
],
|
|
424
|
+
"import/newline-after-import": [
|
|
425
|
+
"error"
|
|
426
|
+
],
|
|
427
|
+
"import/no-absolute-path": [
|
|
428
|
+
"off"
|
|
429
|
+
],
|
|
430
|
+
"import/no-amd": [
|
|
431
|
+
"error"
|
|
432
|
+
],
|
|
433
|
+
"import/no-anonymous-default-export": [
|
|
434
|
+
"error"
|
|
435
|
+
],
|
|
436
|
+
"import/no-commonjs": [
|
|
437
|
+
"error"
|
|
438
|
+
],
|
|
439
|
+
"import/no-cycle": [
|
|
440
|
+
"error"
|
|
441
|
+
],
|
|
442
|
+
"import/no-default-export": [
|
|
443
|
+
"off"
|
|
444
|
+
],
|
|
445
|
+
"import/no-deprecated": [
|
|
446
|
+
"error"
|
|
447
|
+
],
|
|
448
|
+
"import/no-duplicates": [
|
|
449
|
+
"error"
|
|
450
|
+
],
|
|
451
|
+
"import/no-dynamic-require": [
|
|
452
|
+
"off"
|
|
453
|
+
],
|
|
454
|
+
"import/no-empty-named-blocks": [
|
|
455
|
+
"error"
|
|
456
|
+
],
|
|
457
|
+
"import/no-extraneous-dependencies": [
|
|
458
|
+
"error"
|
|
459
|
+
],
|
|
460
|
+
"import/no-import-module-exports": [
|
|
461
|
+
"error"
|
|
462
|
+
],
|
|
463
|
+
"import/no-internal-modules": [
|
|
464
|
+
"off"
|
|
465
|
+
],
|
|
466
|
+
"import/no-mutable-exports": [
|
|
467
|
+
"error"
|
|
468
|
+
],
|
|
469
|
+
"import/no-named-as-default": [
|
|
470
|
+
"error"
|
|
471
|
+
],
|
|
472
|
+
"import/no-named-as-default-member": [
|
|
473
|
+
"error"
|
|
474
|
+
],
|
|
475
|
+
"import/no-named-default": [
|
|
476
|
+
"error"
|
|
477
|
+
],
|
|
478
|
+
"import/no-named-export": [
|
|
479
|
+
"off"
|
|
480
|
+
],
|
|
481
|
+
"import/no-namespace": [
|
|
482
|
+
"off"
|
|
483
|
+
],
|
|
484
|
+
"import/no-nodejs-modules": [
|
|
485
|
+
"off"
|
|
486
|
+
],
|
|
487
|
+
"import/no-relative-packages": [
|
|
488
|
+
"off"
|
|
489
|
+
],
|
|
490
|
+
"import/no-relative-parent-imports": [
|
|
491
|
+
"off"
|
|
492
|
+
],
|
|
493
|
+
"import/no-restricted-paths": [
|
|
494
|
+
"off"
|
|
495
|
+
],
|
|
496
|
+
"import/no-self-import": [
|
|
497
|
+
"error"
|
|
498
|
+
],
|
|
499
|
+
"import/no-unassigned-import": [
|
|
500
|
+
"off"
|
|
501
|
+
],
|
|
502
|
+
"import/no-unresolved": [
|
|
503
|
+
"off"
|
|
504
|
+
],
|
|
505
|
+
"import/no-unused-modules": [
|
|
506
|
+
"off"
|
|
507
|
+
],
|
|
508
|
+
"import/no-useless-path-segments": [
|
|
509
|
+
"error"
|
|
510
|
+
],
|
|
511
|
+
"import/no-webpack-loader-syntax": [
|
|
512
|
+
"error"
|
|
513
|
+
],
|
|
514
|
+
"import/order": [
|
|
515
|
+
"error",
|
|
516
|
+
{
|
|
517
|
+
"alphabetize": {
|
|
518
|
+
"caseInsensitive": true,
|
|
519
|
+
"order": "asc"
|
|
802
520
|
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
"
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"import/prefer-default-export": [
|
|
524
|
+
"off"
|
|
525
|
+
],
|
|
526
|
+
"import/unambiguous": [
|
|
527
|
+
"error"
|
|
528
|
+
],
|
|
529
|
+
"init-declarations": "off",
|
|
530
|
+
"max-classes-per-file": [
|
|
531
|
+
"error",
|
|
532
|
+
1
|
|
533
|
+
],
|
|
534
|
+
"max-depth": [
|
|
535
|
+
"error",
|
|
536
|
+
3
|
|
537
|
+
],
|
|
538
|
+
"max-lines": [
|
|
539
|
+
"error",
|
|
540
|
+
150
|
|
541
|
+
],
|
|
542
|
+
"max-lines-per-function": [
|
|
543
|
+
"error",
|
|
544
|
+
40
|
|
545
|
+
],
|
|
546
|
+
"max-nested-callbacks": [
|
|
547
|
+
"error",
|
|
548
|
+
3
|
|
549
|
+
],
|
|
550
|
+
"max-params": [
|
|
551
|
+
"error",
|
|
552
|
+
8
|
|
553
|
+
],
|
|
554
|
+
"max-statements": [
|
|
555
|
+
"error",
|
|
556
|
+
20
|
|
557
|
+
],
|
|
558
|
+
"new-cap": "off",
|
|
559
|
+
"no-alert": "error",
|
|
560
|
+
"no-array-constructor": "off",
|
|
561
|
+
"no-async-promise-executor": "error",
|
|
562
|
+
"no-await-in-loop": "error",
|
|
563
|
+
"no-bitwise": "error",
|
|
564
|
+
"no-caller": "error",
|
|
565
|
+
"no-case-declarations": "error",
|
|
566
|
+
"no-class-assign": "error",
|
|
567
|
+
"no-compare-neg-zero": "error",
|
|
568
|
+
"no-cond-assign": "error",
|
|
569
|
+
"no-console": "error",
|
|
570
|
+
"no-const-assign": "error",
|
|
571
|
+
"no-constant-condition": "error",
|
|
572
|
+
"no-constructor-return": "error",
|
|
573
|
+
"no-continue": "off",
|
|
574
|
+
"no-control-regex": "error",
|
|
575
|
+
"no-debugger": "error",
|
|
576
|
+
"no-delete-var": "error",
|
|
577
|
+
"no-div-regex": "error",
|
|
578
|
+
"no-dupe-args": "error",
|
|
579
|
+
"no-dupe-class-members": "off",
|
|
580
|
+
"no-dupe-else-if": "error",
|
|
581
|
+
"no-dupe-keys": "error",
|
|
582
|
+
"no-duplicate-case": "error",
|
|
583
|
+
"no-else-return": "error",
|
|
584
|
+
"no-empty": "off",
|
|
585
|
+
"no-empty-character-class": "error",
|
|
586
|
+
"no-empty-function": "off",
|
|
587
|
+
"no-empty-pattern": "warn",
|
|
588
|
+
"no-empty-static-block": "off",
|
|
589
|
+
"no-eq-null": "error",
|
|
590
|
+
"no-eval": "error",
|
|
591
|
+
"no-ex-assign": "error",
|
|
592
|
+
"no-extend-native": "error",
|
|
593
|
+
"no-extra-bind": "error",
|
|
594
|
+
"no-extra-boolean-cast": [
|
|
595
|
+
"error",
|
|
596
|
+
{
|
|
597
|
+
"enforceForInnerExpressions": true
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"no-extra-label": "error",
|
|
601
|
+
"no-fallthrough": "error",
|
|
602
|
+
"no-func-assign": "error",
|
|
603
|
+
"no-global-assign": "error",
|
|
604
|
+
"no-implicit-coercion": "off",
|
|
605
|
+
"no-implicit-globals": "error",
|
|
606
|
+
"no-implied-eval": "off",
|
|
607
|
+
"no-import-assign": "error",
|
|
608
|
+
"no-inner-declarations": "error",
|
|
609
|
+
"no-invalid-regexp": "error",
|
|
610
|
+
"no-invalid-this": "off",
|
|
611
|
+
"no-irregular-whitespace": "error",
|
|
612
|
+
"no-iterator": "error",
|
|
613
|
+
"no-label-var": "error",
|
|
614
|
+
"no-labels": "error",
|
|
615
|
+
"no-lone-blocks": "error",
|
|
616
|
+
"no-lonely-if": "error",
|
|
617
|
+
"no-loop-func": "off",
|
|
618
|
+
"no-loss-of-precision": "off",
|
|
619
|
+
"no-magic-numbers": "off",
|
|
620
|
+
"no-misleading-character-class": "error",
|
|
621
|
+
"no-multi-assign": "error",
|
|
622
|
+
"no-multi-str": "warn",
|
|
623
|
+
"no-negated-condition": "error",
|
|
624
|
+
"no-nested-ternary": "off",
|
|
625
|
+
"no-new": "off",
|
|
626
|
+
"no-new-func": "error",
|
|
627
|
+
"no-new-native-nonconstructor": "error",
|
|
628
|
+
"no-new-wrappers": "error",
|
|
629
|
+
"no-nonoctal-decimal-escape": "error",
|
|
630
|
+
"no-obj-calls": "error",
|
|
631
|
+
"no-object-constructor": "error",
|
|
632
|
+
"no-octal": "error",
|
|
633
|
+
"no-octal-escape": "error",
|
|
634
|
+
"no-param-reassign": "error",
|
|
635
|
+
"no-plusplus": "off",
|
|
636
|
+
"no-promise-executor-return": "error",
|
|
637
|
+
"no-proto": "error",
|
|
638
|
+
"no-prototype-builtins": "error",
|
|
639
|
+
"no-redeclare": "off",
|
|
640
|
+
"no-regex-spaces": "error",
|
|
641
|
+
"no-restricted-exports": "off",
|
|
642
|
+
"no-restricted-globals": "off",
|
|
643
|
+
"no-restricted-imports": "off",
|
|
644
|
+
"no-restricted-properties": "off",
|
|
645
|
+
"no-restricted-syntax": "off",
|
|
646
|
+
"no-return-assign": "off",
|
|
647
|
+
"no-return-await": "off",
|
|
648
|
+
"no-script-url": "error",
|
|
649
|
+
"no-secrets/no-secrets": [
|
|
650
|
+
"error",
|
|
651
|
+
{
|
|
652
|
+
"ignoreContent": [
|
|
653
|
+
"__zone_symbol__UNPATCHED_EVENTS"
|
|
654
|
+
]
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"no-self-assign": "error",
|
|
658
|
+
"no-self-compare": "error",
|
|
659
|
+
"no-sequences": "error",
|
|
660
|
+
"no-setter-return": "error",
|
|
661
|
+
"no-shadow": "off",
|
|
662
|
+
"no-shadow-restricted-names": "error",
|
|
663
|
+
"no-sparse-arrays": "error",
|
|
664
|
+
"no-template-curly-in-string": "error",
|
|
665
|
+
"no-ternary": "off",
|
|
666
|
+
"no-this-before-super": "error",
|
|
667
|
+
"no-throw-literal": "off",
|
|
668
|
+
"no-undef": "off",
|
|
669
|
+
"no-undef-init": "error",
|
|
670
|
+
"no-undefined": "off",
|
|
671
|
+
"no-underscore-dangle": "off",
|
|
672
|
+
"no-unexpected-multiline": "error",
|
|
673
|
+
"no-unmodified-loop-condition": "error",
|
|
674
|
+
"no-unneeded-ternary": "error",
|
|
675
|
+
"no-unreachable": "error",
|
|
676
|
+
"no-unreachable-loop": "error",
|
|
677
|
+
"no-unsafe-finally": "error",
|
|
678
|
+
"no-unsafe-negation": "error",
|
|
679
|
+
"no-unsafe-optional-chaining": "error",
|
|
680
|
+
"no-unsanitized/method": "error",
|
|
681
|
+
"no-unsanitized/property": "error",
|
|
682
|
+
"no-unused-expressions": "off",
|
|
683
|
+
"no-unused-labels": "error",
|
|
684
|
+
"no-unused-private-class-members": "error",
|
|
685
|
+
"no-unused-vars": "off",
|
|
686
|
+
"no-use-before-define": "off",
|
|
687
|
+
"no-useless-assignment": "error",
|
|
688
|
+
"no-useless-backreference": "error",
|
|
689
|
+
"no-useless-call": "error",
|
|
690
|
+
"no-useless-catch": "error",
|
|
691
|
+
"no-useless-computed-key": "error",
|
|
692
|
+
"no-useless-concat": "error",
|
|
693
|
+
"no-useless-constructor": "off",
|
|
694
|
+
"no-useless-empty-export": "off",
|
|
695
|
+
"no-useless-escape": "error",
|
|
696
|
+
"no-useless-rename": "error",
|
|
697
|
+
"no-useless-return": "error",
|
|
698
|
+
"no-var": "error",
|
|
699
|
+
"no-void": "error",
|
|
700
|
+
"no-warning-comments": "warn",
|
|
701
|
+
"no-with": "error",
|
|
702
|
+
"object-shorthand": "error",
|
|
703
|
+
"one-var": "off",
|
|
704
|
+
"operator-assignment": "error",
|
|
705
|
+
"prefer-arrow-callback": "error",
|
|
706
|
+
"prefer-arrow-functions/prefer-arrow-functions": [
|
|
707
|
+
"warn",
|
|
708
|
+
{
|
|
709
|
+
"allowNamedFunctions": false,
|
|
710
|
+
"classPropertiesAllowed": true,
|
|
711
|
+
"disallowPrototype": true,
|
|
712
|
+
"returnStyle": "implicit",
|
|
713
|
+
"singleReturnOnly": false
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"prefer-const": "error",
|
|
717
|
+
"prefer-destructuring": "off",
|
|
718
|
+
"prefer-exponentiation-operator": "off",
|
|
719
|
+
"prefer-named-capture-group": "off",
|
|
720
|
+
"prefer-numeric-literals": "warn",
|
|
721
|
+
"prefer-object-has-own": "off",
|
|
722
|
+
"prefer-object-spread": "off",
|
|
723
|
+
"prefer-promise-reject-errors": "off",
|
|
724
|
+
"prefer-regex-literals": "off",
|
|
725
|
+
"prefer-rest-params": "error",
|
|
726
|
+
"prefer-spread": "error",
|
|
727
|
+
"prefer-template": "error",
|
|
728
|
+
"promise/always-return": "off",
|
|
729
|
+
"promise/avoid-new": "warn",
|
|
730
|
+
"promise/catch-or-return": [
|
|
731
|
+
"error",
|
|
732
|
+
{
|
|
733
|
+
"allowThen": true,
|
|
734
|
+
"terminationMethod": [
|
|
735
|
+
"catch",
|
|
736
|
+
"finally"
|
|
737
|
+
]
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"promise/no-callback-in-promise": "off",
|
|
741
|
+
"promise/no-multiple-resolved": "error",
|
|
742
|
+
"promise/no-native": "off",
|
|
743
|
+
"promise/no-nesting": "off",
|
|
744
|
+
"promise/no-new-statics": "error",
|
|
745
|
+
"promise/no-promise-in-callback": "off",
|
|
746
|
+
"promise/no-return-in-finally": "warn",
|
|
747
|
+
"promise/no-return-wrap": [
|
|
748
|
+
"error",
|
|
749
|
+
{
|
|
750
|
+
"allowReject": true
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"promise/param-names": "error",
|
|
754
|
+
"promise/prefer-catch": "warn",
|
|
755
|
+
"promise/valid-params": "warn",
|
|
756
|
+
"radix": "error",
|
|
757
|
+
"require-atomic-updates": "error",
|
|
758
|
+
"require-await": "off",
|
|
759
|
+
"require-unicode-regexp": "warn",
|
|
760
|
+
"require-yield": "error",
|
|
761
|
+
"sort-imports": "off",
|
|
762
|
+
"sort-keys": "off",
|
|
763
|
+
"sort-vars": "off",
|
|
764
|
+
"strict": "off",
|
|
765
|
+
"symbol-description": "error",
|
|
766
|
+
"unicode-bom": "off",
|
|
767
|
+
"unused-imports/no-unused-imports": "error",
|
|
768
|
+
"unused-imports/no-unused-vars": [
|
|
769
|
+
"warn",
|
|
770
|
+
{
|
|
771
|
+
"args": "after-used",
|
|
772
|
+
"argsIgnorePattern": "^_",
|
|
773
|
+
"vars": "all",
|
|
774
|
+
"varsIgnorePattern": "^_"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"use-isnan": "error",
|
|
778
|
+
"valid-typeof": "error",
|
|
779
|
+
"vars-on-top": "off",
|
|
780
|
+
"yoda": "warn"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"files": ["*.html"],
|
|
785
|
+
"extends": [
|
|
786
|
+
...angular.configs.templateRecommended,
|
|
787
|
+
...angular.configs.templateAccessibility,
|
|
788
|
+
],
|
|
789
|
+
rules: {
|
|
790
|
+
"@angular-eslint/template/no-negated-async": "off"
|
|
812
791
|
}
|
|
813
|
-
|
|
814
|
-
|
|
792
|
+
}
|
|
793
|
+
);
|