@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/index.d.ts
CHANGED
|
@@ -324,9 +324,9 @@ declare const _default: {
|
|
|
324
324
|
} | {
|
|
325
325
|
name: string;
|
|
326
326
|
rules: {
|
|
327
|
-
readonly "
|
|
328
|
-
readonly "
|
|
329
|
-
readonly "
|
|
327
|
+
readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.ON;
|
|
328
|
+
readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.ON;
|
|
329
|
+
readonly "stylistic/array-element-newline": readonly [
|
|
330
330
|
import("./rules/state.js").State.ON,
|
|
331
331
|
{
|
|
332
332
|
readonly consistent: true;
|
|
@@ -334,44 +334,44 @@ declare const _default: {
|
|
|
334
334
|
readonly minItems: 3;
|
|
335
335
|
}
|
|
336
336
|
];
|
|
337
|
-
readonly "
|
|
337
|
+
readonly "stylistic/arrow-parens": readonly [
|
|
338
338
|
import("./rules/state.js").State.ON,
|
|
339
339
|
"as-needed"
|
|
340
340
|
];
|
|
341
|
-
readonly "
|
|
342
|
-
readonly "
|
|
343
|
-
readonly "
|
|
341
|
+
readonly "stylistic/arrow-spacing": import("./rules/state.js").State.ON;
|
|
342
|
+
readonly "stylistic/block-spacing": import("./rules/state.js").State.ON;
|
|
343
|
+
readonly "stylistic/brace-style": readonly [
|
|
344
344
|
import("./rules/state.js").State.ON,
|
|
345
345
|
"stroustrup",
|
|
346
346
|
{
|
|
347
347
|
readonly allowSingleLine: true;
|
|
348
348
|
}
|
|
349
349
|
];
|
|
350
|
-
readonly "
|
|
350
|
+
readonly "stylistic/comma-dangle": readonly [
|
|
351
351
|
import("./rules/state.js").State.ON,
|
|
352
352
|
"always-multiline"
|
|
353
353
|
];
|
|
354
|
-
readonly "
|
|
355
|
-
readonly "
|
|
356
|
-
readonly "
|
|
357
|
-
readonly "
|
|
358
|
-
readonly "
|
|
354
|
+
readonly "stylistic/comma-spacing": import("./rules/state.js").State.ON;
|
|
355
|
+
readonly "stylistic/comma-style": import("./rules/state.js").State.ON;
|
|
356
|
+
readonly "stylistic/computed-property-spacing": import("./rules/state.js").State.ON;
|
|
357
|
+
readonly "stylistic/curly-newline": import("./rules/state.js").State.ON;
|
|
358
|
+
readonly "stylistic/dot-location": readonly [
|
|
359
359
|
import("./rules/state.js").State.ON,
|
|
360
360
|
"property"
|
|
361
361
|
];
|
|
362
|
-
readonly "
|
|
363
|
-
readonly "
|
|
362
|
+
readonly "stylistic/eol-last": import("./rules/state.js").State.ON;
|
|
363
|
+
readonly "stylistic/function-call-argument-newline": readonly [
|
|
364
364
|
import("./rules/state.js").State.ON,
|
|
365
365
|
"consistent"
|
|
366
366
|
];
|
|
367
|
-
readonly "
|
|
368
|
-
readonly "
|
|
367
|
+
readonly "stylistic/function-call-spacing": import("./rules/state.js").State.ON;
|
|
368
|
+
readonly "stylistic/function-paren-newline": readonly [
|
|
369
369
|
import("./rules/state.js").State.ON,
|
|
370
370
|
"multiline-arguments"
|
|
371
371
|
];
|
|
372
|
-
readonly "
|
|
373
|
-
readonly "
|
|
374
|
-
readonly "
|
|
372
|
+
readonly "stylistic/generator-star-spacing": import("./rules/state.js").State.ON;
|
|
373
|
+
readonly "stylistic/implicit-arrow-linebreak": import("./rules/state.js").State.ON;
|
|
374
|
+
readonly "stylistic/indent": readonly [
|
|
375
375
|
import("./rules/state.js").State.ON,
|
|
376
376
|
2,
|
|
377
377
|
{
|
|
@@ -385,13 +385,13 @@ declare const _default: {
|
|
|
385
385
|
readonly offsetTernaryExpressions: true;
|
|
386
386
|
}
|
|
387
387
|
];
|
|
388
|
-
readonly "
|
|
388
|
+
readonly "stylistic/indent-binary-ops": readonly [
|
|
389
389
|
import("./rules/state.js").State.ON,
|
|
390
390
|
2
|
|
391
391
|
];
|
|
392
|
-
readonly "
|
|
393
|
-
readonly "
|
|
394
|
-
readonly "
|
|
392
|
+
readonly "stylistic/key-spacing": import("./rules/state.js").State.ON;
|
|
393
|
+
readonly "stylistic/keyword-spacing": import("./rules/state.js").State.ON;
|
|
394
|
+
readonly "stylistic/lines-between-class-members": readonly [
|
|
395
395
|
import("./rules/state.js").State.ON,
|
|
396
396
|
{
|
|
397
397
|
readonly enforce: readonly [
|
|
@@ -413,7 +413,7 @@ declare const _default: {
|
|
|
413
413
|
];
|
|
414
414
|
}
|
|
415
415
|
];
|
|
416
|
-
readonly "
|
|
416
|
+
readonly "stylistic/max-len": readonly [
|
|
417
417
|
import("./rules/state.js").State.ON,
|
|
418
418
|
{
|
|
419
419
|
readonly code: 300;
|
|
@@ -425,18 +425,18 @@ declare const _default: {
|
|
|
425
425
|
readonly ignoreRegExpLiterals: true;
|
|
426
426
|
}
|
|
427
427
|
];
|
|
428
|
-
readonly "
|
|
429
|
-
readonly "
|
|
430
|
-
readonly "
|
|
428
|
+
readonly "stylistic/max-statements-per-line": import("./rules/state.js").State.ON;
|
|
429
|
+
readonly "stylistic/member-delimiter-style": import("./rules/state.js").State.ON;
|
|
430
|
+
readonly "stylistic/multiline-ternary": readonly [
|
|
431
431
|
import("./rules/state.js").State.ON,
|
|
432
432
|
"always-multiline"
|
|
433
433
|
];
|
|
434
|
-
readonly "
|
|
435
|
-
readonly "
|
|
436
|
-
readonly "
|
|
437
|
-
readonly "
|
|
438
|
-
readonly "
|
|
439
|
-
readonly "
|
|
434
|
+
readonly "stylistic/newline-per-chained-call": import("./rules/state.js").State.ON;
|
|
435
|
+
readonly "stylistic/no-extra-parens": import("./rules/state.js").State.ON;
|
|
436
|
+
readonly "stylistic/no-extra-semi": import("./rules/state.js").State.ON;
|
|
437
|
+
readonly "stylistic/no-floating-decimal": import("./rules/state.js").State.ON;
|
|
438
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": import("./rules/state.js").State.ON;
|
|
439
|
+
readonly "stylistic/no-multi-spaces": readonly [
|
|
440
440
|
import("./rules/state.js").State.ON,
|
|
441
441
|
{
|
|
442
442
|
readonly exceptions: {
|
|
@@ -445,7 +445,7 @@ declare const _default: {
|
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
];
|
|
448
|
-
readonly "
|
|
448
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
449
449
|
import("./rules/state.js").State.ON,
|
|
450
450
|
{
|
|
451
451
|
readonly max: 1;
|
|
@@ -453,14 +453,14 @@ declare const _default: {
|
|
|
453
453
|
readonly maxEOF: 0;
|
|
454
454
|
}
|
|
455
455
|
];
|
|
456
|
-
readonly "
|
|
457
|
-
readonly "
|
|
458
|
-
readonly "
|
|
459
|
-
readonly "
|
|
456
|
+
readonly "stylistic/no-tabs": import("./rules/state.js").State.ON;
|
|
457
|
+
readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.ON;
|
|
458
|
+
readonly "stylistic/no-whitespace-before-property": import("./rules/state.js").State.ON;
|
|
459
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
460
460
|
import("./rules/state.js").State.ON,
|
|
461
461
|
"below"
|
|
462
462
|
];
|
|
463
|
-
readonly "
|
|
463
|
+
readonly "stylistic/object-curly-newline": readonly [
|
|
464
464
|
import("./rules/state.js").State.ON,
|
|
465
465
|
{
|
|
466
466
|
readonly consistent: true;
|
|
@@ -468,30 +468,30 @@ declare const _default: {
|
|
|
468
468
|
readonly minProperties: 3;
|
|
469
469
|
}
|
|
470
470
|
];
|
|
471
|
-
readonly "
|
|
471
|
+
readonly "stylistic/object-curly-spacing": readonly [
|
|
472
472
|
import("./rules/state.js").State.ON,
|
|
473
473
|
"always",
|
|
474
474
|
{
|
|
475
475
|
readonly emptyObjects: "never";
|
|
476
476
|
}
|
|
477
477
|
];
|
|
478
|
-
readonly "
|
|
479
|
-
readonly "
|
|
478
|
+
readonly "stylistic/object-property-newline": import("./rules/state.js").State.ON;
|
|
479
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
480
480
|
import("./rules/state.js").State.ON,
|
|
481
481
|
"always"
|
|
482
482
|
];
|
|
483
|
-
readonly "
|
|
483
|
+
readonly "stylistic/operator-linebreak": readonly [
|
|
484
484
|
import("./rules/state.js").State.ON,
|
|
485
485
|
"before"
|
|
486
486
|
];
|
|
487
|
-
readonly "
|
|
487
|
+
readonly "stylistic/padded-blocks": readonly [
|
|
488
488
|
import("./rules/state.js").State.ON,
|
|
489
489
|
"never",
|
|
490
490
|
{
|
|
491
491
|
readonly allowSingleLineBlocks: true;
|
|
492
492
|
}
|
|
493
493
|
];
|
|
494
|
-
readonly "
|
|
494
|
+
readonly "stylistic/padding-line-between-statements": readonly [
|
|
495
495
|
import("./rules/state.js").State.WARN,
|
|
496
496
|
{
|
|
497
497
|
readonly blankLine: "never";
|
|
@@ -676,14 +676,14 @@ declare const _default: {
|
|
|
676
676
|
];
|
|
677
677
|
}
|
|
678
678
|
];
|
|
679
|
-
readonly "
|
|
679
|
+
readonly "stylistic/quote-props": readonly [
|
|
680
680
|
import("./rules/state.js").State.ON,
|
|
681
681
|
"as-needed",
|
|
682
682
|
{
|
|
683
683
|
readonly keywords: true;
|
|
684
684
|
}
|
|
685
685
|
];
|
|
686
|
-
readonly "
|
|
686
|
+
readonly "stylistic/quotes": readonly [
|
|
687
687
|
import("./rules/state.js").State.ON,
|
|
688
688
|
"double",
|
|
689
689
|
{
|
|
@@ -691,21 +691,21 @@ declare const _default: {
|
|
|
691
691
|
readonly allowTemplateLiterals: "always";
|
|
692
692
|
}
|
|
693
693
|
];
|
|
694
|
-
readonly "
|
|
695
|
-
readonly "
|
|
696
|
-
readonly "
|
|
697
|
-
readonly "
|
|
698
|
-
readonly "
|
|
699
|
-
readonly "
|
|
694
|
+
readonly "stylistic/rest-spread-spacing": import("./rules/state.js").State.ON;
|
|
695
|
+
readonly "stylistic/semi": import("./rules/state.js").State.ON;
|
|
696
|
+
readonly "stylistic/semi-spacing": import("./rules/state.js").State.ON;
|
|
697
|
+
readonly "stylistic/semi-style": import("./rules/state.js").State.ON;
|
|
698
|
+
readonly "stylistic/space-before-blocks": import("./rules/state.js").State.ON;
|
|
699
|
+
readonly "stylistic/space-before-function-paren": readonly [
|
|
700
700
|
import("./rules/state.js").State.ON,
|
|
701
701
|
{
|
|
702
702
|
readonly named: "never";
|
|
703
703
|
}
|
|
704
704
|
];
|
|
705
|
-
readonly "
|
|
706
|
-
readonly "
|
|
707
|
-
readonly "
|
|
708
|
-
readonly "
|
|
705
|
+
readonly "stylistic/space-in-parens": import("./rules/state.js").State.ON;
|
|
706
|
+
readonly "stylistic/space-infix-ops": import("./rules/state.js").State.ON;
|
|
707
|
+
readonly "stylistic/space-unary-ops": import("./rules/state.js").State.ON;
|
|
708
|
+
readonly "stylistic/spaced-comment": readonly [
|
|
709
709
|
import("./rules/state.js").State.ON,
|
|
710
710
|
"always",
|
|
711
711
|
{
|
|
@@ -740,10 +740,10 @@ declare const _default: {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
];
|
|
743
|
-
readonly "
|
|
744
|
-
readonly "
|
|
745
|
-
readonly "
|
|
746
|
-
readonly "
|
|
743
|
+
readonly "stylistic/switch-colon-spacing": import("./rules/state.js").State.ON;
|
|
744
|
+
readonly "stylistic/template-curly-spacing": import("./rules/state.js").State.ON;
|
|
745
|
+
readonly "stylistic/template-tag-spacing": import("./rules/state.js").State.ON;
|
|
746
|
+
readonly "stylistic/type-annotation-spacing": readonly [
|
|
747
747
|
import("./rules/state.js").State.ON,
|
|
748
748
|
{
|
|
749
749
|
readonly before: true;
|
|
@@ -756,17 +756,17 @@ declare const _default: {
|
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
758
|
];
|
|
759
|
-
readonly "
|
|
760
|
-
readonly "
|
|
761
|
-
readonly "
|
|
759
|
+
readonly "stylistic/type-generic-spacing": import("./rules/state.js").State.ON;
|
|
760
|
+
readonly "stylistic/type-named-tuple-spacing": import("./rules/state.js").State.ON;
|
|
761
|
+
readonly "stylistic/wrap-iife": readonly [
|
|
762
762
|
import("./rules/state.js").State.ON,
|
|
763
763
|
"inside",
|
|
764
764
|
{
|
|
765
765
|
readonly functionPrototypeMethods: true;
|
|
766
766
|
}
|
|
767
767
|
];
|
|
768
|
-
readonly "
|
|
769
|
-
readonly "
|
|
768
|
+
readonly "stylistic/wrap-regex": import("./rules/state.js").State.ON;
|
|
769
|
+
readonly "stylistic/yield-star-spacing": import("./rules/state.js").State.ON;
|
|
770
770
|
};
|
|
771
771
|
})[];
|
|
772
772
|
ts: ({
|
|
@@ -795,22 +795,22 @@ declare const _default: {
|
|
|
795
795
|
} | {
|
|
796
796
|
name: string;
|
|
797
797
|
rules: {
|
|
798
|
-
readonly "
|
|
799
|
-
readonly "
|
|
800
|
-
readonly "
|
|
801
|
-
readonly "
|
|
802
|
-
readonly "
|
|
803
|
-
readonly "
|
|
804
|
-
readonly "
|
|
798
|
+
readonly "ts/await-thenable": import("./rules/state.js").State.ON;
|
|
799
|
+
readonly "ts/ban-ts-comment": import("./rules/state.js").State.ON;
|
|
800
|
+
readonly "ts/ban-tslint-comment": import("./rules/state.js").State.ON;
|
|
801
|
+
readonly "ts/class-literal-property-style": import("./rules/state.js").State.ON;
|
|
802
|
+
readonly "ts/consistent-generic-constructors": import("./rules/state.js").State.ON;
|
|
803
|
+
readonly "ts/consistent-indexed-object-style": import("./rules/state.js").State.ON;
|
|
804
|
+
readonly "ts/consistent-type-assertions": readonly [
|
|
805
805
|
import("./rules/state.js").State.ON,
|
|
806
806
|
{
|
|
807
807
|
readonly arrayLiteralTypeAssertions: "never";
|
|
808
808
|
readonly objectLiteralTypeAssertions: "never";
|
|
809
809
|
}
|
|
810
810
|
];
|
|
811
|
-
readonly "
|
|
812
|
-
readonly "
|
|
813
|
-
readonly "
|
|
811
|
+
readonly "ts/consistent-type-exports": import("./rules/state.js").State.ON;
|
|
812
|
+
readonly "ts/consistent-type-imports": import("./rules/state.js").State.ON;
|
|
813
|
+
readonly "ts/explicit-member-accessibility": readonly [
|
|
814
814
|
import("./rules/state.js").State.ON,
|
|
815
815
|
{
|
|
816
816
|
readonly overrides: {
|
|
@@ -818,7 +818,7 @@ declare const _default: {
|
|
|
818
818
|
};
|
|
819
819
|
}
|
|
820
820
|
];
|
|
821
|
-
readonly "
|
|
821
|
+
readonly "ts/member-ordering": readonly [
|
|
822
822
|
import("./rules/state.js").State.ON,
|
|
823
823
|
{
|
|
824
824
|
readonly default: {
|
|
@@ -826,102 +826,102 @@ declare const _default: {
|
|
|
826
826
|
};
|
|
827
827
|
}
|
|
828
828
|
];
|
|
829
|
-
readonly "
|
|
830
|
-
readonly "
|
|
831
|
-
readonly "
|
|
832
|
-
readonly "
|
|
833
|
-
readonly "
|
|
834
|
-
readonly "
|
|
835
|
-
readonly "
|
|
836
|
-
readonly "
|
|
837
|
-
readonly "
|
|
838
|
-
readonly "
|
|
829
|
+
readonly "ts/method-signature-style": import("./rules/state.js").State.ON;
|
|
830
|
+
readonly "ts/no-array-delete": import("./rules/state.js").State.ON;
|
|
831
|
+
readonly "ts/no-base-to-string": import("./rules/state.js").State.ON;
|
|
832
|
+
readonly "ts/no-confusing-non-null-assertion": import("./rules/state.js").State.ON;
|
|
833
|
+
readonly "ts/no-confusing-void-expression": import("./rules/state.js").State.ON;
|
|
834
|
+
readonly "ts/no-duplicate-enum-values": import("./rules/state.js").State.ON;
|
|
835
|
+
readonly "ts/no-duplicate-type-constituents": import("./rules/state.js").State.ON;
|
|
836
|
+
readonly "ts/no-dynamic-delete": import("./rules/state.js").State.ON;
|
|
837
|
+
readonly "ts/no-empty-object-type": import("./rules/state.js").State.ON;
|
|
838
|
+
readonly "ts/no-explicit-any": readonly [
|
|
839
839
|
import("./rules/state.js").State.ON,
|
|
840
840
|
{
|
|
841
841
|
readonly fixToUnknown: true;
|
|
842
842
|
}
|
|
843
843
|
];
|
|
844
|
-
readonly "
|
|
845
|
-
readonly "
|
|
844
|
+
readonly "ts/no-extra-non-null-assertion": import("./rules/state.js").State.ON;
|
|
845
|
+
readonly "ts/no-extraneous-class": readonly [
|
|
846
846
|
import("./rules/state.js").State.ON,
|
|
847
847
|
{
|
|
848
848
|
readonly allowEmpty: true;
|
|
849
849
|
}
|
|
850
850
|
];
|
|
851
|
-
readonly "
|
|
851
|
+
readonly "ts/no-floating-promises": readonly [
|
|
852
852
|
import("./rules/state.js").State.ON,
|
|
853
853
|
{
|
|
854
854
|
readonly checkThenables: true;
|
|
855
855
|
}
|
|
856
856
|
];
|
|
857
|
-
readonly "
|
|
858
|
-
readonly "
|
|
859
|
-
readonly "
|
|
860
|
-
readonly "
|
|
857
|
+
readonly "ts/no-for-in-array": import("./rules/state.js").State.ON;
|
|
858
|
+
readonly "ts/no-import-type-side-effects": import("./rules/state.js").State.ON;
|
|
859
|
+
readonly "ts/no-inferrable-types": import("./rules/state.js").State.ON;
|
|
860
|
+
readonly "ts/no-meaningless-void-operator": readonly [
|
|
861
861
|
import("./rules/state.js").State.ON,
|
|
862
862
|
{
|
|
863
863
|
readonly checkNever: true;
|
|
864
864
|
}
|
|
865
865
|
];
|
|
866
|
-
readonly "
|
|
867
|
-
readonly "
|
|
868
|
-
readonly "
|
|
869
|
-
readonly "
|
|
870
|
-
readonly "
|
|
871
|
-
readonly "
|
|
872
|
-
readonly "
|
|
873
|
-
readonly "
|
|
874
|
-
readonly "
|
|
875
|
-
readonly "
|
|
876
|
-
readonly "
|
|
877
|
-
readonly "
|
|
878
|
-
readonly "
|
|
879
|
-
readonly "
|
|
880
|
-
readonly "
|
|
881
|
-
readonly "
|
|
882
|
-
readonly "
|
|
883
|
-
readonly "
|
|
884
|
-
readonly "
|
|
885
|
-
readonly "
|
|
886
|
-
readonly "
|
|
887
|
-
readonly "
|
|
888
|
-
readonly "
|
|
889
|
-
readonly "
|
|
890
|
-
readonly "
|
|
891
|
-
readonly "
|
|
866
|
+
readonly "ts/no-misused-new": import("./rules/state.js").State.ON;
|
|
867
|
+
readonly "ts/no-misused-promises": import("./rules/state.js").State.ON;
|
|
868
|
+
readonly "ts/no-misused-spread": import("./rules/state.js").State.ON;
|
|
869
|
+
readonly "ts/no-mixed-enums": import("./rules/state.js").State.ON;
|
|
870
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": import("./rules/state.js").State.ON;
|
|
871
|
+
readonly "ts/no-non-null-asserted-optional-chain": import("./rules/state.js").State.ON;
|
|
872
|
+
readonly "ts/no-redundant-type-constituents": import("./rules/state.js").State.ON;
|
|
873
|
+
readonly "ts/no-require-imports": import("./rules/state.js").State.ON;
|
|
874
|
+
readonly "ts/no-this-alias": import("./rules/state.js").State.ON;
|
|
875
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": import("./rules/state.js").State.ON;
|
|
876
|
+
readonly "ts/no-unnecessary-condition": import("./rules/state.js").State.ON;
|
|
877
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": import("./rules/state.js").State.ON;
|
|
878
|
+
readonly "ts/no-unnecessary-qualifier": import("./rules/state.js").State.ON;
|
|
879
|
+
readonly "ts/no-unnecessary-template-expression": import("./rules/state.js").State.ON;
|
|
880
|
+
readonly "ts/no-unnecessary-type-arguments": import("./rules/state.js").State.ON;
|
|
881
|
+
readonly "ts/no-unnecessary-type-assertion": import("./rules/state.js").State.ON;
|
|
882
|
+
readonly "ts/no-unnecessary-type-constraint": import("./rules/state.js").State.ON;
|
|
883
|
+
readonly "ts/no-unnecessary-type-conversion": import("./rules/state.js").State.ON;
|
|
884
|
+
readonly "ts/no-unnecessary-type-parameters": import("./rules/state.js").State.ON;
|
|
885
|
+
readonly "ts/no-unsafe-argument": import("./rules/state.js").State.ON;
|
|
886
|
+
readonly "ts/no-unsafe-assignment": import("./rules/state.js").State.ON;
|
|
887
|
+
readonly "ts/no-unsafe-call": import("./rules/state.js").State.ON;
|
|
888
|
+
readonly "ts/no-unsafe-declaration-merging": import("./rules/state.js").State.ON;
|
|
889
|
+
readonly "ts/no-unsafe-enum-comparison": import("./rules/state.js").State.ON;
|
|
890
|
+
readonly "ts/no-unsafe-function-type": import("./rules/state.js").State.ON;
|
|
891
|
+
readonly "ts/no-unsafe-member-access": readonly [
|
|
892
892
|
import("./rules/state.js").State.ON,
|
|
893
893
|
{
|
|
894
894
|
readonly allowOptionalChaining: true;
|
|
895
895
|
}
|
|
896
896
|
];
|
|
897
|
-
readonly "
|
|
898
|
-
readonly "
|
|
899
|
-
readonly "
|
|
900
|
-
readonly "
|
|
901
|
-
readonly "
|
|
897
|
+
readonly "ts/no-unsafe-return": import("./rules/state.js").State.ON;
|
|
898
|
+
readonly "ts/no-unsafe-unary-minus": import("./rules/state.js").State.ON;
|
|
899
|
+
readonly "ts/no-useless-empty-export": import("./rules/state.js").State.ON;
|
|
900
|
+
readonly "ts/no-wrapper-object-types": import("./rules/state.js").State.ON;
|
|
901
|
+
readonly "ts/parameter-properties": readonly [
|
|
902
902
|
import("./rules/state.js").State.ON,
|
|
903
903
|
{
|
|
904
904
|
readonly prefer: "parameter-property";
|
|
905
905
|
}
|
|
906
906
|
];
|
|
907
|
-
readonly "
|
|
908
|
-
readonly "
|
|
909
|
-
readonly "
|
|
910
|
-
readonly "
|
|
911
|
-
readonly "
|
|
912
|
-
readonly "
|
|
913
|
-
readonly "
|
|
914
|
-
readonly "
|
|
915
|
-
readonly "
|
|
916
|
-
readonly "
|
|
917
|
-
readonly "
|
|
918
|
-
readonly "
|
|
919
|
-
readonly "
|
|
920
|
-
readonly "
|
|
921
|
-
readonly "
|
|
922
|
-
readonly "
|
|
923
|
-
readonly "
|
|
924
|
-
readonly "
|
|
907
|
+
readonly "ts/prefer-as-const": import("./rules/state.js").State.ON;
|
|
908
|
+
readonly "ts/prefer-find": import("./rules/state.js").State.ON;
|
|
909
|
+
readonly "ts/prefer-for-of": import("./rules/state.js").State.ON;
|
|
910
|
+
readonly "ts/prefer-function-type": import("./rules/state.js").State.ON;
|
|
911
|
+
readonly "ts/prefer-includes": import("./rules/state.js").State.ON;
|
|
912
|
+
readonly "ts/prefer-literal-enum-member": import("./rules/state.js").State.ON;
|
|
913
|
+
readonly "ts/prefer-namespace-keyword": import("./rules/state.js").State.ON;
|
|
914
|
+
readonly "ts/prefer-nullish-coalescing": import("./rules/state.js").State.ON;
|
|
915
|
+
readonly "ts/prefer-optional-chain": import("./rules/state.js").State.ON;
|
|
916
|
+
readonly "ts/prefer-readonly": import("./rules/state.js").State.ON;
|
|
917
|
+
readonly "ts/prefer-reduce-type-parameter": import("./rules/state.js").State.ON;
|
|
918
|
+
readonly "ts/prefer-regexp-exec": import("./rules/state.js").State.ON;
|
|
919
|
+
readonly "ts/prefer-return-this-type": import("./rules/state.js").State.ON;
|
|
920
|
+
readonly "ts/prefer-string-starts-ends-with": import("./rules/state.js").State.ON;
|
|
921
|
+
readonly "ts/promise-function-async": import("./rules/state.js").State.ON;
|
|
922
|
+
readonly "ts/related-getter-setter-pairs": import("./rules/state.js").State.ON;
|
|
923
|
+
readonly "ts/require-array-sort-compare": import("./rules/state.js").State.ON;
|
|
924
|
+
readonly "ts/restrict-plus-operands": readonly [
|
|
925
925
|
import("./rules/state.js").State.ON,
|
|
926
926
|
{
|
|
927
927
|
readonly allowAny: false;
|
|
@@ -931,7 +931,7 @@ declare const _default: {
|
|
|
931
931
|
readonly allowRegExp: false;
|
|
932
932
|
}
|
|
933
933
|
];
|
|
934
|
-
readonly "
|
|
934
|
+
readonly "ts/restrict-template-expressions": readonly [
|
|
935
935
|
import("./rules/state.js").State.ON,
|
|
936
936
|
{
|
|
937
937
|
readonly allowNullish: false;
|
|
@@ -939,24 +939,24 @@ declare const _default: {
|
|
|
939
939
|
readonly allowRegExp: false;
|
|
940
940
|
}
|
|
941
941
|
];
|
|
942
|
-
readonly "
|
|
943
|
-
readonly "
|
|
942
|
+
readonly "ts/return-await": import("./rules/state.js").State.ON;
|
|
943
|
+
readonly "ts/strict-boolean-expressions": readonly [
|
|
944
944
|
import("./rules/state.js").State.ON,
|
|
945
945
|
{
|
|
946
946
|
readonly allowNullableObject: false;
|
|
947
947
|
readonly allowString: false;
|
|
948
948
|
}
|
|
949
949
|
];
|
|
950
|
-
readonly "
|
|
951
|
-
readonly "
|
|
952
|
-
readonly "
|
|
953
|
-
readonly "
|
|
950
|
+
readonly "ts/switch-exhaustiveness-check": import("./rules/state.js").State.ON;
|
|
951
|
+
readonly "ts/unbound-method": import("./rules/state.js").State.ON;
|
|
952
|
+
readonly "ts/unified-signatures": import("./rules/state.js").State.ON;
|
|
953
|
+
readonly "ts/use-unknown-in-catch-callback-variable": import("./rules/state.js").State.ON;
|
|
954
954
|
};
|
|
955
955
|
} | {
|
|
956
956
|
name: string;
|
|
957
957
|
rules: {
|
|
958
958
|
readonly "dot-notation": import("./rules/state.js").State.OFF;
|
|
959
|
-
readonly "
|
|
959
|
+
readonly "ts/dot-notation": readonly [
|
|
960
960
|
import("./rules/state.js").State.ON,
|
|
961
961
|
{
|
|
962
962
|
readonly allowPrivateClassPropertyAccess: true;
|
|
@@ -965,19 +965,19 @@ declare const _default: {
|
|
|
965
965
|
}
|
|
966
966
|
];
|
|
967
967
|
readonly "no-implied-eval": import("./rules/state.js").State.OFF;
|
|
968
|
-
readonly "
|
|
968
|
+
readonly "ts/no-implied-eval": import("./rules/state.js").State.ON;
|
|
969
969
|
readonly "no-restricted-imports": import("./rules/state.js").State.OFF;
|
|
970
970
|
readonly "no-unused-vars": import("./rules/state.js").State.OFF;
|
|
971
|
-
readonly "
|
|
971
|
+
readonly "ts/no-unused-vars": import("./rules/state.js").State.ON;
|
|
972
972
|
readonly "no-throw-literal": import("./rules/state.js").State.OFF;
|
|
973
|
-
readonly "
|
|
973
|
+
readonly "ts/only-throw-error": readonly [
|
|
974
974
|
import("./rules/state.js").State.ON,
|
|
975
975
|
{
|
|
976
976
|
readonly allowThrowingAny: false;
|
|
977
977
|
}
|
|
978
978
|
];
|
|
979
979
|
readonly "prefer-destructuring": import("./rules/state.js").State.OFF;
|
|
980
|
-
readonly "
|
|
980
|
+
readonly "ts/prefer-destructuring": readonly [
|
|
981
981
|
import("./rules/state.js").State.ON,
|
|
982
982
|
{
|
|
983
983
|
readonly AssignmentExpression: {
|
|
@@ -987,14 +987,14 @@ declare const _default: {
|
|
|
987
987
|
}
|
|
988
988
|
];
|
|
989
989
|
readonly "prefer-promise-reject-errors": import("./rules/state.js").State.OFF;
|
|
990
|
-
readonly "
|
|
990
|
+
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
991
991
|
import("./rules/state.js").State.ON,
|
|
992
992
|
{
|
|
993
993
|
readonly allowThrowingUnknown: true;
|
|
994
994
|
}
|
|
995
995
|
];
|
|
996
996
|
readonly "require-await": import("./rules/state.js").State.OFF;
|
|
997
|
-
readonly "
|
|
997
|
+
readonly "ts/require-await": import("./rules/state.js").State.ON;
|
|
998
998
|
};
|
|
999
999
|
})[];
|
|
1000
1000
|
mocha: ({
|
|
@@ -1044,10 +1044,10 @@ declare const _default: {
|
|
|
1044
1044
|
readonly "no-inner-declarations": import("./rules/state.js").State.OFF;
|
|
1045
1045
|
readonly "no-self-assign": import("./rules/state.js").State.OFF;
|
|
1046
1046
|
readonly "no-unused-vars": import("./rules/state.js").State.OFF;
|
|
1047
|
-
readonly "
|
|
1047
|
+
readonly "ts/no-unused-vars": import("./rules/state.js").State.OFF;
|
|
1048
1048
|
readonly "prefer-const": import("./rules/state.js").State.OFF;
|
|
1049
|
-
readonly "
|
|
1050
|
-
readonly "
|
|
1049
|
+
readonly "stylistic/indent": import("./rules/state.js").State.OFF;
|
|
1050
|
+
readonly "ts/no-confusing-void-expression": import("./rules/state.js").State.OFF;
|
|
1051
1051
|
};
|
|
1052
1052
|
} | {
|
|
1053
1053
|
name: string;
|
|
@@ -1167,7 +1167,7 @@ declare const _default: {
|
|
|
1167
1167
|
import("./rules/state.js").State.ON,
|
|
1168
1168
|
"both"
|
|
1169
1169
|
];
|
|
1170
|
-
readonly "
|
|
1170
|
+
readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.OFF;
|
|
1171
1171
|
readonly "svelte/no-trailing-spaces": import("./rules/state.js").State.ON;
|
|
1172
1172
|
};
|
|
1173
1173
|
})[];
|