1 | {
|
2 | "env": {
|
3 | "browser": true,
|
4 | "es6": true,
|
5 | "node": true
|
6 | },
|
7 | "globals": {
|
8 | "Atomics": "readonly",
|
9 | "SharedArrayBuffer": "readonly"
|
10 | },
|
11 | "ignorePatterns": [],
|
12 | "parserOptions": {
|
13 | "ecmaFeatures": {
|
14 | "jsx": true
|
15 | },
|
16 | "ecmaVersion": "latest",
|
17 | "project": "./tsconfig.json",
|
18 | "sourceType": "module"
|
19 | },
|
20 | "plugins": [
|
21 | "eslint-comments",
|
22 | "import",
|
23 | "react",
|
24 | "unused-imports",
|
25 | "promise",
|
26 | "jsdoc",
|
27 | "@typescript-eslint",
|
28 | "@rushstack/security",
|
29 | "@rushstack",
|
30 | "unicorn",
|
31 | "tsdoc",
|
32 | "editorconfig"
|
33 | ],
|
34 | "reportUnusedDisableDirectives": true,
|
35 | "rules": {
|
36 | "@rushstack/no-new-null": [
|
37 | "error"
|
38 | ],
|
39 | "@rushstack/typedef-var": [
|
40 | "off"
|
41 | ],
|
42 | "@typescript-eslint/adjacent-overload-signatures": [
|
43 | "error"
|
44 | ],
|
45 | "@typescript-eslint/array-type": [
|
46 | "error"
|
47 | ],
|
48 | "@typescript-eslint/await-thenable": [
|
49 | "error"
|
50 | ],
|
51 | "@typescript-eslint/ban-ts-comment": [
|
52 | "error"
|
53 | ],
|
54 | "@typescript-eslint/ban-types": [
|
55 | "error"
|
56 | ],
|
57 | "@typescript-eslint/brace-style": [
|
58 | "error",
|
59 | "1tbs",
|
60 | {
|
61 | "allowSingleLine": true
|
62 | }
|
63 | ],
|
64 | "@typescript-eslint/comma-dangle": [
|
65 | "error",
|
66 | "always-multiline"
|
67 | ],
|
68 | "@typescript-eslint/comma-spacing": [
|
69 | "error"
|
70 | ],
|
71 | "@typescript-eslint/consistent-type-assertions": [
|
72 | "error",
|
73 | {
|
74 | "assertionStyle": "as",
|
75 | "objectLiteralTypeAssertions": "never"
|
76 | }
|
77 | ],
|
78 | "@typescript-eslint/consistent-type-definitions": [
|
79 | "error"
|
80 | ],
|
81 | "@typescript-eslint/dot-notation": [
|
82 | "error"
|
83 | ],
|
84 | "@typescript-eslint/eol-last": [
|
85 | "off"
|
86 | ],
|
87 | "@typescript-eslint/explicit-function-return-type": [
|
88 | "error",
|
89 | {
|
90 | "allowConciseArrowFunctionExpressionsStartingWithVoid": false,
|
91 | "allowDirectConstAssertionInArrowFunctions": true,
|
92 | "allowExpressions": false,
|
93 | "allowHigherOrderFunctions": true,
|
94 | "allowTypedFunctionExpressions": true
|
95 | }
|
96 | ],
|
97 | "@typescript-eslint/explicit-member-accessibility": [
|
98 | "error",
|
99 | {
|
100 | "accessibility": "explicit",
|
101 | "overrides": {
|
102 | "accessors": "explicit",
|
103 | "constructors": "no-public",
|
104 | "methods": "explicit",
|
105 | "parameterProperties": "explicit",
|
106 | "properties": "explicit"
|
107 | }
|
108 | }
|
109 | ],
|
110 | "@typescript-eslint/explicit-module-boundary-types": [
|
111 | "error"
|
112 | ],
|
113 | "@typescript-eslint/func-call-spacing": [
|
114 | "error"
|
115 | ],
|
116 | "@typescript-eslint/indent": [
|
117 | "off"
|
118 | ],
|
119 | "@typescript-eslint/interface-name-prefix": [
|
120 | "off"
|
121 | ],
|
122 | "@typescript-eslint/keyword-spacing": [
|
123 | "error"
|
124 | ],
|
125 | "@typescript-eslint/linebreak-style": [
|
126 | "off"
|
127 | ],
|
128 | "@typescript-eslint/member-delimiter-style": [
|
129 | "error",
|
130 | {
|
131 | "multiline": {
|
132 | "delimiter": "semi",
|
133 | "requireLast": true
|
134 | },
|
135 | "multilineDetection": "brackets",
|
136 | "singleline": {
|
137 | "delimiter": "semi",
|
138 | "requireLast": true
|
139 | }
|
140 | }
|
141 | ],
|
142 | "@typescript-eslint/member-ordering": [
|
143 | "off"
|
144 | ],
|
145 | "@typescript-eslint/naming-convention": [
|
146 | "error",
|
147 | {
|
148 | "format": [
|
149 | "camelCase"
|
150 | ],
|
151 | "leadingUnderscore": "allow",
|
152 | "modifiers": [
|
153 | "private"
|
154 | ],
|
155 | "selector": "accessor"
|
156 | }
|
157 | ],
|
158 | "@typescript-eslint/no-array-constructor": [
|
159 | "error"
|
160 | ],
|
161 | "@typescript-eslint/no-duplicate-imports": [
|
162 | "error"
|
163 | ],
|
164 | "@typescript-eslint/no-dynamic-delete": [
|
165 | "error"
|
166 | ],
|
167 | "@typescript-eslint/no-empty-function": [
|
168 | "off"
|
169 | ],
|
170 | "@typescript-eslint/no-empty-interface": [
|
171 | "error"
|
172 | ],
|
173 | "@typescript-eslint/no-explicit-any": [
|
174 | "error"
|
175 | ],
|
176 | "@typescript-eslint/no-extra-non-null-assertion": [
|
177 | "error"
|
178 | ],
|
179 | "@typescript-eslint/no-extra-semi": [
|
180 | "error"
|
181 | ],
|
182 | "@typescript-eslint/no-extraneous-class": [
|
183 | "error"
|
184 | ],
|
185 | "@typescript-eslint/no-floating-promises": [
|
186 | "error"
|
187 | ],
|
188 | "@typescript-eslint/no-for-in-array": [
|
189 | "error"
|
190 | ],
|
191 | "@typescript-eslint/no-implied-eval": [
|
192 | "error"
|
193 | ],
|
194 | "@typescript-eslint/no-inferrable-types": [
|
195 | "off"
|
196 | ],
|
197 | "@typescript-eslint/no-invalid-this": [
|
198 | "off"
|
199 | ],
|
200 | "@typescript-eslint/no-loss-of-precision": [
|
201 | "error"
|
202 | ],
|
203 | "@typescript-eslint/no-magic-numbers": [
|
204 | "off"
|
205 | ],
|
206 | "@typescript-eslint/no-misused-new": [
|
207 | "error"
|
208 | ],
|
209 | "@typescript-eslint/no-misused-promises": [
|
210 | "error"
|
211 | ],
|
212 | "@typescript-eslint/no-namespace": [
|
213 | "error"
|
214 | ],
|
215 | "@typescript-eslint/no-non-null-asserted-optional-chain": [
|
216 | "error"
|
217 | ],
|
218 | "@typescript-eslint/no-non-null-assertion": [
|
219 | "error"
|
220 | ],
|
221 | "@typescript-eslint/no-parameter-properties": [
|
222 | "warn",
|
223 | {
|
224 | "allows": [
|
225 | "private",
|
226 | "private readonly",
|
227 | "public readonly",
|
228 | "readonly"
|
229 | ]
|
230 | }
|
231 | ],
|
232 | "@typescript-eslint/no-require-imports": [
|
233 | "error"
|
234 | ],
|
235 | "@typescript-eslint/no-shadow": [
|
236 | "error",
|
237 | {
|
238 | "hoist": "all",
|
239 | "ignoreTypeValueShadow": true
|
240 | }
|
241 | ],
|
242 | "@typescript-eslint/no-this-alias": [
|
243 | "error"
|
244 | ],
|
245 | "@typescript-eslint/no-throw-literal": [
|
246 | "error"
|
247 | ],
|
248 | "@typescript-eslint/no-trailing-spaces": [
|
249 | "off"
|
250 | ],
|
251 | "@typescript-eslint/no-unnecessary-qualifier": [
|
252 | "error"
|
253 | ],
|
254 | "@typescript-eslint/no-unnecessary-type-arguments": [
|
255 | "error"
|
256 | ],
|
257 | "@typescript-eslint/no-unnecessary-type-assertion": [
|
258 | "error"
|
259 | ],
|
260 | "@typescript-eslint/no-unnecessary-type-constraint": [
|
261 | "error"
|
262 | ],
|
263 | "@typescript-eslint/no-unsafe-argument": [
|
264 | "error"
|
265 | ],
|
266 | "@typescript-eslint/no-unsafe-assignment": [
|
267 | "error"
|
268 | ],
|
269 | "@typescript-eslint/no-unsafe-call": [
|
270 | "error"
|
271 | ],
|
272 | "@typescript-eslint/no-unsafe-member-access": [
|
273 | "error"
|
274 | ],
|
275 | "@typescript-eslint/no-unsafe-return": [
|
276 | "error"
|
277 | ],
|
278 | "@typescript-eslint/no-unused-expressions": [
|
279 | "error"
|
280 | ],
|
281 | "@typescript-eslint/no-unused-vars": [
|
282 | "off"
|
283 | ],
|
284 | "@typescript-eslint/no-use-before-declare": [
|
285 | "off"
|
286 | ],
|
287 | "@typescript-eslint/no-use-before-define": [
|
288 | "off"
|
289 | ],
|
290 | "@typescript-eslint/no-var-requires": [
|
291 | "error"
|
292 | ],
|
293 | "@typescript-eslint/object-curly-spacing": [
|
294 | "error",
|
295 | "always"
|
296 | ],
|
297 | "@typescript-eslint/prefer-as-const": [
|
298 | "error"
|
299 | ],
|
300 | "@typescript-eslint/prefer-for-of": [
|
301 | "error"
|
302 | ],
|
303 | "@typescript-eslint/prefer-function-type": [
|
304 | "error"
|
305 | ],
|
306 | "@typescript-eslint/prefer-includes": [
|
307 | "error"
|
308 | ],
|
309 | "@typescript-eslint/prefer-namespace-keyword": [
|
310 | "error"
|
311 | ],
|
312 | "@typescript-eslint/prefer-nullish-coalescing": [
|
313 | "error"
|
314 | ],
|
315 | "@typescript-eslint/prefer-optional-chain": [
|
316 | "error"
|
317 | ],
|
318 | "@typescript-eslint/prefer-readonly": [
|
319 | "error"
|
320 | ],
|
321 | "@typescript-eslint/promise-function-async": [
|
322 | "error"
|
323 | ],
|
324 | "@typescript-eslint/quotes": [
|
325 | "error",
|
326 | "double",
|
327 | {
|
328 | "allowTemplateLiterals": true,
|
329 | "avoidEscape": true
|
330 | }
|
331 | ],
|
332 | "@typescript-eslint/require-await": [
|
333 | "off"
|
334 | ],
|
335 | "@typescript-eslint/restrict-plus-operands": [
|
336 | "error"
|
337 | ],
|
338 | "@typescript-eslint/restrict-template-expressions": [
|
339 | "off"
|
340 | ],
|
341 | "@typescript-eslint/semi": [
|
342 | "error",
|
343 | "always"
|
344 | ],
|
345 | "@typescript-eslint/space-before-function-paren": [
|
346 | "error",
|
347 | {
|
348 | "anonymous": "never",
|
349 | "asyncArrow": "always",
|
350 | "named": "never"
|
351 | }
|
352 | ],
|
353 | "@typescript-eslint/space-infix-ops": [
|
354 | "error"
|
355 | ],
|
356 | "@typescript-eslint/strict-boolean-expressions": [
|
357 | "error"
|
358 | ],
|
359 | "@typescript-eslint/triple-slash-reference": [
|
360 | "error"
|
361 | ],
|
362 | "@typescript-eslint/type-annotation-spacing": [
|
363 | "error"
|
364 | ],
|
365 | "@typescript-eslint/typedef": [
|
366 | "off"
|
367 | ],
|
368 | "@typescript-eslint/unbound-method": [
|
369 | "error",
|
370 | {
|
371 | "ignoreStatic": true
|
372 | }
|
373 | ],
|
374 | "@typescript-eslint/unicode-bom": [
|
375 | "off"
|
376 | ],
|
377 | "@typescript-eslint/unified-signatures": [
|
378 | "error"
|
379 | ],
|
380 | "array-bracket-spacing": [
|
381 | "error"
|
382 | ],
|
383 | "arrow-body-style": [
|
384 | "off"
|
385 | ],
|
386 | "arrow-parens": [
|
387 | "error",
|
388 | "always"
|
389 | ],
|
390 | "arrow-spacing": [
|
391 | "error"
|
392 | ],
|
393 | "block-spacing": [
|
394 | "error"
|
395 | ],
|
396 | "brace-style": [
|
397 | "off"
|
398 | ],
|
399 | "camelcase": [
|
400 | "off"
|
401 | ],
|
402 | "capitalized-comments": [
|
403 | "off"
|
404 | ],
|
405 | "comma-dangle": [
|
406 | "off"
|
407 | ],
|
408 | "comma-spacing": [
|
409 | "off"
|
410 | ],
|
411 | "complexity": [
|
412 | "off"
|
413 | ],
|
414 | "constructor-super": [
|
415 | "error"
|
416 | ],
|
417 | "curly": [
|
418 | "error"
|
419 | ],
|
420 | "default-case": [
|
421 | "error"
|
422 | ],
|
423 | "dot-location": [
|
424 | "error",
|
425 | "property"
|
426 | ],
|
427 | "dot-notation": [
|
428 | "off"
|
429 | ],
|
430 | "editorconfig/charset": [
|
431 | "error"
|
432 | ],
|
433 | "editorconfig/eol-last": [
|
434 | "error"
|
435 | ],
|
436 | "editorconfig/indent": [
|
437 | "off"
|
438 | ],
|
439 | "editorconfig/linebreak-style": [
|
440 | "error"
|
441 | ],
|
442 | "editorconfig/no-trailing-spaces": [
|
443 | "error"
|
444 | ],
|
445 | "eol-last": [
|
446 | "off"
|
447 | ],
|
448 | "eqeqeq": [
|
449 | "error",
|
450 | "smart"
|
451 | ],
|
452 | "eslint-comments/disable-enable-pair": [
|
453 | "error",
|
454 | {
|
455 | "allowWholeFile": true
|
456 | }
|
457 | ],
|
458 | "eslint-comments/no-aggregating-enable": [
|
459 | "error"
|
460 | ],
|
461 | "eslint-comments/no-duplicate-disable": [
|
462 | "error"
|
463 | ],
|
464 | "eslint-comments/no-unlimited-disable": [
|
465 | "error"
|
466 | ],
|
467 | "eslint-comments/no-unused-enable": [
|
468 | "error"
|
469 | ],
|
470 | "for-direction": [
|
471 | "error"
|
472 | ],
|
473 | "func-call-spacing": [
|
474 | "off"
|
475 | ],
|
476 | "getter-return": [
|
477 | "off"
|
478 | ],
|
479 | "guard-for-in": [
|
480 | "error"
|
481 | ],
|
482 | "id-match": [
|
483 | "error"
|
484 | ],
|
485 | "import/default": [
|
486 | 2
|
487 | ],
|
488 | "import/export": [
|
489 | 2
|
490 | ],
|
491 | "import/named": [
|
492 | "off"
|
493 | ],
|
494 | "import/namespace": [
|
495 | 2
|
496 | ],
|
497 | "import/no-default-export": [
|
498 | "error"
|
499 | ],
|
500 | "import/no-deprecated": [
|
501 | "off"
|
502 | ],
|
503 | "import/no-duplicates": [
|
504 | 1
|
505 | ],
|
506 | "import/no-extraneous-dependencies": [
|
507 | "error",
|
508 | {
|
509 | "devDependencies": [
|
510 | "**/*.spec.ts",
|
511 | "src/test/**"
|
512 | ]
|
513 | }
|
514 | ],
|
515 | "import/no-internal-modules": [
|
516 | "error"
|
517 | ],
|
518 | "import/no-named-as-default": [
|
519 | 1
|
520 | ],
|
521 | "import/no-named-as-default-member": [
|
522 | 1
|
523 | ],
|
524 | "import/no-unassigned-import": [
|
525 | "error"
|
526 | ],
|
527 | "import/no-unresolved": [
|
528 | 2,
|
529 | {
|
530 | "caseSensitive": true,
|
531 | "caseSensitiveStrict": false
|
532 | }
|
533 | ],
|
534 | "import/no-unused-modules": [
|
535 | "error"
|
536 | ],
|
537 | "import/order": [
|
538 | "error"
|
539 | ],
|
540 | "indent": [
|
541 | "off"
|
542 | ],
|
543 | "jsdoc/check-access": [
|
544 | "error"
|
545 | ],
|
546 | "jsdoc/check-examples": [
|
547 | "off"
|
548 | ],
|
549 | "jsdoc/check-indentation": [
|
550 | "error"
|
551 | ],
|
552 | "jsdoc/check-line-alignment": [
|
553 | "error"
|
554 | ],
|
555 | "jsdoc/check-tag-names": [
|
556 | "off"
|
557 | ],
|
558 | "jsdoc/empty-tags": [
|
559 | "error"
|
560 | ],
|
561 | "jsdoc/multiline-blocks": [
|
562 | "error",
|
563 | {
|
564 | "noSingleLineBlocks": true
|
565 | }
|
566 | ],
|
567 | "jsdoc/no-bad-blocks": [
|
568 | "error"
|
569 | ],
|
570 | "jsdoc/require-asterisk-prefix": [
|
571 | "error"
|
572 | ],
|
573 | "jsdoc/require-description": [
|
574 | "error"
|
575 | ],
|
576 | "jsdoc/require-hyphen-before-param-description": [
|
577 | "error"
|
578 | ],
|
579 | "jsdoc/require-param-description": [
|
580 | "error"
|
581 | ],
|
582 | "jsdoc/require-returns-description": [
|
583 | "error"
|
584 | ],
|
585 | "jsx-quotes": [
|
586 | "error"
|
587 | ],
|
588 | "key-spacing": [
|
589 | "error"
|
590 | ],
|
591 | "keyword-spacing": [
|
592 | "off"
|
593 | ],
|
594 | "linebreak-style": [
|
595 | "off"
|
596 | ],
|
597 | "max-classes-per-file": [
|
598 | "off"
|
599 | ],
|
600 | "max-len": [
|
601 | "error",
|
602 | {
|
603 | "code": 120,
|
604 | "ignoreRegExpLiterals": false,
|
605 | "ignoreStrings": false
|
606 | }
|
607 | ],
|
608 | "max-lines": [
|
609 | "off"
|
610 | ],
|
611 | "new-parens": [
|
612 | "error"
|
613 | ],
|
614 | "newline-per-chained-call": [
|
615 | "off"
|
616 | ],
|
617 | "no-array-constructor": [
|
618 | "off"
|
619 | ],
|
620 | "no-async-promise-executor": [
|
621 | "error"
|
622 | ],
|
623 | "no-bitwise": [
|
624 | "error"
|
625 | ],
|
626 | "no-caller": [
|
627 | "error"
|
628 | ],
|
629 | "no-case-declarations": [
|
630 | "error"
|
631 | ],
|
632 | "no-class-assign": [
|
633 | "error"
|
634 | ],
|
635 | "no-compare-neg-zero": [
|
636 | "error"
|
637 | ],
|
638 | "no-cond-assign": [
|
639 | "error"
|
640 | ],
|
641 | "no-const-assign": [
|
642 | "off"
|
643 | ],
|
644 | "no-constant-condition": [
|
645 | "error"
|
646 | ],
|
647 | "no-control-regex": [
|
648 | "error"
|
649 | ],
|
650 | "no-debugger": [
|
651 | "off"
|
652 | ],
|
653 | "no-delete-var": [
|
654 | "error"
|
655 | ],
|
656 | "no-dupe-args": [
|
657 | "off"
|
658 | ],
|
659 | "no-dupe-class-members": [
|
660 | "off"
|
661 | ],
|
662 | "no-dupe-else-if": [
|
663 | "error"
|
664 | ],
|
665 | "no-dupe-keys": [
|
666 | "off"
|
667 | ],
|
668 | "no-duplicate-case": [
|
669 | "error"
|
670 | ],
|
671 | "no-duplicate-imports": [
|
672 | "off"
|
673 | ],
|
674 | "no-empty": [
|
675 | "error"
|
676 | ],
|
677 | "no-empty-character-class": [
|
678 | "error"
|
679 | ],
|
680 | "no-empty-function": [
|
681 | "off"
|
682 | ],
|
683 | "no-empty-pattern": [
|
684 | "error"
|
685 | ],
|
686 | "no-eval": [
|
687 | "error"
|
688 | ],
|
689 | "no-ex-assign": [
|
690 | "error"
|
691 | ],
|
692 | "no-extra-boolean-cast": [
|
693 | "error"
|
694 | ],
|
695 | "no-extra-semi": [
|
696 | "off"
|
697 | ],
|
698 | "no-fallthrough": [
|
699 | "off"
|
700 | ],
|
701 | "no-func-assign": [
|
702 | "off"
|
703 | ],
|
704 | "no-global-assign": [
|
705 | "error"
|
706 | ],
|
707 | "no-implied-eval": [
|
708 | "off"
|
709 | ],
|
710 | "no-import-assign": [
|
711 | "off"
|
712 | ],
|
713 | "no-inner-declarations": [
|
714 | "error"
|
715 | ],
|
716 | "no-invalid-regexp": [
|
717 | "error"
|
718 | ],
|
719 | "no-invalid-this": [
|
720 | "off"
|
721 | ],
|
722 | "no-irregular-whitespace": [
|
723 | "error"
|
724 | ],
|
725 | "no-loss-of-precision": [
|
726 | "off"
|
727 | ],
|
728 | "no-magic-numbers": [
|
729 | "off"
|
730 | ],
|
731 | "no-misleading-character-class": [
|
732 | "error"
|
733 | ],
|
734 | "no-mixed-spaces-and-tabs": [
|
735 | "error"
|
736 | ],
|
737 | "no-multi-spaces": [
|
738 | "error",
|
739 | {
|
740 | "ignoreEOLComments": true
|
741 | }
|
742 | ],
|
743 | "no-multi-str": [
|
744 | "off"
|
745 | ],
|
746 | "no-multiple-empty-lines": [
|
747 | "error",
|
748 | {
|
749 | "max": 1,
|
750 | "maxBOF": 0,
|
751 | "maxEOF": 0
|
752 | }
|
753 | ],
|
754 | "no-nested-ternary": [
|
755 | "off"
|
756 | ],
|
757 | "no-new-func": [
|
758 | "error"
|
759 | ],
|
760 | "no-new-symbol": [
|
761 | "off"
|
762 | ],
|
763 | "no-new-wrappers": [
|
764 | "error"
|
765 | ],
|
766 | "no-nonoctal-decimal-escape": [
|
767 | "error"
|
768 | ],
|
769 | "no-obj-calls": [
|
770 | "off"
|
771 | ],
|
772 | "no-octal": [
|
773 | "error"
|
774 | ],
|
775 | "no-octal-escape": [
|
776 | "error"
|
777 | ],
|
778 | "no-param-reassign": [
|
779 | "error"
|
780 | ],
|
781 | "no-prototype-builtins": [
|
782 | "error"
|
783 | ],
|
784 | "no-redeclare": [
|
785 | "off"
|
786 | ],
|
787 | "no-regex-spaces": [
|
788 | "error"
|
789 | ],
|
790 | "no-restricted-syntax": [
|
791 | "error",
|
792 | "ForInStatement"
|
793 | ],
|
794 | "no-return-await": [
|
795 | "error"
|
796 | ],
|
797 | "no-self-assign": [
|
798 | "error"
|
799 | ],
|
800 | "no-sequences": [
|
801 | "error"
|
802 | ],
|
803 | "no-setter-return": [
|
804 | "off"
|
805 | ],
|
806 | "no-shadow": [
|
807 | "off"
|
808 | ],
|
809 | "no-shadow-restricted-names": [
|
810 | "error"
|
811 | ],
|
812 | "no-sparse-arrays": [
|
813 | "error"
|
814 | ],
|
815 | "no-template-curly-in-string": [
|
816 | "error"
|
817 | ],
|
818 | "no-this-before-super": [
|
819 | "off"
|
820 | ],
|
821 | "no-throw-literal": [
|
822 | "off"
|
823 | ],
|
824 | "no-trailing-spaces": [
|
825 | "off"
|
826 | ],
|
827 | "no-undef": [
|
828 | "off"
|
829 | ],
|
830 | "no-undef-init": [
|
831 | "error"
|
832 | ],
|
833 | "no-underscore-dangle": [
|
834 | "off"
|
835 | ],
|
836 | "no-unexpected-multiline": [
|
837 | "error"
|
838 | ],
|
839 | "no-unreachable": [
|
840 | "off"
|
841 | ],
|
842 | "no-unsafe-finally": [
|
843 | "error"
|
844 | ],
|
845 | "no-unsafe-negation": [
|
846 | "off"
|
847 | ],
|
848 | "no-unsafe-optional-chaining": [
|
849 | "error"
|
850 | ],
|
851 | "no-unused-expressions": [
|
852 | "off"
|
853 | ],
|
854 | "no-unused-labels": [
|
855 | "error"
|
856 | ],
|
857 | "no-unused-vars": [
|
858 | "off"
|
859 | ],
|
860 | "no-useless-backreference": [
|
861 | "error"
|
862 | ],
|
863 | "no-useless-catch": [
|
864 | "error"
|
865 | ],
|
866 | "no-useless-escape": [
|
867 | "error"
|
868 | ],
|
869 | "no-var": [
|
870 | "error"
|
871 | ],
|
872 | "no-void": [
|
873 | "error"
|
874 | ],
|
875 | "no-whitespace-before-property": [
|
876 | "error"
|
877 | ],
|
878 | "no-with": [
|
879 | "error"
|
880 | ],
|
881 | "object-curly-spacing": [
|
882 | "off"
|
883 | ],
|
884 | "object-shorthand": [
|
885 | "error"
|
886 | ],
|
887 | "one-var": [
|
888 | "error",
|
889 | "never"
|
890 | ],
|
891 | "padded-blocks": [
|
892 | "error",
|
893 | "never"
|
894 | ],
|
895 | "padding-line-between-statements": [
|
896 | "off",
|
897 | "error",
|
898 | {
|
899 | "blankLine": "always",
|
900 | "next": "return",
|
901 | "prev": "*"
|
902 | }
|
903 | ],
|
904 | "prefer-arrow-callback": [
|
905 | "error"
|
906 | ],
|
907 | "prefer-const": [
|
908 | "error"
|
909 | ],
|
910 | "prefer-object-spread": [
|
911 | "error"
|
912 | ],
|
913 | "prefer-promise-reject-errors": [
|
914 | "error"
|
915 | ],
|
916 | "prefer-rest-params": [
|
917 | "error"
|
918 | ],
|
919 | "prefer-spread": [
|
920 | "error"
|
921 | ],
|
922 | "prefer-template": [
|
923 | "error"
|
924 | ],
|
925 | "promise/param-names": [
|
926 | "warn"
|
927 | ],
|
928 | "quote-props": [
|
929 | "error",
|
930 | "consistent-as-needed"
|
931 | ],
|
932 | "quotes": [
|
933 | "off"
|
934 | ],
|
935 | "radix": [
|
936 | "error"
|
937 | ],
|
938 | "require-atomic-updates": [
|
939 | "error"
|
940 | ],
|
941 | "require-await": [
|
942 | "off"
|
943 | ],
|
944 | "require-yield": [
|
945 | "error"
|
946 | ],
|
947 | "semi": [
|
948 | "off"
|
949 | ],
|
950 | "semi-spacing": [
|
951 | "error"
|
952 | ],
|
953 | "space-before-blocks": [
|
954 | "error"
|
955 | ],
|
956 | "space-before-function-paren": [
|
957 | "off"
|
958 | ],
|
959 | "space-in-parens": [
|
960 | "error",
|
961 | "never"
|
962 | ],
|
963 | "space-infix-ops": [
|
964 | "off"
|
965 | ],
|
966 | "space-unary-ops": [
|
967 | "error"
|
968 | ],
|
969 | "spaced-comment": [
|
970 | "error",
|
971 | "always",
|
972 | {
|
973 | "block": {
|
974 | "balanced": true,
|
975 | "markers": [
|
976 | "!"
|
977 | ]
|
978 | }
|
979 | }
|
980 | ],
|
981 | "switch-colon-spacing": [
|
982 | "error"
|
983 | ],
|
984 | "tsdoc/syntax": [
|
985 | "error"
|
986 | ],
|
987 | "unicode-bom": [
|
988 | "off"
|
989 | ],
|
990 | "unicorn/better-regex": [
|
991 | "error"
|
992 | ],
|
993 | "unicorn/catch-error-name": [
|
994 | "error"
|
995 | ],
|
996 | "unicorn/consistent-destructuring": [
|
997 | "error"
|
998 | ],
|
999 | "unicorn/consistent-function-scoping": [
|
1000 | "error"
|
1001 | ],
|
1002 | "unicorn/custom-error-definition": [
|
1003 | "off"
|
1004 | ],
|
1005 | "unicorn/empty-brace-spaces": [
|
1006 | "off"
|
1007 | ],
|
1008 | "unicorn/error-message": [
|
1009 | "error"
|
1010 | ],
|
1011 | "unicorn/escape-case": [
|
1012 | "error"
|
1013 | ],
|
1014 | "unicorn/expiring-todo-comments": [
|
1015 | "error"
|
1016 | ],
|
1017 | "unicorn/explicit-length-check": [
|
1018 | "error"
|
1019 | ],
|
1020 | "unicorn/filename-case": [
|
1021 | "error",
|
1022 | {
|
1023 | "cases": {
|
1024 | "camelCase": true,
|
1025 | "pascalCase": true
|
1026 | }
|
1027 | }
|
1028 | ],
|
1029 | "unicorn/import-index": [
|
1030 | "off"
|
1031 | ],
|
1032 | "unicorn/import-style": [
|
1033 | "error"
|
1034 | ],
|
1035 | "unicorn/new-for-builtins": [
|
1036 | "error"
|
1037 | ],
|
1038 | "unicorn/no-abusive-eslint-disable": [
|
1039 | "error"
|
1040 | ],
|
1041 | "unicorn/no-array-callback-reference": [
|
1042 | "error"
|
1043 | ],
|
1044 | "unicorn/no-array-for-each": [
|
1045 | "error"
|
1046 | ],
|
1047 | "unicorn/no-array-method-this-argument": [
|
1048 | "error"
|
1049 | ],
|
1050 | "unicorn/no-array-push-push": [
|
1051 | "error"
|
1052 | ],
|
1053 | "unicorn/no-array-reduce": [
|
1054 | "error"
|
1055 | ],
|
1056 | "unicorn/no-await-expression-member": [
|
1057 | "error"
|
1058 | ],
|
1059 | "unicorn/no-console-spaces": [
|
1060 | "error"
|
1061 | ],
|
1062 | "unicorn/no-document-cookie": [
|
1063 | "error"
|
1064 | ],
|
1065 | "unicorn/no-empty-file": [
|
1066 | "error"
|
1067 | ],
|
1068 | "unicorn/no-for-loop": [
|
1069 | "error"
|
1070 | ],
|
1071 | "unicorn/no-hex-escape": [
|
1072 | "error"
|
1073 | ],
|
1074 | "unicorn/no-instanceof-array": [
|
1075 | "error"
|
1076 | ],
|
1077 | "unicorn/no-invalid-remove-event-listener": [
|
1078 | "error"
|
1079 | ],
|
1080 | "unicorn/no-keyword-prefix": [
|
1081 | "off"
|
1082 | ],
|
1083 | "unicorn/no-lonely-if": [
|
1084 | "error"
|
1085 | ],
|
1086 | "unicorn/no-nested-ternary": [
|
1087 | "error"
|
1088 | ],
|
1089 | "unicorn/no-new-array": [
|
1090 | "error"
|
1091 | ],
|
1092 | "unicorn/no-new-buffer": [
|
1093 | "error"
|
1094 | ],
|
1095 | "unicorn/no-null": [
|
1096 | "error"
|
1097 | ],
|
1098 | "unicorn/no-object-as-default-parameter": [
|
1099 | "error"
|
1100 | ],
|
1101 | "unicorn/no-process-exit": [
|
1102 | "error"
|
1103 | ],
|
1104 | "unicorn/no-static-only-class": [
|
1105 | "error"
|
1106 | ],
|
1107 | "unicorn/no-thenable": [
|
1108 | "error"
|
1109 | ],
|
1110 | "unicorn/no-this-assignment": [
|
1111 | "error"
|
1112 | ],
|
1113 | "unicorn/no-unreadable-array-destructuring": [
|
1114 | "error"
|
1115 | ],
|
1116 | "unicorn/no-unsafe-regex": [
|
1117 | "off"
|
1118 | ],
|
1119 | "unicorn/no-unused-properties": [
|
1120 | "off"
|
1121 | ],
|
1122 | "unicorn/no-useless-fallback-in-spread": [
|
1123 | "error"
|
1124 | ],
|
1125 | "unicorn/no-useless-length-check": [
|
1126 | "error"
|
1127 | ],
|
1128 | "unicorn/no-useless-promise-resolve-reject": [
|
1129 | "error"
|
1130 | ],
|
1131 | "unicorn/no-useless-spread": [
|
1132 | "error"
|
1133 | ],
|
1134 | "unicorn/no-useless-undefined": [
|
1135 | "error"
|
1136 | ],
|
1137 | "unicorn/no-zero-fractions": [
|
1138 | "error"
|
1139 | ],
|
1140 | "unicorn/number-literal-case": [
|
1141 | "error"
|
1142 | ],
|
1143 | "unicorn/numeric-separators-style": [
|
1144 | "error"
|
1145 | ],
|
1146 | "unicorn/prefer-add-event-listener": [
|
1147 | "error"
|
1148 | ],
|
1149 | "unicorn/prefer-array-find": [
|
1150 | "error"
|
1151 | ],
|
1152 | "unicorn/prefer-array-flat": [
|
1153 | "error"
|
1154 | ],
|
1155 | "unicorn/prefer-array-flat-map": [
|
1156 | "error"
|
1157 | ],
|
1158 | "unicorn/prefer-array-index-of": [
|
1159 | "error"
|
1160 | ],
|
1161 | "unicorn/prefer-array-some": [
|
1162 | "error"
|
1163 | ],
|
1164 | "unicorn/prefer-at": [
|
1165 | "off"
|
1166 | ],
|
1167 | "unicorn/prefer-code-point": [
|
1168 | "error"
|
1169 | ],
|
1170 | "unicorn/prefer-date-now": [
|
1171 | "error"
|
1172 | ],
|
1173 | "unicorn/prefer-default-parameters": [
|
1174 | "error"
|
1175 | ],
|
1176 | "unicorn/prefer-dom-node-append": [
|
1177 | "error"
|
1178 | ],
|
1179 | "unicorn/prefer-dom-node-dataset": [
|
1180 | "error"
|
1181 | ],
|
1182 | "unicorn/prefer-dom-node-remove": [
|
1183 | "error"
|
1184 | ],
|
1185 | "unicorn/prefer-dom-node-text-content": [
|
1186 | "error"
|
1187 | ],
|
1188 | "unicorn/prefer-export-from": [
|
1189 | "error"
|
1190 | ],
|
1191 | "unicorn/prefer-includes": [
|
1192 | "error"
|
1193 | ],
|
1194 | "unicorn/prefer-json-parse-buffer": [
|
1195 | "error"
|
1196 | ],
|
1197 | "unicorn/prefer-keyboard-event-key": [
|
1198 | "error"
|
1199 | ],
|
1200 | "unicorn/prefer-math-trunc": [
|
1201 | "error"
|
1202 | ],
|
1203 | "unicorn/prefer-modern-dom-apis": [
|
1204 | "error"
|
1205 | ],
|
1206 | "unicorn/prefer-module": [
|
1207 | "error"
|
1208 | ],
|
1209 | "unicorn/prefer-negative-index": [
|
1210 | "error"
|
1211 | ],
|
1212 | "unicorn/prefer-node-protocol": [
|
1213 | "error"
|
1214 | ],
|
1215 | "unicorn/prefer-number-properties": [
|
1216 | "error"
|
1217 | ],
|
1218 | "unicorn/prefer-object-from-entries": [
|
1219 | "error"
|
1220 | ],
|
1221 | "unicorn/prefer-optional-catch-binding": [
|
1222 | "error"
|
1223 | ],
|
1224 | "unicorn/prefer-prototype-methods": [
|
1225 | "error"
|
1226 | ],
|
1227 | "unicorn/prefer-query-selector": [
|
1228 | "error"
|
1229 | ],
|
1230 | "unicorn/prefer-reflect-apply": [
|
1231 | "error"
|
1232 | ],
|
1233 | "unicorn/prefer-regexp-test": [
|
1234 | "error"
|
1235 | ],
|
1236 | "unicorn/prefer-set-has": [
|
1237 | "error"
|
1238 | ],
|
1239 | "unicorn/prefer-spread": [
|
1240 | "error"
|
1241 | ],
|
1242 | "unicorn/prefer-string-replace-all": [
|
1243 | "off"
|
1244 | ],
|
1245 | "unicorn/prefer-string-slice": [
|
1246 | "error"
|
1247 | ],
|
1248 | "unicorn/prefer-string-starts-ends-with": [
|
1249 | "error"
|
1250 | ],
|
1251 | "unicorn/prefer-string-trim-start-end": [
|
1252 | "error"
|
1253 | ],
|
1254 | "unicorn/prefer-switch": [
|
1255 | "error"
|
1256 | ],
|
1257 | "unicorn/prefer-ternary": [
|
1258 | "error"
|
1259 | ],
|
1260 | "unicorn/prefer-top-level-await": [
|
1261 | "off"
|
1262 | ],
|
1263 | "unicorn/prefer-type-error": [
|
1264 | "error"
|
1265 | ],
|
1266 | "unicorn/prevent-abbreviations": [
|
1267 | "off"
|
1268 | ],
|
1269 | "unicorn/relative-url-style": [
|
1270 | "error"
|
1271 | ],
|
1272 | "unicorn/require-array-join-separator": [
|
1273 | "error"
|
1274 | ],
|
1275 | "unicorn/require-number-to-fixed-digits-argument": [
|
1276 | "error"
|
1277 | ],
|
1278 | "unicorn/require-post-message-target-origin": [
|
1279 | "off"
|
1280 | ],
|
1281 | "unicorn/string-content": [
|
1282 | "off"
|
1283 | ],
|
1284 | "unicorn/template-indent": [
|
1285 | "warn"
|
1286 | ],
|
1287 | "unicorn/throw-new-error": [
|
1288 | "error"
|
1289 | ],
|
1290 | "unused-imports/no-unused-imports": [
|
1291 | "error"
|
1292 | ],
|
1293 | "use-isnan": [
|
1294 | "error"
|
1295 | ],
|
1296 | "valid-typeof": [
|
1297 | "error"
|
1298 | ],
|
1299 | "yoda": [
|
1300 | "off"
|
1301 | ]
|
1302 | },
|
1303 | "settings": {
|
1304 | "import/extensions": [
|
1305 | ".ts",
|
1306 | ".tsx",
|
1307 | ".d.ts",
|
1308 | ".js",
|
1309 | ".jsx"
|
1310 | ],
|
1311 | "import/external-module-folders": [
|
1312 | "node_modules",
|
1313 | "node_modules/@types"
|
1314 | ],
|
1315 | "import/parsers": {
|
1316 | "@typescript-eslint/parser": [
|
1317 | ".ts",
|
1318 | ".tsx",
|
1319 | ".d.ts"
|
1320 | ]
|
1321 | },
|
1322 | "import/resolver": {
|
1323 | "node": {
|
1324 | "extensions": [
|
1325 | ".ts",
|
1326 | ".tsx",
|
1327 | ".d.ts",
|
1328 | ".js",
|
1329 | ".jsx"
|
1330 | ]
|
1331 | }
|
1332 | },
|
1333 | "jsdoc": {
|
1334 | "mode": "typescript",
|
1335 | "tagNamePreference": {
|
1336 | "arg": {
|
1337 | "message": "Please use @param instead of @arg.",
|
1338 | "replacement": "param"
|
1339 | },
|
1340 | "argument": {
|
1341 | "message": "Please use @param instead of @argument.",
|
1342 | "replacement": "param"
|
1343 | },
|
1344 | "return": {
|
1345 | "message": "Please use @returns instead of @return.",
|
1346 | "replacement": "returns"
|
1347 | }
|
1348 | }
|
1349 | }
|
1350 | }
|
1351 | }
|