@eslinted/defaults 17.0.0-rc.0 → 17.0.0-rc.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/dist/index.d.ts +162 -162
- package/dist/rules/index.d.ts +162 -162
- package/dist/rules/js.d.ts +67 -67
- package/dist/rules/js.stylistic.d.ts +67 -67
- package/dist/rules/js.stylistic.js +67 -67
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +3 -3
- package/dist/rules/svelte/disable.js +3 -3
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -1
- package/dist/rules/svelte/extend.js +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +4 -4
- package/dist/rules/ts/extend.d.ts +7 -7
- package/dist/rules/ts/extend.js +7 -7
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +91 -91
- package/dist/rules/ts/ts.d.ts +84 -84
- package/dist/rules/ts/ts.js +84 -84
- package/dist/rules/ts/ts.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/js.stylistic.ts +74 -74
- package/src/rules/json/plugin/extend.ts +7 -7
- package/src/rules/svelte/disable.ts +3 -3
- package/src/rules/svelte/extend.ts +2 -2
- package/src/rules/svelte/svelte.ts +1 -1
- package/src/rules/ts/extend.ts +9 -9
- package/src/rules/ts/ts.ts +101 -101
- package/src/rules/yml/extend.ts +3 -3
package/dist/rules/index.d.ts
CHANGED
|
@@ -308,9 +308,9 @@ declare const _default: {
|
|
|
308
308
|
} | {
|
|
309
309
|
name: string;
|
|
310
310
|
rules: {
|
|
311
|
-
readonly "
|
|
312
|
-
readonly "
|
|
313
|
-
readonly "
|
|
311
|
+
readonly "stylistic/array-bracket-newline": import("./state.js").State.ON;
|
|
312
|
+
readonly "stylistic/array-bracket-spacing": import("./state.js").State.ON;
|
|
313
|
+
readonly "stylistic/array-element-newline": readonly [
|
|
314
314
|
import("./state.js").State.ON,
|
|
315
315
|
{
|
|
316
316
|
readonly consistent: true;
|
|
@@ -318,44 +318,44 @@ declare const _default: {
|
|
|
318
318
|
readonly minItems: 3;
|
|
319
319
|
}
|
|
320
320
|
];
|
|
321
|
-
readonly "
|
|
321
|
+
readonly "stylistic/arrow-parens": readonly [
|
|
322
322
|
import("./state.js").State.ON,
|
|
323
323
|
"as-needed"
|
|
324
324
|
];
|
|
325
|
-
readonly "
|
|
326
|
-
readonly "
|
|
327
|
-
readonly "
|
|
325
|
+
readonly "stylistic/arrow-spacing": import("./state.js").State.ON;
|
|
326
|
+
readonly "stylistic/block-spacing": import("./state.js").State.ON;
|
|
327
|
+
readonly "stylistic/brace-style": readonly [
|
|
328
328
|
import("./state.js").State.ON,
|
|
329
329
|
"stroustrup",
|
|
330
330
|
{
|
|
331
331
|
readonly allowSingleLine: true;
|
|
332
332
|
}
|
|
333
333
|
];
|
|
334
|
-
readonly "
|
|
334
|
+
readonly "stylistic/comma-dangle": readonly [
|
|
335
335
|
import("./state.js").State.ON,
|
|
336
336
|
"always-multiline"
|
|
337
337
|
];
|
|
338
|
-
readonly "
|
|
339
|
-
readonly "
|
|
340
|
-
readonly "
|
|
341
|
-
readonly "
|
|
342
|
-
readonly "
|
|
338
|
+
readonly "stylistic/comma-spacing": import("./state.js").State.ON;
|
|
339
|
+
readonly "stylistic/comma-style": import("./state.js").State.ON;
|
|
340
|
+
readonly "stylistic/computed-property-spacing": import("./state.js").State.ON;
|
|
341
|
+
readonly "stylistic/curly-newline": import("./state.js").State.ON;
|
|
342
|
+
readonly "stylistic/dot-location": readonly [
|
|
343
343
|
import("./state.js").State.ON,
|
|
344
344
|
"property"
|
|
345
345
|
];
|
|
346
|
-
readonly "
|
|
347
|
-
readonly "
|
|
346
|
+
readonly "stylistic/eol-last": import("./state.js").State.ON;
|
|
347
|
+
readonly "stylistic/function-call-argument-newline": readonly [
|
|
348
348
|
import("./state.js").State.ON,
|
|
349
349
|
"consistent"
|
|
350
350
|
];
|
|
351
|
-
readonly "
|
|
352
|
-
readonly "
|
|
351
|
+
readonly "stylistic/function-call-spacing": import("./state.js").State.ON;
|
|
352
|
+
readonly "stylistic/function-paren-newline": readonly [
|
|
353
353
|
import("./state.js").State.ON,
|
|
354
354
|
"multiline-arguments"
|
|
355
355
|
];
|
|
356
|
-
readonly "
|
|
357
|
-
readonly "
|
|
358
|
-
readonly "
|
|
356
|
+
readonly "stylistic/generator-star-spacing": import("./state.js").State.ON;
|
|
357
|
+
readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.ON;
|
|
358
|
+
readonly "stylistic/indent": readonly [
|
|
359
359
|
import("./state.js").State.ON,
|
|
360
360
|
2,
|
|
361
361
|
{
|
|
@@ -369,13 +369,13 @@ declare const _default: {
|
|
|
369
369
|
readonly offsetTernaryExpressions: true;
|
|
370
370
|
}
|
|
371
371
|
];
|
|
372
|
-
readonly "
|
|
372
|
+
readonly "stylistic/indent-binary-ops": readonly [
|
|
373
373
|
import("./state.js").State.ON,
|
|
374
374
|
2
|
|
375
375
|
];
|
|
376
|
-
readonly "
|
|
377
|
-
readonly "
|
|
378
|
-
readonly "
|
|
376
|
+
readonly "stylistic/key-spacing": import("./state.js").State.ON;
|
|
377
|
+
readonly "stylistic/keyword-spacing": import("./state.js").State.ON;
|
|
378
|
+
readonly "stylistic/lines-between-class-members": readonly [
|
|
379
379
|
import("./state.js").State.ON,
|
|
380
380
|
{
|
|
381
381
|
readonly enforce: readonly [
|
|
@@ -397,7 +397,7 @@ declare const _default: {
|
|
|
397
397
|
];
|
|
398
398
|
}
|
|
399
399
|
];
|
|
400
|
-
readonly "
|
|
400
|
+
readonly "stylistic/max-len": readonly [
|
|
401
401
|
import("./state.js").State.ON,
|
|
402
402
|
{
|
|
403
403
|
readonly code: 300;
|
|
@@ -409,18 +409,18 @@ declare const _default: {
|
|
|
409
409
|
readonly ignoreRegExpLiterals: true;
|
|
410
410
|
}
|
|
411
411
|
];
|
|
412
|
-
readonly "
|
|
413
|
-
readonly "
|
|
414
|
-
readonly "
|
|
412
|
+
readonly "stylistic/max-statements-per-line": import("./state.js").State.ON;
|
|
413
|
+
readonly "stylistic/member-delimiter-style": import("./state.js").State.ON;
|
|
414
|
+
readonly "stylistic/multiline-ternary": readonly [
|
|
415
415
|
import("./state.js").State.ON,
|
|
416
416
|
"always-multiline"
|
|
417
417
|
];
|
|
418
|
-
readonly "
|
|
419
|
-
readonly "
|
|
420
|
-
readonly "
|
|
421
|
-
readonly "
|
|
422
|
-
readonly "
|
|
423
|
-
readonly "
|
|
418
|
+
readonly "stylistic/newline-per-chained-call": import("./state.js").State.ON;
|
|
419
|
+
readonly "stylistic/no-extra-parens": import("./state.js").State.ON;
|
|
420
|
+
readonly "stylistic/no-extra-semi": import("./state.js").State.ON;
|
|
421
|
+
readonly "stylistic/no-floating-decimal": import("./state.js").State.ON;
|
|
422
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.ON;
|
|
423
|
+
readonly "stylistic/no-multi-spaces": readonly [
|
|
424
424
|
import("./state.js").State.ON,
|
|
425
425
|
{
|
|
426
426
|
readonly exceptions: {
|
|
@@ -429,7 +429,7 @@ declare const _default: {
|
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
];
|
|
432
|
-
readonly "
|
|
432
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
433
433
|
import("./state.js").State.ON,
|
|
434
434
|
{
|
|
435
435
|
readonly max: 1;
|
|
@@ -437,14 +437,14 @@ declare const _default: {
|
|
|
437
437
|
readonly maxEOF: 0;
|
|
438
438
|
}
|
|
439
439
|
];
|
|
440
|
-
readonly "
|
|
441
|
-
readonly "
|
|
442
|
-
readonly "
|
|
443
|
-
readonly "
|
|
440
|
+
readonly "stylistic/no-tabs": import("./state.js").State.ON;
|
|
441
|
+
readonly "stylistic/no-trailing-spaces": import("./state.js").State.ON;
|
|
442
|
+
readonly "stylistic/no-whitespace-before-property": import("./state.js").State.ON;
|
|
443
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
444
444
|
import("./state.js").State.ON,
|
|
445
445
|
"below"
|
|
446
446
|
];
|
|
447
|
-
readonly "
|
|
447
|
+
readonly "stylistic/object-curly-newline": readonly [
|
|
448
448
|
import("./state.js").State.ON,
|
|
449
449
|
{
|
|
450
450
|
readonly consistent: true;
|
|
@@ -452,30 +452,30 @@ declare const _default: {
|
|
|
452
452
|
readonly minProperties: 3;
|
|
453
453
|
}
|
|
454
454
|
];
|
|
455
|
-
readonly "
|
|
455
|
+
readonly "stylistic/object-curly-spacing": readonly [
|
|
456
456
|
import("./state.js").State.ON,
|
|
457
457
|
"always",
|
|
458
458
|
{
|
|
459
459
|
readonly emptyObjects: "never";
|
|
460
460
|
}
|
|
461
461
|
];
|
|
462
|
-
readonly "
|
|
463
|
-
readonly "
|
|
462
|
+
readonly "stylistic/object-property-newline": import("./state.js").State.ON;
|
|
463
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
464
464
|
import("./state.js").State.ON,
|
|
465
465
|
"always"
|
|
466
466
|
];
|
|
467
|
-
readonly "
|
|
467
|
+
readonly "stylistic/operator-linebreak": readonly [
|
|
468
468
|
import("./state.js").State.ON,
|
|
469
469
|
"before"
|
|
470
470
|
];
|
|
471
|
-
readonly "
|
|
471
|
+
readonly "stylistic/padded-blocks": readonly [
|
|
472
472
|
import("./state.js").State.ON,
|
|
473
473
|
"never",
|
|
474
474
|
{
|
|
475
475
|
readonly allowSingleLineBlocks: true;
|
|
476
476
|
}
|
|
477
477
|
];
|
|
478
|
-
readonly "
|
|
478
|
+
readonly "stylistic/padding-line-between-statements": readonly [
|
|
479
479
|
import("./state.js").State.WARN,
|
|
480
480
|
{
|
|
481
481
|
readonly blankLine: "never";
|
|
@@ -660,14 +660,14 @@ declare const _default: {
|
|
|
660
660
|
];
|
|
661
661
|
}
|
|
662
662
|
];
|
|
663
|
-
readonly "
|
|
663
|
+
readonly "stylistic/quote-props": readonly [
|
|
664
664
|
import("./state.js").State.ON,
|
|
665
665
|
"as-needed",
|
|
666
666
|
{
|
|
667
667
|
readonly keywords: true;
|
|
668
668
|
}
|
|
669
669
|
];
|
|
670
|
-
readonly "
|
|
670
|
+
readonly "stylistic/quotes": readonly [
|
|
671
671
|
import("./state.js").State.ON,
|
|
672
672
|
"double",
|
|
673
673
|
{
|
|
@@ -675,21 +675,21 @@ declare const _default: {
|
|
|
675
675
|
readonly allowTemplateLiterals: "always";
|
|
676
676
|
}
|
|
677
677
|
];
|
|
678
|
-
readonly "
|
|
679
|
-
readonly "
|
|
680
|
-
readonly "
|
|
681
|
-
readonly "
|
|
682
|
-
readonly "
|
|
683
|
-
readonly "
|
|
678
|
+
readonly "stylistic/rest-spread-spacing": import("./state.js").State.ON;
|
|
679
|
+
readonly "stylistic/semi": import("./state.js").State.ON;
|
|
680
|
+
readonly "stylistic/semi-spacing": import("./state.js").State.ON;
|
|
681
|
+
readonly "stylistic/semi-style": import("./state.js").State.ON;
|
|
682
|
+
readonly "stylistic/space-before-blocks": import("./state.js").State.ON;
|
|
683
|
+
readonly "stylistic/space-before-function-paren": readonly [
|
|
684
684
|
import("./state.js").State.ON,
|
|
685
685
|
{
|
|
686
686
|
readonly named: "never";
|
|
687
687
|
}
|
|
688
688
|
];
|
|
689
|
-
readonly "
|
|
690
|
-
readonly "
|
|
691
|
-
readonly "
|
|
692
|
-
readonly "
|
|
689
|
+
readonly "stylistic/space-in-parens": import("./state.js").State.ON;
|
|
690
|
+
readonly "stylistic/space-infix-ops": import("./state.js").State.ON;
|
|
691
|
+
readonly "stylistic/space-unary-ops": import("./state.js").State.ON;
|
|
692
|
+
readonly "stylistic/spaced-comment": readonly [
|
|
693
693
|
import("./state.js").State.ON,
|
|
694
694
|
"always",
|
|
695
695
|
{
|
|
@@ -724,10 +724,10 @@ declare const _default: {
|
|
|
724
724
|
};
|
|
725
725
|
}
|
|
726
726
|
];
|
|
727
|
-
readonly "
|
|
728
|
-
readonly "
|
|
729
|
-
readonly "
|
|
730
|
-
readonly "
|
|
727
|
+
readonly "stylistic/switch-colon-spacing": import("./state.js").State.ON;
|
|
728
|
+
readonly "stylistic/template-curly-spacing": import("./state.js").State.ON;
|
|
729
|
+
readonly "stylistic/template-tag-spacing": import("./state.js").State.ON;
|
|
730
|
+
readonly "stylistic/type-annotation-spacing": readonly [
|
|
731
731
|
import("./state.js").State.ON,
|
|
732
732
|
{
|
|
733
733
|
readonly before: true;
|
|
@@ -740,17 +740,17 @@ declare const _default: {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
];
|
|
743
|
-
readonly "
|
|
744
|
-
readonly "
|
|
745
|
-
readonly "
|
|
743
|
+
readonly "stylistic/type-generic-spacing": import("./state.js").State.ON;
|
|
744
|
+
readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.ON;
|
|
745
|
+
readonly "stylistic/wrap-iife": readonly [
|
|
746
746
|
import("./state.js").State.ON,
|
|
747
747
|
"inside",
|
|
748
748
|
{
|
|
749
749
|
readonly functionPrototypeMethods: true;
|
|
750
750
|
}
|
|
751
751
|
];
|
|
752
|
-
readonly "
|
|
753
|
-
readonly "
|
|
752
|
+
readonly "stylistic/wrap-regex": import("./state.js").State.ON;
|
|
753
|
+
readonly "stylistic/yield-star-spacing": import("./state.js").State.ON;
|
|
754
754
|
};
|
|
755
755
|
})[];
|
|
756
756
|
ts: ({
|
|
@@ -779,22 +779,22 @@ declare const _default: {
|
|
|
779
779
|
} | {
|
|
780
780
|
name: string;
|
|
781
781
|
rules: {
|
|
782
|
-
readonly "
|
|
783
|
-
readonly "
|
|
784
|
-
readonly "
|
|
785
|
-
readonly "
|
|
786
|
-
readonly "
|
|
787
|
-
readonly "
|
|
788
|
-
readonly "
|
|
782
|
+
readonly "ts/await-thenable": import("./state.js").State.ON;
|
|
783
|
+
readonly "ts/ban-ts-comment": import("./state.js").State.ON;
|
|
784
|
+
readonly "ts/ban-tslint-comment": import("./state.js").State.ON;
|
|
785
|
+
readonly "ts/class-literal-property-style": import("./state.js").State.ON;
|
|
786
|
+
readonly "ts/consistent-generic-constructors": import("./state.js").State.ON;
|
|
787
|
+
readonly "ts/consistent-indexed-object-style": import("./state.js").State.ON;
|
|
788
|
+
readonly "ts/consistent-type-assertions": readonly [
|
|
789
789
|
import("./state.js").State.ON,
|
|
790
790
|
{
|
|
791
791
|
readonly arrayLiteralTypeAssertions: "never";
|
|
792
792
|
readonly objectLiteralTypeAssertions: "never";
|
|
793
793
|
}
|
|
794
794
|
];
|
|
795
|
-
readonly "
|
|
796
|
-
readonly "
|
|
797
|
-
readonly "
|
|
795
|
+
readonly "ts/consistent-type-exports": import("./state.js").State.ON;
|
|
796
|
+
readonly "ts/consistent-type-imports": import("./state.js").State.ON;
|
|
797
|
+
readonly "ts/explicit-member-accessibility": readonly [
|
|
798
798
|
import("./state.js").State.ON,
|
|
799
799
|
{
|
|
800
800
|
readonly overrides: {
|
|
@@ -802,7 +802,7 @@ declare const _default: {
|
|
|
802
802
|
};
|
|
803
803
|
}
|
|
804
804
|
];
|
|
805
|
-
readonly "
|
|
805
|
+
readonly "ts/member-ordering": readonly [
|
|
806
806
|
import("./state.js").State.ON,
|
|
807
807
|
{
|
|
808
808
|
readonly default: {
|
|
@@ -810,102 +810,102 @@ declare const _default: {
|
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
812
|
];
|
|
813
|
-
readonly "
|
|
814
|
-
readonly "
|
|
815
|
-
readonly "
|
|
816
|
-
readonly "
|
|
817
|
-
readonly "
|
|
818
|
-
readonly "
|
|
819
|
-
readonly "
|
|
820
|
-
readonly "
|
|
821
|
-
readonly "
|
|
822
|
-
readonly "
|
|
813
|
+
readonly "ts/method-signature-style": import("./state.js").State.ON;
|
|
814
|
+
readonly "ts/no-array-delete": import("./state.js").State.ON;
|
|
815
|
+
readonly "ts/no-base-to-string": import("./state.js").State.ON;
|
|
816
|
+
readonly "ts/no-confusing-non-null-assertion": import("./state.js").State.ON;
|
|
817
|
+
readonly "ts/no-confusing-void-expression": import("./state.js").State.ON;
|
|
818
|
+
readonly "ts/no-duplicate-enum-values": import("./state.js").State.ON;
|
|
819
|
+
readonly "ts/no-duplicate-type-constituents": import("./state.js").State.ON;
|
|
820
|
+
readonly "ts/no-dynamic-delete": import("./state.js").State.ON;
|
|
821
|
+
readonly "ts/no-empty-object-type": import("./state.js").State.ON;
|
|
822
|
+
readonly "ts/no-explicit-any": readonly [
|
|
823
823
|
import("./state.js").State.ON,
|
|
824
824
|
{
|
|
825
825
|
readonly fixToUnknown: true;
|
|
826
826
|
}
|
|
827
827
|
];
|
|
828
|
-
readonly "
|
|
829
|
-
readonly "
|
|
828
|
+
readonly "ts/no-extra-non-null-assertion": import("./state.js").State.ON;
|
|
829
|
+
readonly "ts/no-extraneous-class": readonly [
|
|
830
830
|
import("./state.js").State.ON,
|
|
831
831
|
{
|
|
832
832
|
readonly allowEmpty: true;
|
|
833
833
|
}
|
|
834
834
|
];
|
|
835
|
-
readonly "
|
|
835
|
+
readonly "ts/no-floating-promises": readonly [
|
|
836
836
|
import("./state.js").State.ON,
|
|
837
837
|
{
|
|
838
838
|
readonly checkThenables: true;
|
|
839
839
|
}
|
|
840
840
|
];
|
|
841
|
-
readonly "
|
|
842
|
-
readonly "
|
|
843
|
-
readonly "
|
|
844
|
-
readonly "
|
|
841
|
+
readonly "ts/no-for-in-array": import("./state.js").State.ON;
|
|
842
|
+
readonly "ts/no-import-type-side-effects": import("./state.js").State.ON;
|
|
843
|
+
readonly "ts/no-inferrable-types": import("./state.js").State.ON;
|
|
844
|
+
readonly "ts/no-meaningless-void-operator": readonly [
|
|
845
845
|
import("./state.js").State.ON,
|
|
846
846
|
{
|
|
847
847
|
readonly checkNever: true;
|
|
848
848
|
}
|
|
849
849
|
];
|
|
850
|
-
readonly "
|
|
851
|
-
readonly "
|
|
852
|
-
readonly "
|
|
853
|
-
readonly "
|
|
854
|
-
readonly "
|
|
855
|
-
readonly "
|
|
856
|
-
readonly "
|
|
857
|
-
readonly "
|
|
858
|
-
readonly "
|
|
859
|
-
readonly "
|
|
860
|
-
readonly "
|
|
861
|
-
readonly "
|
|
862
|
-
readonly "
|
|
863
|
-
readonly "
|
|
864
|
-
readonly "
|
|
865
|
-
readonly "
|
|
866
|
-
readonly "
|
|
867
|
-
readonly "
|
|
868
|
-
readonly "
|
|
869
|
-
readonly "
|
|
870
|
-
readonly "
|
|
871
|
-
readonly "
|
|
872
|
-
readonly "
|
|
873
|
-
readonly "
|
|
874
|
-
readonly "
|
|
875
|
-
readonly "
|
|
850
|
+
readonly "ts/no-misused-new": import("./state.js").State.ON;
|
|
851
|
+
readonly "ts/no-misused-promises": import("./state.js").State.ON;
|
|
852
|
+
readonly "ts/no-misused-spread": import("./state.js").State.ON;
|
|
853
|
+
readonly "ts/no-mixed-enums": import("./state.js").State.ON;
|
|
854
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": import("./state.js").State.ON;
|
|
855
|
+
readonly "ts/no-non-null-asserted-optional-chain": import("./state.js").State.ON;
|
|
856
|
+
readonly "ts/no-redundant-type-constituents": import("./state.js").State.ON;
|
|
857
|
+
readonly "ts/no-require-imports": import("./state.js").State.ON;
|
|
858
|
+
readonly "ts/no-this-alias": import("./state.js").State.ON;
|
|
859
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": import("./state.js").State.ON;
|
|
860
|
+
readonly "ts/no-unnecessary-condition": import("./state.js").State.ON;
|
|
861
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": import("./state.js").State.ON;
|
|
862
|
+
readonly "ts/no-unnecessary-qualifier": import("./state.js").State.ON;
|
|
863
|
+
readonly "ts/no-unnecessary-template-expression": import("./state.js").State.ON;
|
|
864
|
+
readonly "ts/no-unnecessary-type-arguments": import("./state.js").State.ON;
|
|
865
|
+
readonly "ts/no-unnecessary-type-assertion": import("./state.js").State.ON;
|
|
866
|
+
readonly "ts/no-unnecessary-type-constraint": import("./state.js").State.ON;
|
|
867
|
+
readonly "ts/no-unnecessary-type-conversion": import("./state.js").State.ON;
|
|
868
|
+
readonly "ts/no-unnecessary-type-parameters": import("./state.js").State.ON;
|
|
869
|
+
readonly "ts/no-unsafe-argument": import("./state.js").State.ON;
|
|
870
|
+
readonly "ts/no-unsafe-assignment": import("./state.js").State.ON;
|
|
871
|
+
readonly "ts/no-unsafe-call": import("./state.js").State.ON;
|
|
872
|
+
readonly "ts/no-unsafe-declaration-merging": import("./state.js").State.ON;
|
|
873
|
+
readonly "ts/no-unsafe-enum-comparison": import("./state.js").State.ON;
|
|
874
|
+
readonly "ts/no-unsafe-function-type": import("./state.js").State.ON;
|
|
875
|
+
readonly "ts/no-unsafe-member-access": readonly [
|
|
876
876
|
import("./state.js").State.ON,
|
|
877
877
|
{
|
|
878
878
|
readonly allowOptionalChaining: true;
|
|
879
879
|
}
|
|
880
880
|
];
|
|
881
|
-
readonly "
|
|
882
|
-
readonly "
|
|
883
|
-
readonly "
|
|
884
|
-
readonly "
|
|
885
|
-
readonly "
|
|
881
|
+
readonly "ts/no-unsafe-return": import("./state.js").State.ON;
|
|
882
|
+
readonly "ts/no-unsafe-unary-minus": import("./state.js").State.ON;
|
|
883
|
+
readonly "ts/no-useless-empty-export": import("./state.js").State.ON;
|
|
884
|
+
readonly "ts/no-wrapper-object-types": import("./state.js").State.ON;
|
|
885
|
+
readonly "ts/parameter-properties": readonly [
|
|
886
886
|
import("./state.js").State.ON,
|
|
887
887
|
{
|
|
888
888
|
readonly prefer: "parameter-property";
|
|
889
889
|
}
|
|
890
890
|
];
|
|
891
|
-
readonly "
|
|
892
|
-
readonly "
|
|
893
|
-
readonly "
|
|
894
|
-
readonly "
|
|
895
|
-
readonly "
|
|
896
|
-
readonly "
|
|
897
|
-
readonly "
|
|
898
|
-
readonly "
|
|
899
|
-
readonly "
|
|
900
|
-
readonly "
|
|
901
|
-
readonly "
|
|
902
|
-
readonly "
|
|
903
|
-
readonly "
|
|
904
|
-
readonly "
|
|
905
|
-
readonly "
|
|
906
|
-
readonly "
|
|
907
|
-
readonly "
|
|
908
|
-
readonly "
|
|
891
|
+
readonly "ts/prefer-as-const": import("./state.js").State.ON;
|
|
892
|
+
readonly "ts/prefer-find": import("./state.js").State.ON;
|
|
893
|
+
readonly "ts/prefer-for-of": import("./state.js").State.ON;
|
|
894
|
+
readonly "ts/prefer-function-type": import("./state.js").State.ON;
|
|
895
|
+
readonly "ts/prefer-includes": import("./state.js").State.ON;
|
|
896
|
+
readonly "ts/prefer-literal-enum-member": import("./state.js").State.ON;
|
|
897
|
+
readonly "ts/prefer-namespace-keyword": import("./state.js").State.ON;
|
|
898
|
+
readonly "ts/prefer-nullish-coalescing": import("./state.js").State.ON;
|
|
899
|
+
readonly "ts/prefer-optional-chain": import("./state.js").State.ON;
|
|
900
|
+
readonly "ts/prefer-readonly": import("./state.js").State.ON;
|
|
901
|
+
readonly "ts/prefer-reduce-type-parameter": import("./state.js").State.ON;
|
|
902
|
+
readonly "ts/prefer-regexp-exec": import("./state.js").State.ON;
|
|
903
|
+
readonly "ts/prefer-return-this-type": import("./state.js").State.ON;
|
|
904
|
+
readonly "ts/prefer-string-starts-ends-with": import("./state.js").State.ON;
|
|
905
|
+
readonly "ts/promise-function-async": import("./state.js").State.ON;
|
|
906
|
+
readonly "ts/related-getter-setter-pairs": import("./state.js").State.ON;
|
|
907
|
+
readonly "ts/require-array-sort-compare": import("./state.js").State.ON;
|
|
908
|
+
readonly "ts/restrict-plus-operands": readonly [
|
|
909
909
|
import("./state.js").State.ON,
|
|
910
910
|
{
|
|
911
911
|
readonly allowAny: false;
|
|
@@ -915,7 +915,7 @@ declare const _default: {
|
|
|
915
915
|
readonly allowRegExp: false;
|
|
916
916
|
}
|
|
917
917
|
];
|
|
918
|
-
readonly "
|
|
918
|
+
readonly "ts/restrict-template-expressions": readonly [
|
|
919
919
|
import("./state.js").State.ON,
|
|
920
920
|
{
|
|
921
921
|
readonly allowNullish: false;
|
|
@@ -923,24 +923,24 @@ declare const _default: {
|
|
|
923
923
|
readonly allowRegExp: false;
|
|
924
924
|
}
|
|
925
925
|
];
|
|
926
|
-
readonly "
|
|
927
|
-
readonly "
|
|
926
|
+
readonly "ts/return-await": import("./state.js").State.ON;
|
|
927
|
+
readonly "ts/strict-boolean-expressions": readonly [
|
|
928
928
|
import("./state.js").State.ON,
|
|
929
929
|
{
|
|
930
930
|
readonly allowNullableObject: false;
|
|
931
931
|
readonly allowString: false;
|
|
932
932
|
}
|
|
933
933
|
];
|
|
934
|
-
readonly "
|
|
935
|
-
readonly "
|
|
936
|
-
readonly "
|
|
937
|
-
readonly "
|
|
934
|
+
readonly "ts/switch-exhaustiveness-check": import("./state.js").State.ON;
|
|
935
|
+
readonly "ts/unbound-method": import("./state.js").State.ON;
|
|
936
|
+
readonly "ts/unified-signatures": import("./state.js").State.ON;
|
|
937
|
+
readonly "ts/use-unknown-in-catch-callback-variable": import("./state.js").State.ON;
|
|
938
938
|
};
|
|
939
939
|
} | {
|
|
940
940
|
name: string;
|
|
941
941
|
rules: {
|
|
942
942
|
readonly "dot-notation": import("./state.js").State.OFF;
|
|
943
|
-
readonly "
|
|
943
|
+
readonly "ts/dot-notation": readonly [
|
|
944
944
|
import("./state.js").State.ON,
|
|
945
945
|
{
|
|
946
946
|
readonly allowPrivateClassPropertyAccess: true;
|
|
@@ -949,19 +949,19 @@ declare const _default: {
|
|
|
949
949
|
}
|
|
950
950
|
];
|
|
951
951
|
readonly "no-implied-eval": import("./state.js").State.OFF;
|
|
952
|
-
readonly "
|
|
952
|
+
readonly "ts/no-implied-eval": import("./state.js").State.ON;
|
|
953
953
|
readonly "no-restricted-imports": import("./state.js").State.OFF;
|
|
954
954
|
readonly "no-unused-vars": import("./state.js").State.OFF;
|
|
955
|
-
readonly "
|
|
955
|
+
readonly "ts/no-unused-vars": import("./state.js").State.ON;
|
|
956
956
|
readonly "no-throw-literal": import("./state.js").State.OFF;
|
|
957
|
-
readonly "
|
|
957
|
+
readonly "ts/only-throw-error": readonly [
|
|
958
958
|
import("./state.js").State.ON,
|
|
959
959
|
{
|
|
960
960
|
readonly allowThrowingAny: false;
|
|
961
961
|
}
|
|
962
962
|
];
|
|
963
963
|
readonly "prefer-destructuring": import("./state.js").State.OFF;
|
|
964
|
-
readonly "
|
|
964
|
+
readonly "ts/prefer-destructuring": readonly [
|
|
965
965
|
import("./state.js").State.ON,
|
|
966
966
|
{
|
|
967
967
|
readonly AssignmentExpression: {
|
|
@@ -971,14 +971,14 @@ declare const _default: {
|
|
|
971
971
|
}
|
|
972
972
|
];
|
|
973
973
|
readonly "prefer-promise-reject-errors": import("./state.js").State.OFF;
|
|
974
|
-
readonly "
|
|
974
|
+
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
975
975
|
import("./state.js").State.ON,
|
|
976
976
|
{
|
|
977
977
|
readonly allowThrowingUnknown: true;
|
|
978
978
|
}
|
|
979
979
|
];
|
|
980
980
|
readonly "require-await": import("./state.js").State.OFF;
|
|
981
|
-
readonly "
|
|
981
|
+
readonly "ts/require-await": import("./state.js").State.ON;
|
|
982
982
|
};
|
|
983
983
|
})[];
|
|
984
984
|
mocha: ({
|
|
@@ -1028,10 +1028,10 @@ declare const _default: {
|
|
|
1028
1028
|
readonly "no-inner-declarations": import("./state.js").State.OFF;
|
|
1029
1029
|
readonly "no-self-assign": import("./state.js").State.OFF;
|
|
1030
1030
|
readonly "no-unused-vars": import("./state.js").State.OFF;
|
|
1031
|
-
readonly "
|
|
1031
|
+
readonly "ts/no-unused-vars": import("./state.js").State.OFF;
|
|
1032
1032
|
readonly "prefer-const": import("./state.js").State.OFF;
|
|
1033
|
-
readonly "
|
|
1034
|
-
readonly "
|
|
1033
|
+
readonly "stylistic/indent": import("./state.js").State.OFF;
|
|
1034
|
+
readonly "ts/no-confusing-void-expression": import("./state.js").State.OFF;
|
|
1035
1035
|
};
|
|
1036
1036
|
} | {
|
|
1037
1037
|
name: string;
|
|
@@ -1151,7 +1151,7 @@ declare const _default: {
|
|
|
1151
1151
|
import("./state.js").State.ON,
|
|
1152
1152
|
"both"
|
|
1153
1153
|
];
|
|
1154
|
-
readonly "
|
|
1154
|
+
readonly "stylistic/no-trailing-spaces": import("./state.js").State.OFF;
|
|
1155
1155
|
readonly "svelte/no-trailing-spaces": import("./state.js").State.ON;
|
|
1156
1156
|
};
|
|
1157
1157
|
})[];
|