@eslinted/defaults 12.10.0 → 12.11.1
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/.github/workflows/RELEASE.yml +36 -36
- package/.github/workflows/rc.yml +36 -36
- package/.markdownlint.jsonc +97 -97
- package/.mocharc.yml +15 -15
- package/LICENSE +20 -20
- package/README.md +4 -4
- package/dist/index.d.ts +99 -912
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +99 -492
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +0 -2
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +0 -3
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +24 -134
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +22 -192
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +24 -136
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +7 -20
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +7 -41
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
- package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +0 -2
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +3 -10
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +3 -19
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +3 -12
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +19 -91
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +20 -153
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
- package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +2 -11
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +21 -98
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +31 -163
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +32 -380
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +2 -25
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +32 -183
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +12 -43
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
- package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +5 -36
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +8 -44
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +56 -56
- package/src/files/_factory/index.ts +76 -76
- package/src/files/_factory/project/index.ts +2 -2
- package/src/files/_factory/project/roots.ts +4 -4
- package/src/files/_factory/project/subroots.ts +8 -8
- package/src/files/index.ts +23 -23
- package/src/files/scopes/css.ts +5 -5
- package/src/files/scopes/html.ts +5 -5
- package/src/files/scopes/js.ts +5 -5
- package/src/files/scopes/json.ts +5 -5
- package/src/files/scopes/jsonc.ts +5 -5
- package/src/files/scopes/jsoncc.ts +9 -9
- package/src/files/scopes/mocha.ts +5 -5
- package/src/files/scopes/svelte.ts +5 -5
- package/src/files/scopes/ts.ts +5 -5
- package/src/files/scopes/yml.ts +8 -8
- package/src/ignores/global.ts +5 -5
- package/src/ignores/index.ts +25 -25
- package/src/ignores/scopes/css.ts +1 -1
- package/src/ignores/scopes/html.ts +1 -1
- package/src/ignores/scopes/js.ts +1 -1
- package/src/ignores/scopes/json.ts +1 -1
- package/src/ignores/scopes/jsonc.ts +1 -1
- package/src/ignores/scopes/jsoncc.ts +1 -1
- package/src/ignores/scopes/mocha.ts +1 -1
- package/src/ignores/scopes/svelte.ts +1 -1
- package/src/ignores/scopes/ts.ts +1 -1
- package/src/ignores/scopes/yml.ts +1 -1
- package/src/index.ts +10 -10
- package/src/rules/_strings/id.ts +21 -21
- package/src/rules/_strings/index.ts +3 -3
- package/src/rules/_strings/option.ts +30 -30
- package/src/rules/_strings/state.spec.ts +64 -64
- package/src/rules/_strings/state.ts +4 -4
- package/src/rules/index.ts +23 -23
- package/src/rules/scopes/css/enable.ts +31 -31
- package/src/rules/scopes/css/index.ts +3 -3
- package/src/rules/scopes/enable.style.ts +507 -705
- package/src/rules/scopes/enable.ts +390 -401
- package/src/rules/scopes/html/index.ts +3 -3
- package/src/rules/scopes/html/plugin/index.ts +113 -113
- package/src/rules/scopes/index.ts +7 -7
- package/src/rules/scopes/json/enable.ts +18 -18
- package/src/rules/scopes/json/index.ts +9 -9
- package/src/rules/scopes/json/plugin/extension.ts +60 -98
- package/src/rules/scopes/json/plugin/index.ts +35 -35
- package/src/rules/scopes/jsonc/index.ts +3 -3
- package/src/rules/scopes/jsonc/plugin/index.ts +12 -12
- package/src/rules/scopes/jsoncc/index.ts +3 -3
- package/src/rules/scopes/jsoncc/plugin/index.ts +16 -16
- package/src/rules/scopes/mocha/chai/expect.ts +16 -16
- package/src/rules/scopes/mocha/chai/index.ts +18 -20
- package/src/rules/scopes/mocha/disable.ts +13 -13
- package/src/rules/scopes/mocha/enable.ts +36 -52
- package/src/rules/scopes/mocha/index.ts +11 -11
- package/src/rules/scopes/svelte/disable.ts +19 -19
- package/src/rules/scopes/svelte/enable.ts +157 -292
- package/src/rules/scopes/svelte/extension/disable.ts +14 -14
- package/src/rules/scopes/svelte/extension/index.ts +17 -27
- package/src/rules/scopes/svelte/index.ts +11 -11
- package/src/rules/scopes/ts/disable.ts +30 -30
- package/src/rules/scopes/ts/enable.ts +188 -578
- package/src/rules/scopes/ts/extension/disable.ts +35 -35
- package/src/rules/scopes/ts/extension/index.ts +62 -87
- package/src/rules/scopes/ts/index.ts +11 -11
- package/src/rules/scopes/yml/index.ts +7 -7
- package/src/rules/scopes/yml/plugin/extension.ts +55 -88
- package/src/rules/scopes/yml/plugin/index.ts +38 -88
- package/src/settings/global/index.ts +6 -6
- package/src/settings/index.ts +7 -7
- package/src/settings/registry/index.ts +23 -23
- package/src/settings/registry/manifests/css.ts +9 -9
- package/src/settings/registry/manifests/html.ts +10 -10
- package/src/settings/registry/manifests/js.ts +8 -8
- package/src/settings/registry/manifests/json.ts +7 -7
- package/src/settings/registry/manifests/jsonc.ts +9 -9
- package/src/settings/registry/manifests/jsoncc.ts +9 -9
- package/src/settings/registry/manifests/mocha.ts +8 -8
- package/src/settings/registry/manifests/svelte.ts +10 -10
- package/src/settings/registry/manifests/ts.ts +30 -30
- package/src/settings/registry/manifests/yml.ts +9 -9
- package/tsconfig.json +75 -156
package/dist/index.d.ts
CHANGED
|
@@ -301,9 +301,6 @@ export declare const defaults: {
|
|
|
301
301
|
readonly array: false;
|
|
302
302
|
readonly object: false;
|
|
303
303
|
};
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
readonly enforceForRenamedProperties: true;
|
|
307
304
|
}
|
|
308
305
|
];
|
|
309
306
|
readonly "prefer-exponentiation-operator": "error";
|
|
@@ -383,7 +380,6 @@ export declare const defaults: {
|
|
|
383
380
|
"error",
|
|
384
381
|
2,
|
|
385
382
|
{
|
|
386
|
-
readonly SwitchCase: 1;
|
|
387
383
|
readonly VariableDeclarator: {
|
|
388
384
|
readonly var: 0;
|
|
389
385
|
readonly let: 0;
|
|
@@ -391,7 +387,6 @@ export declare const defaults: {
|
|
|
391
387
|
};
|
|
392
388
|
readonly outerIIFEBody: 0;
|
|
393
389
|
readonly offsetTernaryExpressions: true;
|
|
394
|
-
readonly tabLength: 2;
|
|
395
390
|
}
|
|
396
391
|
];
|
|
397
392
|
readonly "@stylistic/indent-binary-ops": readonly [
|
|
@@ -420,17 +415,12 @@ export declare const defaults: {
|
|
|
420
415
|
readonly blankLine: "always";
|
|
421
416
|
}
|
|
422
417
|
];
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
readonly exceptAfterSingleLine: false;
|
|
426
|
-
readonly exceptAfterOverload: true;
|
|
427
418
|
}
|
|
428
419
|
];
|
|
429
420
|
readonly "@stylistic/max-len": readonly [
|
|
430
421
|
"error",
|
|
431
422
|
{
|
|
432
423
|
readonly code: 300;
|
|
433
|
-
readonly tabWidth: 2;
|
|
434
424
|
readonly ignoreComments: true;
|
|
435
425
|
readonly ignoreTrailingComments: true;
|
|
436
426
|
readonly ignoreUrls: true;
|
|
@@ -439,68 +429,24 @@ export declare const defaults: {
|
|
|
439
429
|
readonly ignoreRegExpLiterals: true;
|
|
440
430
|
}
|
|
441
431
|
];
|
|
442
|
-
readonly "@stylistic/max-statements-per-line":
|
|
443
|
-
|
|
444
|
-
{
|
|
445
|
-
readonly max: 1;
|
|
446
|
-
}
|
|
447
|
-
];
|
|
448
|
-
readonly "@stylistic/member-delimiter-style": readonly [
|
|
449
|
-
"error",
|
|
450
|
-
{
|
|
451
|
-
readonly multiline: {
|
|
452
|
-
readonly delimiter: "semi";
|
|
453
|
-
readonly requireLast: true;
|
|
454
|
-
};
|
|
455
|
-
readonly singleline: {
|
|
456
|
-
readonly delimiter: "semi";
|
|
457
|
-
readonly requireLast: false;
|
|
458
|
-
};
|
|
459
|
-
readonly multilineDetection: "brackets";
|
|
460
|
-
}
|
|
461
|
-
];
|
|
432
|
+
readonly "@stylistic/max-statements-per-line": "error";
|
|
433
|
+
readonly "@stylistic/member-delimiter-style": "error";
|
|
462
434
|
readonly "@stylistic/multiline-ternary": readonly [
|
|
463
435
|
"error",
|
|
464
436
|
"always-multiline"
|
|
465
437
|
];
|
|
466
|
-
readonly "@stylistic/newline-per-chained-call":
|
|
467
|
-
|
|
468
|
-
{
|
|
469
|
-
readonly ignoreChainWithDepth: 2;
|
|
470
|
-
}
|
|
471
|
-
];
|
|
472
|
-
readonly "@stylistic/no-extra-parens": readonly [
|
|
473
|
-
"error",
|
|
474
|
-
"all",
|
|
475
|
-
{
|
|
476
|
-
readonly conditionalAssign: true;
|
|
477
|
-
readonly returnAssign: true;
|
|
478
|
-
readonly nestedBinaryExpressions: true;
|
|
479
|
-
readonly ternaryOperandBinaryExpressions: true;
|
|
480
|
-
readonly enforceForArrowConditionals: true;
|
|
481
|
-
readonly enforceForSequenceExpressions: true;
|
|
482
|
-
readonly enforceForNewInMemberExpressions: true;
|
|
483
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
|
484
|
-
readonly nestedConditionalExpressions: true;
|
|
485
|
-
readonly allowNodesInSpreadElement: {
|
|
486
|
-
readonly ConditionalExpression: false;
|
|
487
|
-
readonly LogicalExpression: false;
|
|
488
|
-
readonly AwaitExpression: false;
|
|
489
|
-
};
|
|
490
|
-
}
|
|
491
|
-
];
|
|
438
|
+
readonly "@stylistic/newline-per-chained-call": "error";
|
|
439
|
+
readonly "@stylistic/no-extra-parens": "error";
|
|
492
440
|
readonly "@stylistic/no-extra-semi": "error";
|
|
493
441
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
494
442
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
495
443
|
readonly "@stylistic/no-multi-spaces": readonly [
|
|
496
444
|
"error",
|
|
497
445
|
{
|
|
498
|
-
readonly ignoreEOLComments: false;
|
|
499
446
|
readonly exceptions: {
|
|
500
447
|
readonly Property: false;
|
|
501
448
|
readonly ImportAttributes: false;
|
|
502
449
|
};
|
|
503
|
-
readonly includeTabs: true;
|
|
504
450
|
}
|
|
505
451
|
];
|
|
506
452
|
readonly "@stylistic/no-multiple-empty-lines": readonly [
|
|
@@ -511,74 +457,24 @@ export declare const defaults: {
|
|
|
511
457
|
readonly maxEOF: 0;
|
|
512
458
|
}
|
|
513
459
|
];
|
|
514
|
-
readonly "@stylistic/no-tabs":
|
|
515
|
-
|
|
516
|
-
{
|
|
517
|
-
readonly allowIndentationTabs: false;
|
|
518
|
-
}
|
|
519
|
-
];
|
|
520
|
-
readonly "@stylistic/no-trailing-spaces": readonly [
|
|
521
|
-
"error",
|
|
522
|
-
{
|
|
523
|
-
readonly skipBlankLines: false;
|
|
524
|
-
readonly ignoreComments: false;
|
|
525
|
-
}
|
|
526
|
-
];
|
|
460
|
+
readonly "@stylistic/no-tabs": "error";
|
|
461
|
+
readonly "@stylistic/no-trailing-spaces": "error";
|
|
527
462
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
528
463
|
readonly "@stylistic/nonblock-statement-body-position": readonly [
|
|
529
464
|
"error",
|
|
530
|
-
"below"
|
|
531
|
-
{
|
|
532
|
-
readonly overrides: {};
|
|
533
|
-
}
|
|
465
|
+
"below"
|
|
534
466
|
];
|
|
535
467
|
readonly "@stylistic/object-curly-newline": readonly [
|
|
536
468
|
"error",
|
|
537
469
|
{
|
|
538
|
-
readonly
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
readonly minProperties: 3;
|
|
542
|
-
};
|
|
543
|
-
readonly ObjectPattern: {
|
|
544
|
-
readonly consistent: true;
|
|
545
|
-
readonly multiline: true;
|
|
546
|
-
readonly minProperties: 3;
|
|
547
|
-
};
|
|
548
|
-
readonly ImportDeclaration: {
|
|
549
|
-
readonly consistent: true;
|
|
550
|
-
readonly multiline: true;
|
|
551
|
-
readonly minProperties: 3;
|
|
552
|
-
};
|
|
553
|
-
readonly ExportDeclaration: {
|
|
554
|
-
readonly consistent: true;
|
|
555
|
-
readonly multiline: true;
|
|
556
|
-
readonly minProperties: 3;
|
|
557
|
-
};
|
|
558
|
-
readonly TSTypeLiteral: {
|
|
559
|
-
readonly consistent: true;
|
|
560
|
-
readonly multiline: true;
|
|
561
|
-
readonly minProperties: 3;
|
|
562
|
-
};
|
|
563
|
-
readonly TSInterfaceBody: {
|
|
564
|
-
readonly consistent: true;
|
|
565
|
-
readonly multiline: true;
|
|
566
|
-
readonly minProperties: 3;
|
|
567
|
-
};
|
|
568
|
-
readonly TSEnumBody: {
|
|
569
|
-
readonly consistent: true;
|
|
570
|
-
readonly multiline: true;
|
|
571
|
-
readonly minProperties: 3;
|
|
572
|
-
};
|
|
470
|
+
readonly consistent: true;
|
|
471
|
+
readonly multiline: true;
|
|
472
|
+
readonly minProperties: 3;
|
|
573
473
|
}
|
|
574
474
|
];
|
|
575
475
|
readonly "@stylistic/object-curly-spacing": readonly [
|
|
576
476
|
"error",
|
|
577
|
-
"always"
|
|
578
|
-
{
|
|
579
|
-
readonly arraysInObjects: true;
|
|
580
|
-
readonly objectsInObjects: true;
|
|
581
|
-
}
|
|
477
|
+
"always"
|
|
582
478
|
];
|
|
583
479
|
readonly "@stylistic/object-property-newline": "error";
|
|
584
480
|
readonly "@stylistic/one-var-declaration-per-line": readonly [
|
|
@@ -587,10 +483,7 @@ export declare const defaults: {
|
|
|
587
483
|
];
|
|
588
484
|
readonly "@stylistic/operator-linebreak": readonly [
|
|
589
485
|
"error",
|
|
590
|
-
"before"
|
|
591
|
-
{
|
|
592
|
-
readonly overrides: {};
|
|
593
|
-
}
|
|
486
|
+
"before"
|
|
594
487
|
];
|
|
595
488
|
readonly "@stylistic/padded-blocks": readonly [
|
|
596
489
|
"error",
|
|
@@ -815,8 +708,6 @@ export declare const defaults: {
|
|
|
815
708
|
"as-needed",
|
|
816
709
|
{
|
|
817
710
|
readonly keywords: true;
|
|
818
|
-
readonly unnecessary: true;
|
|
819
|
-
readonly numbers: false;
|
|
820
711
|
}
|
|
821
712
|
];
|
|
822
713
|
readonly "@stylistic/quotes": readonly [
|
|
@@ -825,68 +716,22 @@ export declare const defaults: {
|
|
|
825
716
|
{
|
|
826
717
|
readonly avoidEscape: true;
|
|
827
718
|
readonly allowTemplateLiterals: "always";
|
|
828
|
-
readonly ignoreStringLiterals: false;
|
|
829
|
-
}
|
|
830
|
-
];
|
|
831
|
-
readonly "@stylistic/rest-spread-spacing": readonly [
|
|
832
|
-
"error",
|
|
833
|
-
"never"
|
|
834
|
-
];
|
|
835
|
-
readonly "@stylistic/semi": readonly [
|
|
836
|
-
"error",
|
|
837
|
-
"always",
|
|
838
|
-
{
|
|
839
|
-
readonly omitLastInOneLineBlock: false;
|
|
840
|
-
readonly omitLastInOneLineClassBody: false;
|
|
841
|
-
}
|
|
842
|
-
];
|
|
843
|
-
readonly "@stylistic/semi-spacing": readonly [
|
|
844
|
-
"error",
|
|
845
|
-
{
|
|
846
|
-
readonly before: false;
|
|
847
|
-
readonly after: true;
|
|
848
|
-
}
|
|
849
|
-
];
|
|
850
|
-
readonly "@stylistic/semi-style": readonly [
|
|
851
|
-
"error",
|
|
852
|
-
"last"
|
|
853
|
-
];
|
|
854
|
-
readonly "@stylistic/space-before-blocks": readonly [
|
|
855
|
-
"error",
|
|
856
|
-
{
|
|
857
|
-
readonly functions: "always";
|
|
858
|
-
readonly keywords: "always";
|
|
859
|
-
readonly classes: "always";
|
|
860
719
|
}
|
|
861
720
|
];
|
|
721
|
+
readonly "@stylistic/rest-spread-spacing": "error";
|
|
722
|
+
readonly "@stylistic/semi": "error";
|
|
723
|
+
readonly "@stylistic/semi-spacing": "error";
|
|
724
|
+
readonly "@stylistic/semi-style": "error";
|
|
725
|
+
readonly "@stylistic/space-before-blocks": "error";
|
|
862
726
|
readonly "@stylistic/space-before-function-paren": readonly [
|
|
863
727
|
"error",
|
|
864
728
|
{
|
|
865
|
-
readonly anonymous: "always";
|
|
866
729
|
readonly named: "never";
|
|
867
|
-
readonly asyncArrow: "always";
|
|
868
|
-
readonly catch: "always";
|
|
869
|
-
}
|
|
870
|
-
];
|
|
871
|
-
readonly "@stylistic/space-in-parens": readonly [
|
|
872
|
-
"error",
|
|
873
|
-
"never"
|
|
874
|
-
];
|
|
875
|
-
readonly "@stylistic/space-infix-ops": readonly [
|
|
876
|
-
"error",
|
|
877
|
-
{
|
|
878
|
-
readonly int32Hint: true;
|
|
879
|
-
readonly ignoreTypes: false;
|
|
880
|
-
}
|
|
881
|
-
];
|
|
882
|
-
readonly "@stylistic/space-unary-ops": readonly [
|
|
883
|
-
"error",
|
|
884
|
-
{
|
|
885
|
-
readonly words: true;
|
|
886
|
-
readonly nonwords: false;
|
|
887
|
-
readonly overrides: {};
|
|
888
730
|
}
|
|
889
731
|
];
|
|
732
|
+
readonly "@stylistic/space-in-parens": "error";
|
|
733
|
+
readonly "@stylistic/space-infix-ops": "error";
|
|
734
|
+
readonly "@stylistic/space-unary-ops": "error";
|
|
890
735
|
readonly "@stylistic/spaced-comment": readonly [
|
|
891
736
|
"error",
|
|
892
737
|
"always",
|
|
@@ -922,21 +767,9 @@ export declare const defaults: {
|
|
|
922
767
|
};
|
|
923
768
|
}
|
|
924
769
|
];
|
|
925
|
-
readonly "@stylistic/switch-colon-spacing":
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
readonly after: true;
|
|
929
|
-
readonly before: false;
|
|
930
|
-
}
|
|
931
|
-
];
|
|
932
|
-
readonly "@stylistic/template-curly-spacing": readonly [
|
|
933
|
-
"error",
|
|
934
|
-
"never"
|
|
935
|
-
];
|
|
936
|
-
readonly "@stylistic/template-tag-spacing": readonly [
|
|
937
|
-
"error",
|
|
938
|
-
"never"
|
|
939
|
-
];
|
|
770
|
+
readonly "@stylistic/switch-colon-spacing": "error";
|
|
771
|
+
readonly "@stylistic/template-curly-spacing": "error";
|
|
772
|
+
readonly "@stylistic/template-tag-spacing": "error";
|
|
940
773
|
readonly "@stylistic/type-annotation-spacing": readonly [
|
|
941
774
|
"error",
|
|
942
775
|
{
|
|
@@ -960,13 +793,7 @@ export declare const defaults: {
|
|
|
960
793
|
}
|
|
961
794
|
];
|
|
962
795
|
readonly "@stylistic/wrap-regex": "error";
|
|
963
|
-
readonly "@stylistic/yield-star-spacing":
|
|
964
|
-
"error",
|
|
965
|
-
{
|
|
966
|
-
readonly before: false;
|
|
967
|
-
readonly after: true;
|
|
968
|
-
}
|
|
969
|
-
];
|
|
796
|
+
readonly "@stylistic/yield-star-spacing": "error";
|
|
970
797
|
};
|
|
971
798
|
})[];
|
|
972
799
|
ts: ({
|
|
@@ -1008,65 +835,25 @@ export declare const defaults: {
|
|
|
1008
835
|
id: "enable";
|
|
1009
836
|
rules: {
|
|
1010
837
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
1011
|
-
readonly "@typescript-eslint/ban-ts-comment":
|
|
1012
|
-
"error",
|
|
1013
|
-
{
|
|
1014
|
-
readonly "ts-check": false;
|
|
1015
|
-
readonly "ts-expect-error": {
|
|
1016
|
-
readonly descriptionFormat: "^:? (?:TEST|BUG): .+$";
|
|
1017
|
-
};
|
|
1018
|
-
readonly "ts-ignore": true;
|
|
1019
|
-
readonly "ts-nocheck": true;
|
|
1020
|
-
readonly minimumDescriptionLength: 10;
|
|
1021
|
-
}
|
|
1022
|
-
];
|
|
838
|
+
readonly "@typescript-eslint/ban-ts-comment": "error";
|
|
1023
839
|
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
|
1024
|
-
readonly "@typescript-eslint/class-literal-property-style":
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
];
|
|
1028
|
-
readonly "@typescript-eslint/consistent-generic-constructors": readonly [
|
|
1029
|
-
"error",
|
|
1030
|
-
"constructor"
|
|
1031
|
-
];
|
|
1032
|
-
readonly "@typescript-eslint/consistent-indexed-object-style": readonly [
|
|
1033
|
-
"error",
|
|
1034
|
-
"record"
|
|
1035
|
-
];
|
|
840
|
+
readonly "@typescript-eslint/class-literal-property-style": "error";
|
|
841
|
+
readonly "@typescript-eslint/consistent-generic-constructors": "error";
|
|
842
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": "error";
|
|
1036
843
|
readonly "@typescript-eslint/consistent-type-assertions": readonly [
|
|
1037
844
|
"error",
|
|
1038
845
|
{
|
|
1039
|
-
readonly assertionStyle: "as";
|
|
1040
846
|
readonly arrayLiteralTypeAssertions: "never";
|
|
1041
847
|
readonly objectLiteralTypeAssertions: "never";
|
|
1042
848
|
}
|
|
1043
849
|
];
|
|
1044
|
-
readonly "@typescript-eslint/consistent-type-exports":
|
|
1045
|
-
|
|
1046
|
-
{
|
|
1047
|
-
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
|
1048
|
-
}
|
|
1049
|
-
];
|
|
1050
|
-
readonly "@typescript-eslint/consistent-type-imports": readonly [
|
|
1051
|
-
"error",
|
|
1052
|
-
{
|
|
1053
|
-
readonly disallowTypeAnnotations: true;
|
|
1054
|
-
readonly fixStyle: "separate-type-imports";
|
|
1055
|
-
readonly prefer: "type-imports";
|
|
1056
|
-
}
|
|
1057
|
-
];
|
|
850
|
+
readonly "@typescript-eslint/consistent-type-exports": "error";
|
|
851
|
+
readonly "@typescript-eslint/consistent-type-imports": "error";
|
|
1058
852
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly [
|
|
1059
853
|
"error",
|
|
1060
854
|
{
|
|
1061
|
-
readonly accessibility: "explicit";
|
|
1062
|
-
readonly ignoredMethodNames: readonly [
|
|
1063
|
-
];
|
|
1064
855
|
readonly overrides: {
|
|
1065
|
-
readonly properties: "explicit";
|
|
1066
856
|
readonly constructors: "no-public";
|
|
1067
|
-
readonly accessors: "explicit";
|
|
1068
|
-
readonly methods: "explicit";
|
|
1069
|
-
readonly parameterProperties: "explicit";
|
|
1070
857
|
};
|
|
1071
858
|
}
|
|
1072
859
|
];
|
|
@@ -1074,147 +861,13 @@ export declare const defaults: {
|
|
|
1074
861
|
"error",
|
|
1075
862
|
{
|
|
1076
863
|
readonly default: {
|
|
1077
|
-
readonly memberTypes: readonly [
|
|
1078
|
-
"signature",
|
|
1079
|
-
"call-signature",
|
|
1080
|
-
"public-static-field",
|
|
1081
|
-
"protected-static-field",
|
|
1082
|
-
"private-static-field",
|
|
1083
|
-
"#private-static-field",
|
|
1084
|
-
"public-decorated-field",
|
|
1085
|
-
"protected-decorated-field",
|
|
1086
|
-
"private-decorated-field",
|
|
1087
|
-
"public-instance-field",
|
|
1088
|
-
"protected-instance-field",
|
|
1089
|
-
"private-instance-field",
|
|
1090
|
-
"#private-instance-field",
|
|
1091
|
-
"public-abstract-field",
|
|
1092
|
-
"protected-abstract-field",
|
|
1093
|
-
"public-field",
|
|
1094
|
-
"protected-field",
|
|
1095
|
-
"private-field",
|
|
1096
|
-
"#private-field",
|
|
1097
|
-
"static-field",
|
|
1098
|
-
"instance-field",
|
|
1099
|
-
"abstract-field",
|
|
1100
|
-
"decorated-field",
|
|
1101
|
-
"field",
|
|
1102
|
-
"static-initialization",
|
|
1103
|
-
"public-constructor",
|
|
1104
|
-
"protected-constructor",
|
|
1105
|
-
"private-constructor",
|
|
1106
|
-
"constructor",
|
|
1107
|
-
"public-static-accessor",
|
|
1108
|
-
"protected-static-accessor",
|
|
1109
|
-
"private-static-accessor",
|
|
1110
|
-
"#private-static-accessor",
|
|
1111
|
-
"public-decorated-accessor",
|
|
1112
|
-
"protected-decorated-accessor",
|
|
1113
|
-
"private-decorated-accessor",
|
|
1114
|
-
"public-instance-accessor",
|
|
1115
|
-
"protected-instance-accessor",
|
|
1116
|
-
"private-instance-accessor",
|
|
1117
|
-
"#private-instance-accessor",
|
|
1118
|
-
"public-abstract-accessor",
|
|
1119
|
-
"protected-abstract-accessor",
|
|
1120
|
-
"public-accessor",
|
|
1121
|
-
"protected-accessor",
|
|
1122
|
-
"private-accessor",
|
|
1123
|
-
"#private-accessor",
|
|
1124
|
-
"static-accessor",
|
|
1125
|
-
"instance-accessor",
|
|
1126
|
-
"abstract-accessor",
|
|
1127
|
-
"decorated-accessor",
|
|
1128
|
-
"accessor",
|
|
1129
|
-
"public-static-get",
|
|
1130
|
-
"protected-static-get",
|
|
1131
|
-
"private-static-get",
|
|
1132
|
-
"#private-static-get",
|
|
1133
|
-
"public-decorated-get",
|
|
1134
|
-
"protected-decorated-get",
|
|
1135
|
-
"private-decorated-get",
|
|
1136
|
-
"public-instance-get",
|
|
1137
|
-
"protected-instance-get",
|
|
1138
|
-
"private-instance-get",
|
|
1139
|
-
"#private-instance-get",
|
|
1140
|
-
"public-abstract-get",
|
|
1141
|
-
"protected-abstract-get",
|
|
1142
|
-
"public-get",
|
|
1143
|
-
"protected-get",
|
|
1144
|
-
"private-get",
|
|
1145
|
-
"#private-get",
|
|
1146
|
-
"static-get",
|
|
1147
|
-
"instance-get",
|
|
1148
|
-
"abstract-get",
|
|
1149
|
-
"decorated-get",
|
|
1150
|
-
"get",
|
|
1151
|
-
"public-static-set",
|
|
1152
|
-
"protected-static-set",
|
|
1153
|
-
"private-static-set",
|
|
1154
|
-
"#private-static-set",
|
|
1155
|
-
"public-decorated-set",
|
|
1156
|
-
"protected-decorated-set",
|
|
1157
|
-
"private-decorated-set",
|
|
1158
|
-
"public-instance-set",
|
|
1159
|
-
"protected-instance-set",
|
|
1160
|
-
"private-instance-set",
|
|
1161
|
-
"#private-instance-set",
|
|
1162
|
-
"public-abstract-set",
|
|
1163
|
-
"protected-abstract-set",
|
|
1164
|
-
"public-set",
|
|
1165
|
-
"protected-set",
|
|
1166
|
-
"private-set",
|
|
1167
|
-
"#private-set",
|
|
1168
|
-
"static-set",
|
|
1169
|
-
"instance-set",
|
|
1170
|
-
"abstract-set",
|
|
1171
|
-
"decorated-set",
|
|
1172
|
-
"set",
|
|
1173
|
-
"public-static-method",
|
|
1174
|
-
"protected-static-method",
|
|
1175
|
-
"private-static-method",
|
|
1176
|
-
"#private-static-method",
|
|
1177
|
-
"public-decorated-method",
|
|
1178
|
-
"protected-decorated-method",
|
|
1179
|
-
"private-decorated-method",
|
|
1180
|
-
"public-instance-method",
|
|
1181
|
-
"protected-instance-method",
|
|
1182
|
-
"private-instance-method",
|
|
1183
|
-
"#private-instance-method",
|
|
1184
|
-
"public-abstract-method",
|
|
1185
|
-
"protected-abstract-method",
|
|
1186
|
-
"public-method",
|
|
1187
|
-
"protected-method",
|
|
1188
|
-
"private-method",
|
|
1189
|
-
"#private-method",
|
|
1190
|
-
"static-method",
|
|
1191
|
-
"instance-method",
|
|
1192
|
-
"abstract-method",
|
|
1193
|
-
"decorated-method",
|
|
1194
|
-
"method"
|
|
1195
|
-
];
|
|
1196
864
|
readonly optionalityOrder: "required-first";
|
|
1197
|
-
readonly order: "as-written";
|
|
1198
865
|
};
|
|
1199
866
|
}
|
|
1200
867
|
];
|
|
1201
|
-
readonly "@typescript-eslint/method-signature-style":
|
|
1202
|
-
"error",
|
|
1203
|
-
"property"
|
|
1204
|
-
];
|
|
868
|
+
readonly "@typescript-eslint/method-signature-style": "error";
|
|
1205
869
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
1206
|
-
readonly "@typescript-eslint/no-base-to-string":
|
|
1207
|
-
"error",
|
|
1208
|
-
{
|
|
1209
|
-
readonly checkUnknown: false;
|
|
1210
|
-
readonly ignoredTypeNames: readonly [
|
|
1211
|
-
"Error",
|
|
1212
|
-
"RegExp",
|
|
1213
|
-
"URL",
|
|
1214
|
-
"URLSearchParams"
|
|
1215
|
-
];
|
|
1216
|
-
}
|
|
1217
|
-
];
|
|
870
|
+
readonly "@typescript-eslint/no-base-to-string": "error";
|
|
1218
871
|
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
|
1219
872
|
readonly "@typescript-eslint/no-confusing-void-expression": readonly [
|
|
1220
873
|
"error",
|
|
@@ -1225,62 +878,32 @@ export declare const defaults: {
|
|
|
1225
878
|
}
|
|
1226
879
|
];
|
|
1227
880
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
1228
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents":
|
|
1229
|
-
"error",
|
|
1230
|
-
{
|
|
1231
|
-
readonly ignoreIntersections: false;
|
|
1232
|
-
readonly ignoreUnions: false;
|
|
1233
|
-
}
|
|
1234
|
-
];
|
|
881
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": "error";
|
|
1235
882
|
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
|
1236
|
-
readonly "@typescript-eslint/no-empty-object-type":
|
|
1237
|
-
"error",
|
|
1238
|
-
{
|
|
1239
|
-
readonly allowInterfaces: "never";
|
|
1240
|
-
readonly allowObjectTypes: "never";
|
|
1241
|
-
}
|
|
1242
|
-
];
|
|
883
|
+
readonly "@typescript-eslint/no-empty-object-type": "error";
|
|
1243
884
|
readonly "@typescript-eslint/no-explicit-any": readonly [
|
|
1244
885
|
"error",
|
|
1245
886
|
{
|
|
1246
887
|
readonly fixToUnknown: true;
|
|
1247
|
-
readonly ignoreRestArgs: false;
|
|
1248
888
|
}
|
|
1249
889
|
];
|
|
1250
890
|
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
|
1251
891
|
readonly "@typescript-eslint/no-extraneous-class": readonly [
|
|
1252
892
|
"error",
|
|
1253
893
|
{
|
|
1254
|
-
readonly allowConstructorOnly: false;
|
|
1255
894
|
readonly allowEmpty: true;
|
|
1256
|
-
readonly allowStaticOnly: false;
|
|
1257
|
-
readonly allowWithDecorator: false;
|
|
1258
895
|
}
|
|
1259
896
|
];
|
|
1260
897
|
readonly "@typescript-eslint/no-floating-promises": readonly [
|
|
1261
898
|
"error",
|
|
1262
899
|
{
|
|
1263
900
|
readonly checkThenables: true;
|
|
1264
|
-
readonly ignoreVoid: true;
|
|
1265
|
-
readonly ignoreIIFE: false;
|
|
1266
901
|
}
|
|
1267
902
|
];
|
|
1268
903
|
readonly "@typescript-eslint/no-for-in-array": "error";
|
|
1269
904
|
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
|
1270
|
-
readonly "@typescript-eslint/no-inferrable-types":
|
|
1271
|
-
|
|
1272
|
-
{
|
|
1273
|
-
readonly ignoreParameters: false;
|
|
1274
|
-
readonly ignoreProperties: false;
|
|
1275
|
-
}
|
|
1276
|
-
];
|
|
1277
|
-
readonly "@typescript-eslint/no-invalid-void-type": readonly [
|
|
1278
|
-
"error",
|
|
1279
|
-
{
|
|
1280
|
-
readonly allowInGenericTypeArguments: true;
|
|
1281
|
-
readonly allowAsThisParameter: false;
|
|
1282
|
-
}
|
|
1283
|
-
];
|
|
905
|
+
readonly "@typescript-eslint/no-inferrable-types": "error";
|
|
906
|
+
readonly "@typescript-eslint/no-invalid-void-type": "error";
|
|
1284
907
|
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [
|
|
1285
908
|
"error",
|
|
1286
909
|
{
|
|
@@ -1288,72 +911,21 @@ export declare const defaults: {
|
|
|
1288
911
|
}
|
|
1289
912
|
];
|
|
1290
913
|
readonly "@typescript-eslint/no-misused-new": "error";
|
|
1291
|
-
readonly "@typescript-eslint/no-misused-promises":
|
|
1292
|
-
|
|
1293
|
-
{
|
|
1294
|
-
readonly checksConditionals: true;
|
|
1295
|
-
readonly checksSpreads: true;
|
|
1296
|
-
readonly checksVoidReturn: {
|
|
1297
|
-
readonly arguments: true;
|
|
1298
|
-
readonly attributes: true;
|
|
1299
|
-
readonly properties: true;
|
|
1300
|
-
readonly returns: true;
|
|
1301
|
-
readonly variables: true;
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
];
|
|
1305
|
-
readonly "@typescript-eslint/no-misused-spread": readonly [
|
|
1306
|
-
"error",
|
|
1307
|
-
{
|
|
1308
|
-
readonly allow: readonly [
|
|
1309
|
-
];
|
|
1310
|
-
}
|
|
1311
|
-
];
|
|
914
|
+
readonly "@typescript-eslint/no-misused-promises": "error";
|
|
915
|
+
readonly "@typescript-eslint/no-misused-spread": "error";
|
|
1312
916
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
1313
917
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
1314
918
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
1315
919
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
1316
|
-
readonly "@typescript-eslint/no-require-imports":
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
];
|
|
1321
|
-
}
|
|
1322
|
-
];
|
|
1323
|
-
readonly "@typescript-eslint/no-this-alias": readonly [
|
|
1324
|
-
"error",
|
|
1325
|
-
{
|
|
1326
|
-
readonly allowDestructuring: true;
|
|
1327
|
-
readonly allowedNames: readonly [
|
|
1328
|
-
];
|
|
1329
|
-
}
|
|
1330
|
-
];
|
|
1331
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly [
|
|
1332
|
-
"error",
|
|
1333
|
-
{
|
|
1334
|
-
readonly allowComparingNullableBooleansToTrue: true;
|
|
1335
|
-
readonly allowComparingNullableBooleansToFalse: true;
|
|
1336
|
-
}
|
|
1337
|
-
];
|
|
1338
|
-
readonly "@typescript-eslint/no-unnecessary-condition": readonly [
|
|
1339
|
-
"error",
|
|
1340
|
-
{
|
|
1341
|
-
readonly allowConstantLoopConditions: "never";
|
|
1342
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1343
|
-
}
|
|
1344
|
-
];
|
|
920
|
+
readonly "@typescript-eslint/no-require-imports": "error";
|
|
921
|
+
readonly "@typescript-eslint/no-this-alias": "error";
|
|
922
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error";
|
|
923
|
+
readonly "@typescript-eslint/no-unnecessary-condition": "error";
|
|
1345
924
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
|
1346
925
|
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
|
1347
926
|
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
|
1348
927
|
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
|
1349
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion":
|
|
1350
|
-
"error",
|
|
1351
|
-
{
|
|
1352
|
-
readonly checkLiteralConstAssertions: false;
|
|
1353
|
-
readonly typesToIgnore: readonly [
|
|
1354
|
-
];
|
|
1355
|
-
}
|
|
1356
|
-
];
|
|
928
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": "error";
|
|
1357
929
|
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
|
1358
930
|
readonly "@typescript-eslint/no-unnecessary-type-conversion": "error";
|
|
1359
931
|
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
|
@@ -1380,77 +952,18 @@ export declare const defaults: {
|
|
|
1380
952
|
readonly "@typescript-eslint/prefer-for-of": "error";
|
|
1381
953
|
readonly "@typescript-eslint/prefer-function-type": "error";
|
|
1382
954
|
readonly "@typescript-eslint/prefer-includes": "error";
|
|
1383
|
-
readonly "@typescript-eslint/prefer-literal-enum-member":
|
|
1384
|
-
"error",
|
|
1385
|
-
{
|
|
1386
|
-
readonly allowBitwiseExpressions: false;
|
|
1387
|
-
}
|
|
1388
|
-
];
|
|
955
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": "error";
|
|
1389
956
|
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
|
1390
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing":
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1394
|
-
readonly ignoreBooleanCoercion: false;
|
|
1395
|
-
readonly ignoreConditionalTests: false;
|
|
1396
|
-
readonly ignoreIfStatements: false;
|
|
1397
|
-
readonly ignoreMixedLogicalExpressions: false;
|
|
1398
|
-
readonly ignorePrimitives: {
|
|
1399
|
-
readonly bigint: false;
|
|
1400
|
-
readonly boolean: false;
|
|
1401
|
-
readonly number: false;
|
|
1402
|
-
readonly string: false;
|
|
1403
|
-
};
|
|
1404
|
-
readonly ignoreTernaryTests: false;
|
|
1405
|
-
}
|
|
1406
|
-
];
|
|
1407
|
-
readonly "@typescript-eslint/prefer-optional-chain": readonly [
|
|
1408
|
-
"error",
|
|
1409
|
-
{
|
|
1410
|
-
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
|
1411
|
-
readonly checkAny: true;
|
|
1412
|
-
readonly checkBigInt: true;
|
|
1413
|
-
readonly checkBoolean: true;
|
|
1414
|
-
readonly checkNumber: true;
|
|
1415
|
-
readonly checkString: true;
|
|
1416
|
-
readonly checkUnknown: true;
|
|
1417
|
-
readonly requireNullish: false;
|
|
1418
|
-
}
|
|
1419
|
-
];
|
|
1420
|
-
readonly "@typescript-eslint/prefer-readonly": readonly [
|
|
1421
|
-
"error",
|
|
1422
|
-
{
|
|
1423
|
-
readonly onlyInlineLambdas: false;
|
|
1424
|
-
}
|
|
1425
|
-
];
|
|
957
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": "error";
|
|
958
|
+
readonly "@typescript-eslint/prefer-optional-chain": "error";
|
|
959
|
+
readonly "@typescript-eslint/prefer-readonly": "error";
|
|
1426
960
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
1427
961
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
1428
962
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
1429
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with":
|
|
1430
|
-
|
|
1431
|
-
{
|
|
1432
|
-
readonly allowSingleElementEquality: "never";
|
|
1433
|
-
}
|
|
1434
|
-
];
|
|
1435
|
-
readonly "@typescript-eslint/promise-function-async": readonly [
|
|
1436
|
-
"error",
|
|
1437
|
-
{
|
|
1438
|
-
readonly allowAny: false;
|
|
1439
|
-
readonly allowedPromiseNames: readonly [
|
|
1440
|
-
];
|
|
1441
|
-
readonly checkArrowFunctions: true;
|
|
1442
|
-
readonly checkFunctionDeclarations: true;
|
|
1443
|
-
readonly checkFunctionExpressions: true;
|
|
1444
|
-
readonly checkMethodDeclarations: true;
|
|
1445
|
-
}
|
|
1446
|
-
];
|
|
963
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": "error";
|
|
964
|
+
readonly "@typescript-eslint/promise-function-async": "error";
|
|
1447
965
|
readonly "@typescript-eslint/related-getter-setter-pairs": "error";
|
|
1448
|
-
readonly "@typescript-eslint/require-array-sort-compare":
|
|
1449
|
-
"error",
|
|
1450
|
-
{
|
|
1451
|
-
readonly ignoreStringArrays: true;
|
|
1452
|
-
}
|
|
1453
|
-
];
|
|
966
|
+
readonly "@typescript-eslint/require-array-sort-compare": "error";
|
|
1454
967
|
readonly "@typescript-eslint/restrict-plus-operands": readonly [
|
|
1455
968
|
"error",
|
|
1456
969
|
{
|
|
@@ -1459,67 +972,27 @@ export declare const defaults: {
|
|
|
1459
972
|
readonly allowNullish: false;
|
|
1460
973
|
readonly allowNumberAndString: false;
|
|
1461
974
|
readonly allowRegExp: false;
|
|
1462
|
-
readonly skipCompoundAssignments: false;
|
|
1463
975
|
}
|
|
1464
976
|
];
|
|
1465
977
|
readonly "@typescript-eslint/restrict-template-expressions": readonly [
|
|
1466
978
|
"error",
|
|
1467
979
|
{
|
|
1468
|
-
readonly allowAny: true;
|
|
1469
|
-
readonly allowArray: true;
|
|
1470
|
-
readonly allowBoolean: true;
|
|
1471
980
|
readonly allowNullish: false;
|
|
1472
|
-
readonly allowNumber: true;
|
|
1473
981
|
readonly allowNever: false;
|
|
1474
982
|
readonly allowRegExp: false;
|
|
1475
983
|
}
|
|
1476
984
|
];
|
|
1477
|
-
readonly "@typescript-eslint/return-await":
|
|
1478
|
-
"error",
|
|
1479
|
-
"in-try-catch"
|
|
1480
|
-
];
|
|
985
|
+
readonly "@typescript-eslint/return-await": "error";
|
|
1481
986
|
readonly "@typescript-eslint/strict-boolean-expressions": readonly [
|
|
1482
987
|
"error",
|
|
1483
988
|
{
|
|
1484
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1485
|
-
readonly allowAny: false;
|
|
1486
|
-
readonly allowNumber: true;
|
|
1487
|
-
readonly allowString: false;
|
|
1488
|
-
readonly allowNullableBoolean: false;
|
|
1489
|
-
readonly allowNullableEnum: false;
|
|
1490
|
-
readonly allowNullableNumber: false;
|
|
1491
989
|
readonly allowNullableObject: false;
|
|
1492
|
-
readonly
|
|
1493
|
-
}
|
|
1494
|
-
];
|
|
1495
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check": readonly [
|
|
1496
|
-
"error",
|
|
1497
|
-
{
|
|
1498
|
-
readonly allowDefaultCaseForExhaustiveSwitch: false;
|
|
1499
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
1500
|
-
readonly requireDefaultForNonUnion: true;
|
|
1501
|
-
}
|
|
1502
|
-
];
|
|
1503
|
-
readonly "@typescript-eslint/triple-slash-reference": readonly [
|
|
1504
|
-
"error",
|
|
1505
|
-
{
|
|
1506
|
-
readonly lib: "never";
|
|
1507
|
-
readonly path: "never";
|
|
1508
|
-
readonly types: "never";
|
|
1509
|
-
}
|
|
1510
|
-
];
|
|
1511
|
-
readonly "@typescript-eslint/unbound-method": readonly [
|
|
1512
|
-
"error",
|
|
1513
|
-
{
|
|
1514
|
-
readonly ignoreStatic: false;
|
|
1515
|
-
}
|
|
1516
|
-
];
|
|
1517
|
-
readonly "@typescript-eslint/unified-signatures": readonly [
|
|
1518
|
-
"error",
|
|
1519
|
-
{
|
|
1520
|
-
readonly ignoreDifferentlyNamedParameters: false;
|
|
990
|
+
readonly allowString: false;
|
|
1521
991
|
}
|
|
1522
992
|
];
|
|
993
|
+
readonly "@typescript-eslint/switch-exhaustiveness-check": "error";
|
|
994
|
+
readonly "@typescript-eslint/unbound-method": "error";
|
|
995
|
+
readonly "@typescript-eslint/unified-signatures": "error";
|
|
1523
996
|
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
|
|
1524
997
|
};
|
|
1525
998
|
} | {
|
|
@@ -1528,54 +1001,31 @@ export declare const defaults: {
|
|
|
1528
1001
|
readonly "@typescript-eslint/dot-notation": readonly [
|
|
1529
1002
|
"error",
|
|
1530
1003
|
{
|
|
1531
|
-
readonly allowKeywords: true;
|
|
1532
1004
|
readonly allowPrivateClassPropertyAccess: true;
|
|
1533
1005
|
readonly allowProtectedClassPropertyAccess: true;
|
|
1534
1006
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
1535
1007
|
}
|
|
1536
1008
|
];
|
|
1537
1009
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
1538
|
-
readonly "@typescript-eslint/no-unused-vars":
|
|
1539
|
-
"error",
|
|
1540
|
-
{
|
|
1541
|
-
readonly vars: "all";
|
|
1542
|
-
readonly args: "all";
|
|
1543
|
-
readonly caughtErrors: "all";
|
|
1544
|
-
readonly ignoreRestSiblings: false;
|
|
1545
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
1546
|
-
readonly reportUsedIgnorePattern: true;
|
|
1547
|
-
}
|
|
1548
|
-
];
|
|
1010
|
+
readonly "@typescript-eslint/no-unused-vars": "error";
|
|
1549
1011
|
readonly "@typescript-eslint/only-throw-error": readonly [
|
|
1550
1012
|
"error",
|
|
1551
1013
|
{
|
|
1552
|
-
readonly allowRethrowing: true;
|
|
1553
1014
|
readonly allowThrowingAny: false;
|
|
1554
|
-
readonly allowThrowingUnknown: false;
|
|
1555
1015
|
}
|
|
1556
1016
|
];
|
|
1557
1017
|
readonly "@typescript-eslint/prefer-destructuring": readonly [
|
|
1558
1018
|
"error",
|
|
1559
1019
|
{
|
|
1560
|
-
readonly VariableDeclarator: {
|
|
1561
|
-
readonly array: true;
|
|
1562
|
-
readonly object: true;
|
|
1563
|
-
};
|
|
1564
1020
|
readonly AssignmentExpression: {
|
|
1565
1021
|
readonly array: false;
|
|
1566
1022
|
readonly object: false;
|
|
1567
1023
|
};
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
readonly enforceForRenamedProperties: false;
|
|
1571
|
-
readonly enforceForDeclarationWithTypeAnnotation: false;
|
|
1572
1024
|
}
|
|
1573
1025
|
];
|
|
1574
1026
|
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [
|
|
1575
1027
|
"error",
|
|
1576
1028
|
{
|
|
1577
|
-
readonly allowEmptyReject: false;
|
|
1578
|
-
readonly allowThrowingAny: false;
|
|
1579
1029
|
readonly allowThrowingUnknown: true;
|
|
1580
1030
|
}
|
|
1581
1031
|
];
|
|
@@ -1591,18 +1041,8 @@ export declare const defaults: {
|
|
|
1591
1041
|
} | {
|
|
1592
1042
|
id: "enable";
|
|
1593
1043
|
rules: {
|
|
1594
|
-
readonly "mocha/handle-done-callback":
|
|
1595
|
-
|
|
1596
|
-
{
|
|
1597
|
-
readonly ignorePending: false;
|
|
1598
|
-
}
|
|
1599
|
-
];
|
|
1600
|
-
readonly "mocha/max-top-level-suites": readonly [
|
|
1601
|
-
"error",
|
|
1602
|
-
{
|
|
1603
|
-
readonly limit: 1;
|
|
1604
|
-
}
|
|
1605
|
-
];
|
|
1044
|
+
readonly "mocha/handle-done-callback": "error";
|
|
1045
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
1606
1046
|
readonly "mocha/no-async-suite": "error";
|
|
1607
1047
|
readonly "mocha/no-empty-title": "error";
|
|
1608
1048
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -1616,13 +1056,7 @@ export declare const defaults: {
|
|
|
1616
1056
|
readonly "mocha/no-return-from-async": "error";
|
|
1617
1057
|
readonly "mocha/no-sibling-hooks": "error";
|
|
1618
1058
|
readonly "mocha/no-top-level-hooks": "error";
|
|
1619
|
-
readonly "mocha/prefer-arrow-callback":
|
|
1620
|
-
"error",
|
|
1621
|
-
{
|
|
1622
|
-
readonly allowNamedFunctions: false;
|
|
1623
|
-
readonly allowUnboundThis: true;
|
|
1624
|
-
}
|
|
1625
|
-
];
|
|
1059
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
1626
1060
|
};
|
|
1627
1061
|
} | {
|
|
1628
1062
|
id: string;
|
|
@@ -1632,8 +1066,6 @@ export declare const defaults: {
|
|
|
1632
1066
|
{
|
|
1633
1067
|
readonly allowShortCircuit: true;
|
|
1634
1068
|
readonly allowTernary: true;
|
|
1635
|
-
readonly allowTaggedTemplates: true;
|
|
1636
|
-
readonly enforceForJSX: false;
|
|
1637
1069
|
}
|
|
1638
1070
|
];
|
|
1639
1071
|
};
|
|
@@ -1674,107 +1106,52 @@ export declare const defaults: {
|
|
|
1674
1106
|
readonly "svelte/no-not-function-handler": "error";
|
|
1675
1107
|
readonly "svelte/no-object-in-text-mustaches": "error";
|
|
1676
1108
|
readonly "svelte/no-raw-special-elements": "error";
|
|
1677
|
-
readonly "svelte/no-reactive-reassign":
|
|
1678
|
-
"error",
|
|
1679
|
-
{
|
|
1680
|
-
readonly props: true;
|
|
1681
|
-
}
|
|
1682
|
-
];
|
|
1109
|
+
readonly "svelte/no-reactive-reassign": "error";
|
|
1683
1110
|
readonly "svelte/no-shorthand-style-property-overrides": "error";
|
|
1684
1111
|
readonly "svelte/no-store-async": "error";
|
|
1685
1112
|
readonly "svelte/no-top-level-browser-globals": "error";
|
|
1686
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
1687
|
-
"error",
|
|
1688
|
-
{
|
|
1689
|
-
readonly ignorePrefixed: true;
|
|
1690
|
-
}
|
|
1691
|
-
];
|
|
1113
|
+
readonly "svelte/no-unknown-style-directive-property": "error";
|
|
1692
1114
|
readonly "svelte/prefer-svelte-reactivity": "error";
|
|
1693
1115
|
readonly "svelte/require-store-callbacks-use-set-param": "error";
|
|
1694
1116
|
readonly "svelte/require-store-reactive-access": "error";
|
|
1695
|
-
readonly "svelte/valid-compile":
|
|
1696
|
-
"error",
|
|
1697
|
-
{
|
|
1698
|
-
readonly ignoreWarnings: false;
|
|
1699
|
-
}
|
|
1700
|
-
];
|
|
1117
|
+
readonly "svelte/valid-compile": "error";
|
|
1701
1118
|
readonly "svelte/valid-style-parse": "error";
|
|
1702
1119
|
readonly "svelte/no-at-html-tags": "error";
|
|
1703
|
-
readonly "svelte/no-target-blank":
|
|
1704
|
-
"error",
|
|
1705
|
-
{
|
|
1706
|
-
readonly allowReferrer: false;
|
|
1707
|
-
readonly enforceDynamicLinks: "always";
|
|
1708
|
-
}
|
|
1709
|
-
];
|
|
1120
|
+
readonly "svelte/no-target-blank": "error";
|
|
1710
1121
|
readonly "svelte/block-lang": readonly [
|
|
1711
1122
|
"error",
|
|
1712
1123
|
{
|
|
1713
|
-
readonly enforceScriptPresent: true;
|
|
1714
|
-
readonly enforceStylePresent: false;
|
|
1715
1124
|
readonly script: readonly [
|
|
1716
1125
|
"ts"
|
|
1717
1126
|
];
|
|
1718
1127
|
readonly style: readonly [
|
|
1719
|
-
"css"
|
|
1720
|
-
"scss"
|
|
1128
|
+
"css"
|
|
1721
1129
|
];
|
|
1722
1130
|
}
|
|
1723
1131
|
];
|
|
1724
|
-
readonly "svelte/button-has-type":
|
|
1725
|
-
"error",
|
|
1726
|
-
{
|
|
1727
|
-
readonly button: true;
|
|
1728
|
-
readonly submit: true;
|
|
1729
|
-
readonly reset: true;
|
|
1730
|
-
}
|
|
1731
|
-
];
|
|
1132
|
+
readonly "svelte/button-has-type": "error";
|
|
1732
1133
|
readonly "svelte/no-add-event-listener": "error";
|
|
1733
1134
|
readonly "svelte/no-at-debug-tags": "error";
|
|
1734
1135
|
readonly "svelte/no-ignored-unsubscribe": "error";
|
|
1735
1136
|
readonly "svelte/no-immutable-reactive-statements": "error";
|
|
1736
|
-
readonly "svelte/no-inline-styles":
|
|
1737
|
-
"error",
|
|
1738
|
-
{
|
|
1739
|
-
readonly allowTransitions: false;
|
|
1740
|
-
}
|
|
1741
|
-
];
|
|
1137
|
+
readonly "svelte/no-inline-styles": "error";
|
|
1742
1138
|
readonly "svelte/no-reactive-functions": "error";
|
|
1743
1139
|
readonly "svelte/no-reactive-literals": "error";
|
|
1744
1140
|
readonly "svelte/no-svelte-internal": "error";
|
|
1745
|
-
readonly "svelte/no-unnecessary-state-wrap":
|
|
1746
|
-
"error",
|
|
1747
|
-
{
|
|
1748
|
-
readonly additionalReactiveClasses: readonly [
|
|
1749
|
-
];
|
|
1750
|
-
readonly allowReassign: false;
|
|
1751
|
-
}
|
|
1752
|
-
];
|
|
1141
|
+
readonly "svelte/no-unnecessary-state-wrap": "error";
|
|
1753
1142
|
readonly "svelte/no-unused-props": readonly [
|
|
1754
1143
|
"error",
|
|
1755
1144
|
{
|
|
1756
1145
|
readonly checkImportedTypes: true;
|
|
1757
|
-
readonly ignorePropertyPatterns: readonly [
|
|
1758
|
-
];
|
|
1759
|
-
readonly ignoreTypePatterns: readonly [
|
|
1760
|
-
];
|
|
1761
|
-
readonly allowUnusedNestedProperties: false;
|
|
1762
1146
|
}
|
|
1763
1147
|
];
|
|
1764
1148
|
readonly "svelte/no-unused-svelte-ignore": "error";
|
|
1765
1149
|
readonly "svelte/no-useless-children-snippet": "error";
|
|
1766
|
-
readonly "svelte/no-useless-mustaches":
|
|
1767
|
-
"error",
|
|
1768
|
-
{
|
|
1769
|
-
readonly ignoreIncludesComment: false;
|
|
1770
|
-
readonly ignoreStringEscape: false;
|
|
1771
|
-
}
|
|
1772
|
-
];
|
|
1150
|
+
readonly "svelte/no-useless-mustaches": "error";
|
|
1773
1151
|
readonly "svelte/prefer-const": readonly [
|
|
1774
1152
|
"error",
|
|
1775
1153
|
{
|
|
1776
1154
|
readonly destructuring: "all";
|
|
1777
|
-
readonly ignoreReadBeforeAssign: false;
|
|
1778
1155
|
}
|
|
1779
1156
|
];
|
|
1780
1157
|
readonly "svelte/prefer-destructured-store-props": "error";
|
|
@@ -1788,37 +1165,19 @@ export declare const defaults: {
|
|
|
1788
1165
|
"error",
|
|
1789
1166
|
{
|
|
1790
1167
|
readonly checkGlobal: true;
|
|
1791
|
-
readonly style: readonly [
|
|
1792
|
-
"type",
|
|
1793
|
-
"id",
|
|
1794
|
-
"class"
|
|
1795
|
-
];
|
|
1796
1168
|
}
|
|
1797
1169
|
];
|
|
1798
1170
|
readonly "svelte/derived-has-same-inputs-outputs": "error";
|
|
1799
1171
|
readonly "svelte/first-attribute-linebreak": readonly [
|
|
1800
1172
|
"error",
|
|
1801
1173
|
{
|
|
1802
|
-
readonly multiline: "below";
|
|
1803
1174
|
readonly singleline: "below";
|
|
1804
1175
|
}
|
|
1805
1176
|
];
|
|
1806
|
-
readonly "svelte/html-closing-bracket-new-line":
|
|
1807
|
-
"error",
|
|
1808
|
-
{
|
|
1809
|
-
readonly singleline: "never";
|
|
1810
|
-
readonly multiline: "always";
|
|
1811
|
-
readonly selfClosingTag: {
|
|
1812
|
-
readonly singleline: "never";
|
|
1813
|
-
readonly multiline: "always";
|
|
1814
|
-
};
|
|
1815
|
-
}
|
|
1816
|
-
];
|
|
1177
|
+
readonly "svelte/html-closing-bracket-new-line": "error";
|
|
1817
1178
|
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
1818
1179
|
"error",
|
|
1819
1180
|
{
|
|
1820
|
-
readonly startTag: "never";
|
|
1821
|
-
readonly endTag: "never";
|
|
1822
1181
|
readonly selfClosingTag: "never";
|
|
1823
1182
|
}
|
|
1824
1183
|
];
|
|
@@ -1827,50 +1186,14 @@ export declare const defaults: {
|
|
|
1827
1186
|
{
|
|
1828
1187
|
readonly prefer: "double";
|
|
1829
1188
|
readonly dynamic: {
|
|
1830
|
-
readonly quoted: false;
|
|
1831
1189
|
readonly avoidInvalidUnquotedInHTML: true;
|
|
1832
1190
|
};
|
|
1833
1191
|
}
|
|
1834
1192
|
];
|
|
1835
|
-
readonly "svelte/html-self-closing":
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
readonly component: "always";
|
|
1840
|
-
readonly svelte: "always";
|
|
1841
|
-
readonly normal: "ignore";
|
|
1842
|
-
}
|
|
1843
|
-
];
|
|
1844
|
-
readonly "svelte/indent": readonly [
|
|
1845
|
-
"error",
|
|
1846
|
-
{
|
|
1847
|
-
readonly indent: 2;
|
|
1848
|
-
readonly indentScript: true;
|
|
1849
|
-
readonly ignoredNodes: readonly [
|
|
1850
|
-
];
|
|
1851
|
-
readonly switchCase: 1;
|
|
1852
|
-
readonly alignAttributesVertically: false;
|
|
1853
|
-
}
|
|
1854
|
-
];
|
|
1855
|
-
readonly "svelte/max-attributes-per-line": readonly [
|
|
1856
|
-
"error",
|
|
1857
|
-
{
|
|
1858
|
-
readonly multiline: 1;
|
|
1859
|
-
readonly singleline: 1;
|
|
1860
|
-
}
|
|
1861
|
-
];
|
|
1862
|
-
readonly "svelte/mustache-spacing": readonly [
|
|
1863
|
-
"error",
|
|
1864
|
-
{
|
|
1865
|
-
readonly textExpressions: "never";
|
|
1866
|
-
readonly attributesAndProps: "never";
|
|
1867
|
-
readonly directiveExpressions: "never";
|
|
1868
|
-
readonly tags: {
|
|
1869
|
-
readonly openingBrace: "never";
|
|
1870
|
-
readonly closingBrace: "never";
|
|
1871
|
-
};
|
|
1872
|
-
}
|
|
1873
|
-
];
|
|
1193
|
+
readonly "svelte/html-self-closing": "error";
|
|
1194
|
+
readonly "svelte/indent": "error";
|
|
1195
|
+
readonly "svelte/max-attributes-per-line": "error";
|
|
1196
|
+
readonly "svelte/mustache-spacing": "error";
|
|
1874
1197
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
1875
1198
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
1876
1199
|
readonly "svelte/prefer-class-directive": readonly [
|
|
@@ -1880,45 +1203,19 @@ export declare const defaults: {
|
|
|
1880
1203
|
}
|
|
1881
1204
|
];
|
|
1882
1205
|
readonly "svelte/prefer-style-directive": "error";
|
|
1883
|
-
readonly "svelte/require-event-prefix":
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
}
|
|
1888
|
-
];
|
|
1889
|
-
readonly "svelte/shorthand-attribute": readonly [
|
|
1890
|
-
"error",
|
|
1891
|
-
{
|
|
1892
|
-
readonly prefer: "always";
|
|
1893
|
-
}
|
|
1894
|
-
];
|
|
1895
|
-
readonly "svelte/shorthand-directive": readonly [
|
|
1896
|
-
"error",
|
|
1897
|
-
{
|
|
1898
|
-
readonly prefer: "always";
|
|
1899
|
-
}
|
|
1900
|
-
];
|
|
1901
|
-
readonly "svelte/spaced-html-comment": readonly [
|
|
1902
|
-
"error",
|
|
1903
|
-
"always"
|
|
1904
|
-
];
|
|
1206
|
+
readonly "svelte/require-event-prefix": "error";
|
|
1207
|
+
readonly "svelte/shorthand-attribute": "error";
|
|
1208
|
+
readonly "svelte/shorthand-directive": "error";
|
|
1209
|
+
readonly "svelte/spaced-html-comment": "error";
|
|
1905
1210
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
1906
1211
|
readonly "svelte/no-navigation-without-base": readonly [
|
|
1907
1212
|
"error",
|
|
1908
1213
|
{
|
|
1909
|
-
readonly ignoreGoto: false;
|
|
1910
1214
|
readonly ignoreLinks: true;
|
|
1911
|
-
readonly ignorePushState: false;
|
|
1912
|
-
readonly ignoreReplaceState: false;
|
|
1913
1215
|
}
|
|
1914
1216
|
];
|
|
1915
1217
|
readonly "svelte/valid-prop-names-in-kit-pages": "error";
|
|
1916
|
-
readonly "svelte/comment-directive":
|
|
1917
|
-
"error",
|
|
1918
|
-
{
|
|
1919
|
-
readonly reportUnusedDisableDirectives: true;
|
|
1920
|
-
}
|
|
1921
|
-
];
|
|
1218
|
+
readonly "svelte/comment-directive": "error";
|
|
1922
1219
|
readonly "svelte/system": "error";
|
|
1923
1220
|
};
|
|
1924
1221
|
} | {
|
|
@@ -1926,18 +1223,9 @@ export declare const defaults: {
|
|
|
1926
1223
|
rules: {
|
|
1927
1224
|
readonly "svelte/no-inner-declarations": readonly [
|
|
1928
1225
|
"error",
|
|
1929
|
-
"both"
|
|
1930
|
-
{
|
|
1931
|
-
readonly blockScopedFunctions: "allow";
|
|
1932
|
-
}
|
|
1933
|
-
];
|
|
1934
|
-
readonly "svelte/no-trailing-spaces": readonly [
|
|
1935
|
-
"error",
|
|
1936
|
-
{
|
|
1937
|
-
readonly skipBlankLines: false;
|
|
1938
|
-
readonly ignoreComments: false;
|
|
1939
|
-
}
|
|
1226
|
+
"both"
|
|
1940
1227
|
];
|
|
1228
|
+
readonly "svelte/no-trailing-spaces": "error";
|
|
1941
1229
|
};
|
|
1942
1230
|
})[];
|
|
1943
1231
|
html: {
|
|
@@ -2071,39 +1359,18 @@ export declare const defaults: {
|
|
|
2071
1359
|
} | {
|
|
2072
1360
|
id: "enable/plugin/extension";
|
|
2073
1361
|
rules: {
|
|
2074
|
-
readonly "jsonc/array-bracket-spacing":
|
|
2075
|
-
"error",
|
|
2076
|
-
"never",
|
|
2077
|
-
{
|
|
2078
|
-
readonly singleValue: false;
|
|
2079
|
-
readonly objectsInArrays: false;
|
|
2080
|
-
readonly arraysInArrays: false;
|
|
2081
|
-
}
|
|
2082
|
-
];
|
|
1362
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
2083
1363
|
readonly "jsonc/array-element-newline": readonly [
|
|
2084
1364
|
"error",
|
|
2085
1365
|
"consistent"
|
|
2086
1366
|
];
|
|
2087
|
-
readonly "jsonc/comma-dangle":
|
|
2088
|
-
|
|
2089
|
-
"never"
|
|
2090
|
-
];
|
|
2091
|
-
readonly "jsonc/comma-style": readonly [
|
|
2092
|
-
"error",
|
|
2093
|
-
"last"
|
|
2094
|
-
];
|
|
1367
|
+
readonly "jsonc/comma-dangle": "error";
|
|
1368
|
+
readonly "jsonc/comma-style": "error";
|
|
2095
1369
|
readonly "jsonc/indent": readonly [
|
|
2096
1370
|
"error",
|
|
2097
1371
|
2
|
|
2098
1372
|
];
|
|
2099
|
-
readonly "jsonc/key-spacing":
|
|
2100
|
-
"error",
|
|
2101
|
-
{
|
|
2102
|
-
readonly beforeColon: false;
|
|
2103
|
-
readonly afterColon: true;
|
|
2104
|
-
readonly mode: "strict";
|
|
2105
|
-
}
|
|
2106
|
-
];
|
|
1373
|
+
readonly "jsonc/key-spacing": "error";
|
|
2107
1374
|
readonly "jsonc/no-floating-decimal": "error";
|
|
2108
1375
|
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
2109
1376
|
"error",
|
|
@@ -2129,25 +1396,12 @@ export declare const defaults: {
|
|
|
2129
1396
|
}
|
|
2130
1397
|
];
|
|
2131
1398
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
2132
|
-
"error",
|
|
2133
|
-
"always",
|
|
2134
|
-
{
|
|
2135
|
-
readonly arraysInObjects: true;
|
|
2136
|
-
readonly objectsInObjects: true;
|
|
2137
|
-
}
|
|
2138
|
-
];
|
|
2139
|
-
readonly "jsonc/object-property-newline": "error";
|
|
2140
|
-
readonly "jsonc/quote-props": readonly [
|
|
2141
1399
|
"error",
|
|
2142
1400
|
"always"
|
|
2143
1401
|
];
|
|
2144
|
-
readonly "jsonc/
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
{
|
|
2148
|
-
readonly avoidEscape: false;
|
|
2149
|
-
}
|
|
2150
|
-
];
|
|
1402
|
+
readonly "jsonc/object-property-newline": "error";
|
|
1403
|
+
readonly "jsonc/quote-props": "error";
|
|
1404
|
+
readonly "jsonc/quotes": "error";
|
|
2151
1405
|
readonly "jsonc/space-unary-ops": "error";
|
|
2152
1406
|
};
|
|
2153
1407
|
})[];
|
|
@@ -2169,60 +1423,24 @@ export declare const defaults: {
|
|
|
2169
1423
|
yml: ({
|
|
2170
1424
|
id: "enable/plugin";
|
|
2171
1425
|
rules: {
|
|
2172
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
readonly "yml/block-
|
|
2177
|
-
"error",
|
|
2178
|
-
"never"
|
|
2179
|
-
];
|
|
2180
|
-
readonly "yml/block-mapping": readonly [
|
|
2181
|
-
"error",
|
|
2182
|
-
{
|
|
2183
|
-
readonly singleline: "ignore";
|
|
2184
|
-
readonly multiline: "always";
|
|
2185
|
-
}
|
|
2186
|
-
];
|
|
2187
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly [
|
|
2188
|
-
"error",
|
|
2189
|
-
"never",
|
|
2190
|
-
{
|
|
2191
|
-
readonly nestedHyphen: "always";
|
|
2192
|
-
readonly blockMapping: "never";
|
|
2193
|
-
}
|
|
2194
|
-
];
|
|
2195
|
-
readonly "yml/block-sequence": readonly [
|
|
2196
|
-
"error",
|
|
2197
|
-
{
|
|
2198
|
-
readonly singleline: "ignore";
|
|
2199
|
-
readonly multiline: "always";
|
|
2200
|
-
}
|
|
2201
|
-
];
|
|
1426
|
+
readonly "yml/block-mapping-colon-indicator-newline": "error";
|
|
1427
|
+
readonly "yml/block-mapping-question-indicator-newline": "error";
|
|
1428
|
+
readonly "yml/block-mapping": "error";
|
|
1429
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": "error";
|
|
1430
|
+
readonly "yml/block-sequence": "error";
|
|
2202
1431
|
readonly "yml/indent": readonly [
|
|
2203
1432
|
"error",
|
|
2204
1433
|
2,
|
|
2205
1434
|
{
|
|
2206
1435
|
readonly alignMultilineFlowScalars: true;
|
|
2207
|
-
readonly indentBlockSequences: true;
|
|
2208
|
-
readonly indicatorValueIndent: 2;
|
|
2209
1436
|
}
|
|
2210
1437
|
];
|
|
2211
1438
|
readonly "yml/no-empty-key": "error";
|
|
2212
1439
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
2213
1440
|
readonly "yml/no-tab-indent": "error";
|
|
2214
1441
|
readonly "yml/no-trailing-zeros": "error";
|
|
2215
|
-
readonly "yml/plain-scalar":
|
|
2216
|
-
|
|
2217
|
-
"always"
|
|
2218
|
-
];
|
|
2219
|
-
readonly "yml/quotes": readonly [
|
|
2220
|
-
"error",
|
|
2221
|
-
{
|
|
2222
|
-
readonly prefer: "double";
|
|
2223
|
-
readonly avoidEscape: true;
|
|
2224
|
-
}
|
|
2225
|
-
];
|
|
1442
|
+
readonly "yml/plain-scalar": "error";
|
|
1443
|
+
readonly "yml/quotes": "error";
|
|
2226
1444
|
readonly "yml/require-string-key": "error";
|
|
2227
1445
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
2228
1446
|
};
|
|
@@ -2239,43 +1457,12 @@ export declare const defaults: {
|
|
|
2239
1457
|
];
|
|
2240
1458
|
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
2241
1459
|
"error",
|
|
2242
|
-
"always"
|
|
2243
|
-
{
|
|
2244
|
-
readonly arraysInObjects: true;
|
|
2245
|
-
readonly objectsInObjects: true;
|
|
2246
|
-
}
|
|
2247
|
-
];
|
|
2248
|
-
readonly "yml/flow-sequence-bracket-newline": readonly [
|
|
2249
|
-
"error",
|
|
2250
|
-
{
|
|
2251
|
-
readonly multiline: true;
|
|
2252
|
-
readonly minItems: null;
|
|
2253
|
-
}
|
|
2254
|
-
];
|
|
2255
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly [
|
|
2256
|
-
"error",
|
|
2257
|
-
"never",
|
|
2258
|
-
{
|
|
2259
|
-
readonly singleValue: false;
|
|
2260
|
-
readonly objectsInArrays: false;
|
|
2261
|
-
readonly arraysInArrays: false;
|
|
2262
|
-
}
|
|
2263
|
-
];
|
|
2264
|
-
readonly "yml/key-spacing": readonly [
|
|
2265
|
-
"error",
|
|
2266
|
-
{
|
|
2267
|
-
readonly beforeColon: false;
|
|
2268
|
-
readonly afterColon: true;
|
|
2269
|
-
readonly mode: "strict";
|
|
2270
|
-
}
|
|
2271
|
-
];
|
|
2272
|
-
readonly "yml/no-irregular-whitespace": readonly [
|
|
2273
|
-
"error",
|
|
2274
|
-
{
|
|
2275
|
-
readonly skipQuotedScalars: true;
|
|
2276
|
-
readonly skipComments: false;
|
|
2277
|
-
}
|
|
1460
|
+
"always"
|
|
2278
1461
|
];
|
|
1462
|
+
readonly "yml/flow-sequence-bracket-newline": "error";
|
|
1463
|
+
readonly "yml/flow-sequence-bracket-spacing": "error";
|
|
1464
|
+
readonly "yml/key-spacing": "error";
|
|
1465
|
+
readonly "yml/no-irregular-whitespace": "error";
|
|
2279
1466
|
readonly "yml/no-multiple-empty-lines": readonly [
|
|
2280
1467
|
"error",
|
|
2281
1468
|
{
|