@kazupon/eslint-config 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/dist/config.d.cts +2 -2
  3. package/dist/config.d.ts +2 -2
  4. package/dist/configs/comments.d.cts +2 -2
  5. package/dist/configs/comments.d.ts +2 -2
  6. package/dist/configs/javascript.d.cts +2 -2
  7. package/dist/configs/javascript.d.ts +2 -2
  8. package/dist/configs/jsdoc.d.cts +2 -2
  9. package/dist/configs/jsdoc.d.ts +2 -2
  10. package/dist/configs/jsonc.d.cts +2 -2
  11. package/dist/configs/jsonc.d.ts +2 -2
  12. package/dist/configs/prettier.d.cts +2 -2
  13. package/dist/configs/prettier.d.ts +2 -2
  14. package/dist/configs/promise.d.cts +2 -2
  15. package/dist/configs/promise.d.ts +2 -2
  16. package/dist/configs/regexp.d.cts +2 -2
  17. package/dist/configs/regexp.d.ts +2 -2
  18. package/dist/configs/toml.d.cts +2 -2
  19. package/dist/configs/toml.d.ts +2 -2
  20. package/dist/configs/typescript.d.cts +1 -1
  21. package/dist/configs/typescript.d.ts +1 -1
  22. package/dist/configs/unicorn.d.cts +2 -2
  23. package/dist/configs/unicorn.d.ts +2 -2
  24. package/dist/configs/vue.d.cts +2 -2
  25. package/dist/configs/vue.d.ts +2 -2
  26. package/dist/configs/yml.d.cts +2 -2
  27. package/dist/configs/yml.d.ts +2 -2
  28. package/dist/index.cjs +189 -121
  29. package/dist/index.js +103 -103
  30. package/dist/types/gens/javascript.d.cts +5 -9
  31. package/dist/types/gens/javascript.d.ts +5 -9
  32. package/dist/types/gens/promise.d.cts +10 -4
  33. package/dist/types/gens/promise.d.ts +10 -4
  34. package/dist/types/gens/typescript.d.cts +62 -737
  35. package/dist/types/gens/typescript.d.ts +62 -737
  36. package/dist/types/overrides.d.cts +2 -2
  37. package/dist/types/overrides.d.ts +2 -2
  38. package/package.json +7 -7
@@ -25,23 +25,6 @@ export interface TypescriptRules {
25
25
  * @see https://typescript-eslint.io/rules/ban-tslint-comment
26
26
  */
27
27
  '@typescript-eslint/ban-tslint-comment'?: Linter.RuleEntry<[]>;
28
- /**
29
- * Disallow certain types
30
- * @see https://typescript-eslint.io/rules/ban-types
31
- */
32
- '@typescript-eslint/ban-types'?: Linter.RuleEntry<TypescriptEslintBanTypes>;
33
- /**
34
- * Disallow or enforce spaces inside of blocks after opening block and before closing block
35
- * @see https://typescript-eslint.io/rules/block-spacing
36
- * @deprecated
37
- */
38
- '@typescript-eslint/block-spacing'?: Linter.RuleEntry<TypescriptEslintBlockSpacing>;
39
- /**
40
- * Enforce consistent brace style for blocks
41
- * @see https://typescript-eslint.io/rules/brace-style
42
- * @deprecated
43
- */
44
- '@typescript-eslint/brace-style'?: Linter.RuleEntry<TypescriptEslintBraceStyle>;
45
28
  /**
46
29
  * Enforce that literals on classes are exposed in a consistent style
47
30
  * @see https://typescript-eslint.io/rules/class-literal-property-style
@@ -52,18 +35,6 @@ export interface TypescriptRules {
52
35
  * @see https://typescript-eslint.io/rules/class-methods-use-this
53
36
  */
54
37
  '@typescript-eslint/class-methods-use-this'?: Linter.RuleEntry<TypescriptEslintClassMethodsUseThis>;
55
- /**
56
- * Require or disallow trailing commas
57
- * @see https://typescript-eslint.io/rules/comma-dangle
58
- * @deprecated
59
- */
60
- '@typescript-eslint/comma-dangle'?: Linter.RuleEntry<TypescriptEslintCommaDangle>;
61
- /**
62
- * Enforce consistent spacing before and after commas
63
- * @see https://typescript-eslint.io/rules/comma-spacing
64
- * @deprecated
65
- */
66
- '@typescript-eslint/comma-spacing'?: Linter.RuleEntry<TypescriptEslintCommaSpacing>;
67
38
  /**
68
39
  * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
69
40
  * @see https://typescript-eslint.io/rules/consistent-generic-constructors
@@ -124,58 +95,16 @@ export interface TypescriptRules {
124
95
  * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
125
96
  */
126
97
  '@typescript-eslint/explicit-module-boundary-types'?: Linter.RuleEntry<TypescriptEslintExplicitModuleBoundaryTypes>;
127
- /**
128
- * Require or disallow spacing between function identifiers and their invocations
129
- * @see https://typescript-eslint.io/rules/func-call-spacing
130
- * @deprecated
131
- */
132
- '@typescript-eslint/func-call-spacing'?: Linter.RuleEntry<TypescriptEslintFuncCallSpacing>;
133
- /**
134
- * Enforce consistent indentation
135
- * @see https://typescript-eslint.io/rules/indent
136
- * @deprecated
137
- */
138
- '@typescript-eslint/indent'?: Linter.RuleEntry<TypescriptEslintIndent>;
139
98
  /**
140
99
  * Require or disallow initialization in variable declarations
141
100
  * @see https://typescript-eslint.io/rules/init-declarations
142
101
  */
143
102
  '@typescript-eslint/init-declarations'?: Linter.RuleEntry<TypescriptEslintInitDeclarations>;
144
- /**
145
- * Enforce consistent spacing between property names and type annotations in types and interfaces
146
- * @see https://typescript-eslint.io/rules/key-spacing
147
- * @deprecated
148
- */
149
- '@typescript-eslint/key-spacing'?: Linter.RuleEntry<TypescriptEslintKeySpacing>;
150
- /**
151
- * Enforce consistent spacing before and after keywords
152
- * @see https://typescript-eslint.io/rules/keyword-spacing
153
- * @deprecated
154
- */
155
- '@typescript-eslint/keyword-spacing'?: Linter.RuleEntry<TypescriptEslintKeywordSpacing>;
156
- /**
157
- * Require empty lines around comments
158
- * @see https://typescript-eslint.io/rules/lines-around-comment
159
- * @deprecated
160
- */
161
- '@typescript-eslint/lines-around-comment'?: Linter.RuleEntry<TypescriptEslintLinesAroundComment>;
162
- /**
163
- * Require or disallow an empty line between class members
164
- * @see https://typescript-eslint.io/rules/lines-between-class-members
165
- * @deprecated
166
- */
167
- '@typescript-eslint/lines-between-class-members'?: Linter.RuleEntry<TypescriptEslintLinesBetweenClassMembers>;
168
103
  /**
169
104
  * Enforce a maximum number of parameters in function definitions
170
105
  * @see https://typescript-eslint.io/rules/max-params
171
106
  */
172
107
  '@typescript-eslint/max-params'?: Linter.RuleEntry<TypescriptEslintMaxParams>;
173
- /**
174
- * Require a specific member delimiter style for interfaces and type literals
175
- * @see https://typescript-eslint.io/rules/member-delimiter-style
176
- * @deprecated
177
- */
178
- '@typescript-eslint/member-delimiter-style'?: Linter.RuleEntry<TypescriptEslintMemberDelimiterStyle>;
179
108
  /**
180
109
  * Require a consistent member declaration order
181
110
  * @see https://typescript-eslint.io/rules/member-ordering
@@ -244,6 +173,7 @@ export interface TypescriptRules {
244
173
  /**
245
174
  * Disallow the declaration of empty interfaces
246
175
  * @see https://typescript-eslint.io/rules/no-empty-interface
176
+ * @deprecated
247
177
  */
248
178
  '@typescript-eslint/no-empty-interface'?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>;
249
179
  /**
@@ -261,18 +191,6 @@ export interface TypescriptRules {
261
191
  * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
262
192
  */
263
193
  '@typescript-eslint/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>;
264
- /**
265
- * Disallow unnecessary parentheses
266
- * @see https://typescript-eslint.io/rules/no-extra-parens
267
- * @deprecated
268
- */
269
- '@typescript-eslint/no-extra-parens'?: Linter.RuleEntry<TypescriptEslintNoExtraParens>;
270
- /**
271
- * Disallow unnecessary semicolons
272
- * @see https://typescript-eslint.io/rules/no-extra-semi
273
- * @deprecated
274
- */
275
- '@typescript-eslint/no-extra-semi'?: Linter.RuleEntry<[]>;
276
194
  /**
277
195
  * Disallow classes used as namespaces
278
196
  * @see https://typescript-eslint.io/rules/no-extraneous-class
@@ -321,6 +239,7 @@ export interface TypescriptRules {
321
239
  /**
322
240
  * Disallow literal numbers that lose precision
323
241
  * @see https://typescript-eslint.io/rules/no-loss-of-precision
242
+ * @deprecated
324
243
  */
325
244
  '@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>;
326
245
  /**
@@ -388,6 +307,11 @@ export interface TypescriptRules {
388
307
  * @see https://typescript-eslint.io/rules/no-restricted-imports
389
308
  */
390
309
  '@typescript-eslint/no-restricted-imports'?: Linter.RuleEntry<TypescriptEslintNoRestrictedImports>;
310
+ /**
311
+ * Disallow certain types
312
+ * @see https://typescript-eslint.io/rules/no-restricted-types
313
+ */
314
+ '@typescript-eslint/no-restricted-types'?: Linter.RuleEntry<TypescriptEslintNoRestrictedTypes>;
391
315
  /**
392
316
  * Disallow variable declarations from shadowing variables declared in the outer scope
393
317
  * @see https://typescript-eslint.io/rules/no-shadow
@@ -398,12 +322,6 @@ export interface TypescriptRules {
398
322
  * @see https://typescript-eslint.io/rules/no-this-alias
399
323
  */
400
324
  '@typescript-eslint/no-this-alias'?: Linter.RuleEntry<TypescriptEslintNoThisAlias>;
401
- /**
402
- * Disallow throwing literals as exceptions
403
- * @see https://typescript-eslint.io/rules/no-throw-literal
404
- * @deprecated
405
- */
406
- '@typescript-eslint/no-throw-literal'?: Linter.RuleEntry<TypescriptEslintNoThrowLiteral>;
407
325
  /**
408
326
  * Disallow type aliases
409
327
  * @see https://typescript-eslint.io/rules/no-type-alias
@@ -420,6 +338,11 @@ export interface TypescriptRules {
420
338
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
421
339
  */
422
340
  '@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
341
+ /**
342
+ * Disallow unnecessary assignment of constructor property parameter
343
+ * @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
344
+ */
345
+ '@typescript-eslint/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>;
423
346
  /**
424
347
  * Disallow unnecessary namespace qualifiers
425
348
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
@@ -445,6 +368,11 @@ export interface TypescriptRules {
445
368
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
446
369
  */
447
370
  '@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>;
371
+ /**
372
+ * Disallow type parameters that aren't used multiple times
373
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
374
+ */
375
+ '@typescript-eslint/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>;
448
376
  /**
449
377
  * Disallow calling a function with a value with type `any`
450
378
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -470,6 +398,11 @@ export interface TypescriptRules {
470
398
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
471
399
  */
472
400
  '@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>;
401
+ /**
402
+ * Disallow using the unsafe built-in Function type
403
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
404
+ */
405
+ '@typescript-eslint/no-unsafe-function-type'?: Linter.RuleEntry<[]>;
473
406
  /**
474
407
  * Disallow member access on a value with type `any`
475
408
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -510,39 +443,27 @@ export interface TypescriptRules {
510
443
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
511
444
  */
512
445
  '@typescript-eslint/no-useless-empty-export'?: Linter.RuleEntry<[]>;
513
- /**
514
- * Disallow unnecessary template expressions
515
- * @see https://typescript-eslint.io/rules/no-useless-template-literals
516
- * @deprecated
517
- */
518
- '@typescript-eslint/no-useless-template-literals'?: Linter.RuleEntry<[]>;
519
446
  /**
520
447
  * Disallow `require` statements except in import statements
521
448
  * @see https://typescript-eslint.io/rules/no-var-requires
449
+ * @deprecated
522
450
  */
523
451
  '@typescript-eslint/no-var-requires'?: Linter.RuleEntry<TypescriptEslintNoVarRequires>;
452
+ /**
453
+ * Disallow using confusing built-in primitive class wrappers
454
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
455
+ */
456
+ '@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>;
524
457
  /**
525
458
  * Enforce non-null assertions over explicit type casts
526
459
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
527
460
  */
528
461
  '@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>;
529
- /**
530
- * Enforce consistent spacing inside braces
531
- * @see https://typescript-eslint.io/rules/object-curly-spacing
532
- * @deprecated
533
- */
534
- '@typescript-eslint/object-curly-spacing'?: Linter.RuleEntry<TypescriptEslintObjectCurlySpacing>;
535
462
  /**
536
463
  * Disallow throwing non-`Error` values as exceptions
537
464
  * @see https://typescript-eslint.io/rules/only-throw-error
538
465
  */
539
466
  '@typescript-eslint/only-throw-error'?: Linter.RuleEntry<TypescriptEslintOnlyThrowError>;
540
- /**
541
- * Require or disallow padding lines between statements
542
- * @see https://typescript-eslint.io/rules/padding-line-between-statements
543
- * @deprecated
544
- */
545
- '@typescript-eslint/padding-line-between-statements'?: Linter.RuleEntry<TypescriptEslintPaddingLineBetweenStatements>;
546
467
  /**
547
468
  * Require or disallow parameter properties in class constructors
548
469
  * @see https://typescript-eslint.io/rules/parameter-properties
@@ -649,12 +570,6 @@ export interface TypescriptRules {
649
570
  * @see https://typescript-eslint.io/rules/promise-function-async
650
571
  */
651
572
  '@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
652
- /**
653
- * Enforce the consistent use of either backticks, double, or single quotes
654
- * @see https://typescript-eslint.io/rules/quotes
655
- * @deprecated
656
- */
657
- '@typescript-eslint/quotes'?: Linter.RuleEntry<TypescriptEslintQuotes>;
658
573
  /**
659
574
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
660
575
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
@@ -680,36 +595,12 @@ export interface TypescriptRules {
680
595
  * @see https://typescript-eslint.io/rules/return-await
681
596
  */
682
597
  '@typescript-eslint/return-await'?: Linter.RuleEntry<TypescriptEslintReturnAwait>;
683
- /**
684
- * Require or disallow semicolons instead of ASI
685
- * @see https://typescript-eslint.io/rules/semi
686
- * @deprecated
687
- */
688
- '@typescript-eslint/semi'?: Linter.RuleEntry<TypescriptEslintSemi>;
689
598
  /**
690
599
  * Enforce constituents of a type union/intersection to be sorted alphabetically
691
600
  * @see https://typescript-eslint.io/rules/sort-type-constituents
692
601
  * @deprecated
693
602
  */
694
603
  '@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>;
695
- /**
696
- * Enforce consistent spacing before blocks
697
- * @see https://typescript-eslint.io/rules/space-before-blocks
698
- * @deprecated
699
- */
700
- '@typescript-eslint/space-before-blocks'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeBlocks>;
701
- /**
702
- * Enforce consistent spacing before function parenthesis
703
- * @see https://typescript-eslint.io/rules/space-before-function-paren
704
- * @deprecated
705
- */
706
- '@typescript-eslint/space-before-function-paren'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeFunctionParen>;
707
- /**
708
- * Require spacing around infix operators
709
- * @see https://typescript-eslint.io/rules/space-infix-ops
710
- * @deprecated
711
- */
712
- '@typescript-eslint/space-infix-ops'?: Linter.RuleEntry<TypescriptEslintSpaceInfixOps>;
713
604
  /**
714
605
  * Disallow certain types in boolean expressions
715
606
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
@@ -725,12 +616,6 @@ export interface TypescriptRules {
725
616
  * @see https://typescript-eslint.io/rules/triple-slash-reference
726
617
  */
727
618
  '@typescript-eslint/triple-slash-reference'?: Linter.RuleEntry<TypescriptEslintTripleSlashReference>;
728
- /**
729
- * Require consistent spacing around type annotations
730
- * @see https://typescript-eslint.io/rules/type-annotation-spacing
731
- * @deprecated
732
- */
733
- '@typescript-eslint/type-annotation-spacing'?: Linter.RuleEntry<TypescriptEslintTypeAnnotationSpacing>;
734
619
  /**
735
620
  * Require type annotations in certain places
736
621
  * @see https://typescript-eslint.io/rules/typedef
@@ -775,25 +660,6 @@ type TypescriptEslintBanTsComment = [] | [
775
660
  minimumDescriptionLength?: number;
776
661
  }
777
662
  ];
778
- type TypescriptEslintBanTypes = [] | [
779
- {
780
- types?: {
781
- [k: string]: (null | false | true | string | {
782
- message?: string;
783
- fixWith?: string;
784
- suggest?: string[];
785
- }) | undefined;
786
- };
787
- extendDefaults?: boolean;
788
- }
789
- ];
790
- type TypescriptEslintBlockSpacing = [] | [("always" | "never")];
791
- type TypescriptEslintBraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [
792
- ("1tbs" | "stroustrup" | "allman"),
793
- {
794
- allowSingleLine?: boolean;
795
- }
796
- ];
797
663
  type TypescriptEslintClassLiteralPropertyStyle = [] | [("fields" | "getters")];
798
664
  type TypescriptEslintClassMethodsUseThis = [] | [
799
665
  {
@@ -803,26 +669,6 @@ type TypescriptEslintClassMethodsUseThis = [] | [
803
669
  ignoreClassesThatImplementAnInterface?: (boolean | "public-fields");
804
670
  }
805
671
  ];
806
- type TypescriptEslintCommaDangle = [] | [
807
- (_TypescriptEslintCommaDangleValue | {
808
- arrays?: _TypescriptEslintCommaDangleValueWithIgnore;
809
- objects?: _TypescriptEslintCommaDangleValueWithIgnore;
810
- imports?: _TypescriptEslintCommaDangleValueWithIgnore;
811
- exports?: _TypescriptEslintCommaDangleValueWithIgnore;
812
- functions?: _TypescriptEslintCommaDangleValueWithIgnore;
813
- enums?: _TypescriptEslintCommaDangleValueWithIgnore;
814
- generics?: _TypescriptEslintCommaDangleValueWithIgnore;
815
- tuples?: _TypescriptEslintCommaDangleValueWithIgnore;
816
- })
817
- ];
818
- type _TypescriptEslintCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
819
- type _TypescriptEslintCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore");
820
- type TypescriptEslintCommaSpacing = [] | [
821
- {
822
- before?: boolean;
823
- after?: boolean;
824
- }
825
- ];
826
672
  type TypescriptEslintConsistentGenericConstructors = [] | [("type-annotation" | "constructor")];
827
673
  type TypescriptEslintConsistentIndexedObjectStyle = [] | [("record" | "index-signature")];
828
674
  type TypescriptEslintConsistentReturn = [] | [
@@ -894,444 +740,12 @@ type TypescriptEslintExplicitModuleBoundaryTypes = [] | [
894
740
  allowTypedFunctionExpressions?: boolean;
895
741
  }
896
742
  ];
897
- type TypescriptEslintFuncCallSpacing = ([] | ["never"] | [] | ["always"] | [
898
- "always",
899
- {
900
- allowNewlines?: boolean;
901
- }
902
- ]);
903
- type TypescriptEslintIndent = [] | [("tab" | number)] | [
904
- ("tab" | number),
905
- {
906
- SwitchCase?: number;
907
- VariableDeclarator?: ((number | ("first" | "off")) | {
908
- var?: (number | ("first" | "off"));
909
- let?: (number | ("first" | "off"));
910
- const?: (number | ("first" | "off"));
911
- });
912
- outerIIFEBody?: (number | "off");
913
- MemberExpression?: (number | "off");
914
- FunctionDeclaration?: {
915
- parameters?: (number | ("first" | "off"));
916
- body?: number;
917
- };
918
- FunctionExpression?: {
919
- parameters?: (number | ("first" | "off"));
920
- body?: number;
921
- };
922
- StaticBlock?: {
923
- body?: number;
924
- };
925
- CallExpression?: {
926
- arguments?: (number | ("first" | "off"));
927
- };
928
- ArrayExpression?: (number | ("first" | "off"));
929
- ObjectExpression?: (number | ("first" | "off"));
930
- ImportDeclaration?: (number | ("first" | "off"));
931
- flatTernaryExpressions?: boolean;
932
- offsetTernaryExpressions?: boolean;
933
- ignoredNodes?: string[];
934
- ignoreComments?: boolean;
935
- }
936
- ];
937
743
  type TypescriptEslintInitDeclarations = ([] | ["always"] | [] | ["never"] | [
938
744
  "never",
939
745
  {
940
746
  ignoreForLoopInit?: boolean;
941
747
  }
942
748
  ]);
943
- type TypescriptEslintKeySpacing = [] | [
944
- ({
945
- align?: (("colon" | "value") | {
946
- mode?: ("strict" | "minimum");
947
- on?: ("colon" | "value");
948
- beforeColon?: boolean;
949
- afterColon?: boolean;
950
- });
951
- mode?: ("strict" | "minimum");
952
- beforeColon?: boolean;
953
- afterColon?: boolean;
954
- } | {
955
- singleLine?: {
956
- mode?: ("strict" | "minimum");
957
- beforeColon?: boolean;
958
- afterColon?: boolean;
959
- };
960
- multiLine?: {
961
- align?: (("colon" | "value") | {
962
- mode?: ("strict" | "minimum");
963
- on?: ("colon" | "value");
964
- beforeColon?: boolean;
965
- afterColon?: boolean;
966
- });
967
- mode?: ("strict" | "minimum");
968
- beforeColon?: boolean;
969
- afterColon?: boolean;
970
- };
971
- } | {
972
- singleLine?: {
973
- mode?: ("strict" | "minimum");
974
- beforeColon?: boolean;
975
- afterColon?: boolean;
976
- };
977
- multiLine?: {
978
- mode?: ("strict" | "minimum");
979
- beforeColon?: boolean;
980
- afterColon?: boolean;
981
- };
982
- align?: {
983
- mode?: ("strict" | "minimum");
984
- on?: ("colon" | "value");
985
- beforeColon?: boolean;
986
- afterColon?: boolean;
987
- };
988
- })
989
- ];
990
- type TypescriptEslintKeywordSpacing = [] | [
991
- {
992
- before?: boolean;
993
- after?: boolean;
994
- overrides?: {
995
- abstract?: {
996
- before?: boolean;
997
- after?: boolean;
998
- };
999
- as?: {
1000
- before?: boolean;
1001
- after?: boolean;
1002
- };
1003
- async?: {
1004
- before?: boolean;
1005
- after?: boolean;
1006
- };
1007
- await?: {
1008
- before?: boolean;
1009
- after?: boolean;
1010
- };
1011
- boolean?: {
1012
- before?: boolean;
1013
- after?: boolean;
1014
- };
1015
- break?: {
1016
- before?: boolean;
1017
- after?: boolean;
1018
- };
1019
- byte?: {
1020
- before?: boolean;
1021
- after?: boolean;
1022
- };
1023
- case?: {
1024
- before?: boolean;
1025
- after?: boolean;
1026
- };
1027
- catch?: {
1028
- before?: boolean;
1029
- after?: boolean;
1030
- };
1031
- char?: {
1032
- before?: boolean;
1033
- after?: boolean;
1034
- };
1035
- class?: {
1036
- before?: boolean;
1037
- after?: boolean;
1038
- };
1039
- const?: {
1040
- before?: boolean;
1041
- after?: boolean;
1042
- };
1043
- continue?: {
1044
- before?: boolean;
1045
- after?: boolean;
1046
- };
1047
- debugger?: {
1048
- before?: boolean;
1049
- after?: boolean;
1050
- };
1051
- default?: {
1052
- before?: boolean;
1053
- after?: boolean;
1054
- };
1055
- delete?: {
1056
- before?: boolean;
1057
- after?: boolean;
1058
- };
1059
- do?: {
1060
- before?: boolean;
1061
- after?: boolean;
1062
- };
1063
- double?: {
1064
- before?: boolean;
1065
- after?: boolean;
1066
- };
1067
- else?: {
1068
- before?: boolean;
1069
- after?: boolean;
1070
- };
1071
- enum?: {
1072
- before?: boolean;
1073
- after?: boolean;
1074
- };
1075
- export?: {
1076
- before?: boolean;
1077
- after?: boolean;
1078
- };
1079
- extends?: {
1080
- before?: boolean;
1081
- after?: boolean;
1082
- };
1083
- false?: {
1084
- before?: boolean;
1085
- after?: boolean;
1086
- };
1087
- final?: {
1088
- before?: boolean;
1089
- after?: boolean;
1090
- };
1091
- finally?: {
1092
- before?: boolean;
1093
- after?: boolean;
1094
- };
1095
- float?: {
1096
- before?: boolean;
1097
- after?: boolean;
1098
- };
1099
- for?: {
1100
- before?: boolean;
1101
- after?: boolean;
1102
- };
1103
- from?: {
1104
- before?: boolean;
1105
- after?: boolean;
1106
- };
1107
- function?: {
1108
- before?: boolean;
1109
- after?: boolean;
1110
- };
1111
- get?: {
1112
- before?: boolean;
1113
- after?: boolean;
1114
- };
1115
- goto?: {
1116
- before?: boolean;
1117
- after?: boolean;
1118
- };
1119
- if?: {
1120
- before?: boolean;
1121
- after?: boolean;
1122
- };
1123
- implements?: {
1124
- before?: boolean;
1125
- after?: boolean;
1126
- };
1127
- import?: {
1128
- before?: boolean;
1129
- after?: boolean;
1130
- };
1131
- in?: {
1132
- before?: boolean;
1133
- after?: boolean;
1134
- };
1135
- instanceof?: {
1136
- before?: boolean;
1137
- after?: boolean;
1138
- };
1139
- int?: {
1140
- before?: boolean;
1141
- after?: boolean;
1142
- };
1143
- interface?: {
1144
- before?: boolean;
1145
- after?: boolean;
1146
- };
1147
- let?: {
1148
- before?: boolean;
1149
- after?: boolean;
1150
- };
1151
- long?: {
1152
- before?: boolean;
1153
- after?: boolean;
1154
- };
1155
- native?: {
1156
- before?: boolean;
1157
- after?: boolean;
1158
- };
1159
- new?: {
1160
- before?: boolean;
1161
- after?: boolean;
1162
- };
1163
- null?: {
1164
- before?: boolean;
1165
- after?: boolean;
1166
- };
1167
- of?: {
1168
- before?: boolean;
1169
- after?: boolean;
1170
- };
1171
- package?: {
1172
- before?: boolean;
1173
- after?: boolean;
1174
- };
1175
- private?: {
1176
- before?: boolean;
1177
- after?: boolean;
1178
- };
1179
- protected?: {
1180
- before?: boolean;
1181
- after?: boolean;
1182
- };
1183
- public?: {
1184
- before?: boolean;
1185
- after?: boolean;
1186
- };
1187
- return?: {
1188
- before?: boolean;
1189
- after?: boolean;
1190
- };
1191
- set?: {
1192
- before?: boolean;
1193
- after?: boolean;
1194
- };
1195
- short?: {
1196
- before?: boolean;
1197
- after?: boolean;
1198
- };
1199
- static?: {
1200
- before?: boolean;
1201
- after?: boolean;
1202
- };
1203
- super?: {
1204
- before?: boolean;
1205
- after?: boolean;
1206
- };
1207
- switch?: {
1208
- before?: boolean;
1209
- after?: boolean;
1210
- };
1211
- synchronized?: {
1212
- before?: boolean;
1213
- after?: boolean;
1214
- };
1215
- this?: {
1216
- before?: boolean;
1217
- after?: boolean;
1218
- };
1219
- throw?: {
1220
- before?: boolean;
1221
- after?: boolean;
1222
- };
1223
- throws?: {
1224
- before?: boolean;
1225
- after?: boolean;
1226
- };
1227
- transient?: {
1228
- before?: boolean;
1229
- after?: boolean;
1230
- };
1231
- true?: {
1232
- before?: boolean;
1233
- after?: boolean;
1234
- };
1235
- try?: {
1236
- before?: boolean;
1237
- after?: boolean;
1238
- };
1239
- typeof?: {
1240
- before?: boolean;
1241
- after?: boolean;
1242
- };
1243
- var?: {
1244
- before?: boolean;
1245
- after?: boolean;
1246
- };
1247
- void?: {
1248
- before?: boolean;
1249
- after?: boolean;
1250
- };
1251
- volatile?: {
1252
- before?: boolean;
1253
- after?: boolean;
1254
- };
1255
- while?: {
1256
- before?: boolean;
1257
- after?: boolean;
1258
- };
1259
- with?: {
1260
- before?: boolean;
1261
- after?: boolean;
1262
- };
1263
- yield?: {
1264
- before?: boolean;
1265
- after?: boolean;
1266
- };
1267
- type?: {
1268
- before?: boolean;
1269
- after?: boolean;
1270
- };
1271
- };
1272
- }
1273
- ];
1274
- type TypescriptEslintLinesAroundComment = [] | [
1275
- {
1276
- beforeBlockComment?: boolean;
1277
- afterBlockComment?: boolean;
1278
- beforeLineComment?: boolean;
1279
- afterLineComment?: boolean;
1280
- allowBlockStart?: boolean;
1281
- allowBlockEnd?: boolean;
1282
- allowClassStart?: boolean;
1283
- allowClassEnd?: boolean;
1284
- allowObjectStart?: boolean;
1285
- allowObjectEnd?: boolean;
1286
- allowArrayStart?: boolean;
1287
- allowArrayEnd?: boolean;
1288
- allowInterfaceStart?: boolean;
1289
- allowInterfaceEnd?: boolean;
1290
- allowTypeStart?: boolean;
1291
- allowTypeEnd?: boolean;
1292
- allowEnumStart?: boolean;
1293
- allowEnumEnd?: boolean;
1294
- allowModuleStart?: boolean;
1295
- allowModuleEnd?: boolean;
1296
- ignorePattern?: string;
1297
- applyDefaultIgnorePatterns?: boolean;
1298
- }
1299
- ];
1300
- type TypescriptEslintLinesBetweenClassMembers = [] | [
1301
- ({
1302
- enforce: [
1303
- {
1304
- blankLine: ("always" | "never");
1305
- prev: ("method" | "field" | "*");
1306
- next: ("method" | "field" | "*");
1307
- },
1308
- ...({
1309
- blankLine: ("always" | "never");
1310
- prev: ("method" | "field" | "*");
1311
- next: ("method" | "field" | "*");
1312
- })[]
1313
- ];
1314
- } | ("always" | "never"))
1315
- ] | [
1316
- ({
1317
- enforce: [
1318
- {
1319
- blankLine: ("always" | "never");
1320
- prev: ("method" | "field" | "*");
1321
- next: ("method" | "field" | "*");
1322
- },
1323
- ...({
1324
- blankLine: ("always" | "never");
1325
- prev: ("method" | "field" | "*");
1326
- next: ("method" | "field" | "*");
1327
- })[]
1328
- ];
1329
- } | ("always" | "never")),
1330
- {
1331
- exceptAfterSingleLine?: boolean;
1332
- exceptAfterOverload?: boolean;
1333
- }
1334
- ];
1335
749
  type TypescriptEslintMaxParams = [] | [
1336
750
  {
1337
751
  maximum?: number;
@@ -1339,33 +753,6 @@ type TypescriptEslintMaxParams = [] | [
1339
753
  countVoidThis?: boolean;
1340
754
  }
1341
755
  ];
1342
- type TypescriptEslintMemberDelimiterStyle = [] | [
1343
- {
1344
- multiline?: {
1345
- delimiter?: ("none" | "semi" | "comma");
1346
- requireLast?: boolean;
1347
- };
1348
- singleline?: {
1349
- delimiter?: ("semi" | "comma");
1350
- requireLast?: boolean;
1351
- };
1352
- overrides?: {
1353
- interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
1354
- typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
1355
- };
1356
- multilineDetection?: ("brackets" | "last-member");
1357
- }
1358
- ];
1359
- interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
1360
- multiline?: {
1361
- delimiter?: ("none" | "semi" | "comma");
1362
- requireLast?: boolean;
1363
- };
1364
- singleline?: {
1365
- delimiter?: ("semi" | "comma");
1366
- requireLast?: boolean;
1367
- };
1368
- }
1369
756
  type TypescriptEslintMemberOrdering = [] | [
1370
757
  {
1371
758
  default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
@@ -1744,7 +1131,7 @@ type TypescriptEslintNoEmptyInterface = [] | [
1744
1131
  type TypescriptEslintNoEmptyObjectType = [] | [
1745
1132
  {
1746
1133
  allowInterfaces?: ("always" | "never" | "with-single-extends");
1747
- allowObjectTypes?: ("always" | "in-type-alias-with-name" | "never");
1134
+ allowObjectTypes?: ("always" | "never");
1748
1135
  allowWithName?: string;
1749
1136
  }
1750
1137
  ];
@@ -1754,21 +1141,6 @@ type TypescriptEslintNoExplicitAny = [] | [
1754
1141
  ignoreRestArgs?: boolean;
1755
1142
  }
1756
1143
  ];
1757
- type TypescriptEslintNoExtraParens = ([] | ["functions"] | [] | ["all"] | [
1758
- "all",
1759
- {
1760
- conditionalAssign?: boolean;
1761
- ternaryOperandBinaryExpressions?: boolean;
1762
- nestedBinaryExpressions?: boolean;
1763
- returnAssign?: boolean;
1764
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line");
1765
- enforceForArrowConditionals?: boolean;
1766
- enforceForSequenceExpressions?: boolean;
1767
- enforceForNewInMemberExpressions?: boolean;
1768
- enforceForFunctionPrototypeMethods?: boolean;
1769
- allowParensAfterCommentPattern?: string;
1770
- }
1771
- ]);
1772
1144
  type TypescriptEslintNoExtraneousClass = [] | [
1773
1145
  {
1774
1146
  allowConstructorOnly?: boolean;
@@ -1779,8 +1151,6 @@ type TypescriptEslintNoExtraneousClass = [] | [
1779
1151
  ];
1780
1152
  type TypescriptEslintNoFloatingPromises = [] | [
1781
1153
  {
1782
- ignoreVoid?: boolean;
1783
- ignoreIIFE?: boolean;
1784
1154
  allowForKnownSafePromises?: (string | {
1785
1155
  from: "file";
1786
1156
  name: (string | [string, ...(string)[]]);
@@ -1793,6 +1163,21 @@ type TypescriptEslintNoFloatingPromises = [] | [
1793
1163
  name: (string | [string, ...(string)[]]);
1794
1164
  package: string;
1795
1165
  })[];
1166
+ allowForKnownSafeCalls?: (string | {
1167
+ from: "file";
1168
+ name: (string | [string, ...(string)[]]);
1169
+ path?: string;
1170
+ } | {
1171
+ from: "lib";
1172
+ name: (string | [string, ...(string)[]]);
1173
+ } | {
1174
+ from: "package";
1175
+ name: (string | [string, ...(string)[]]);
1176
+ package: string;
1177
+ })[];
1178
+ checkThenables?: boolean;
1179
+ ignoreVoid?: boolean;
1180
+ ignoreIIFE?: boolean;
1796
1181
  }
1797
1182
  ];
1798
1183
  type TypescriptEslintNoInferrableTypes = [] | [
@@ -1837,6 +1222,7 @@ type TypescriptEslintNoMisusedPromises = [] | [
1837
1222
  checksVoidReturn?: (boolean | {
1838
1223
  arguments?: boolean;
1839
1224
  attributes?: boolean;
1225
+ inheritedMethods?: boolean;
1840
1226
  properties?: boolean;
1841
1227
  returns?: boolean;
1842
1228
  variables?: boolean;
@@ -1859,6 +1245,7 @@ type TypescriptEslintNoRedeclare = [] | [
1859
1245
  type TypescriptEslintNoRequireImports = [] | [
1860
1246
  {
1861
1247
  allow?: string[];
1248
+ allowAsImport?: boolean;
1862
1249
  }
1863
1250
  ];
1864
1251
  type TypescriptEslintNoRestrictedImports = ((string | {
@@ -1879,7 +1266,8 @@ type TypescriptEslintNoRestrictedImports = ((string | {
1879
1266
  patterns?: (string[] | {
1880
1267
  importNames?: [string, ...(string)[]];
1881
1268
  allowImportNames?: [string, ...(string)[]];
1882
- group: [string, ...(string)[]];
1269
+ group?: [string, ...(string)[]];
1270
+ regex?: string;
1883
1271
  importNamePattern?: string;
1884
1272
  allowImportNamePattern?: string;
1885
1273
  message?: string;
@@ -1888,6 +1276,17 @@ type TypescriptEslintNoRestrictedImports = ((string | {
1888
1276
  }[]);
1889
1277
  }
1890
1278
  ]);
1279
+ type TypescriptEslintNoRestrictedTypes = [] | [
1280
+ {
1281
+ types?: {
1282
+ [k: string]: (true | string | {
1283
+ message?: string;
1284
+ fixWith?: string;
1285
+ suggest?: string[];
1286
+ }) | undefined;
1287
+ };
1288
+ }
1289
+ ];
1891
1290
  type TypescriptEslintNoShadow = [] | [
1892
1291
  {
1893
1292
  builtinGlobals?: boolean;
@@ -1904,12 +1303,6 @@ type TypescriptEslintNoThisAlias = [] | [
1904
1303
  allowedNames?: string[];
1905
1304
  }
1906
1305
  ];
1907
- type TypescriptEslintNoThrowLiteral = [] | [
1908
- {
1909
- allowThrowingAny?: boolean;
1910
- allowThrowingUnknown?: boolean;
1911
- }
1912
- ];
1913
1306
  type TypescriptEslintNoTypeAlias = [] | [
1914
1307
  {
1915
1308
  allowAliases?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
@@ -1957,6 +1350,8 @@ type TypescriptEslintNoUnusedVars = [] | [
1957
1350
  caughtErrors?: ("all" | "none");
1958
1351
  caughtErrorsIgnorePattern?: string;
1959
1352
  destructuredArrayIgnorePattern?: string;
1353
+ ignoreClassWithStaticInitBlock?: boolean;
1354
+ reportUsedIgnorePattern?: boolean;
1960
1355
  })
1961
1356
  ];
1962
1357
  type TypescriptEslintNoUseBeforeDefine = [] | [
@@ -1975,26 +1370,12 @@ type TypescriptEslintNoVarRequires = [] | [
1975
1370
  allow?: string[];
1976
1371
  }
1977
1372
  ];
1978
- type TypescriptEslintObjectCurlySpacing = [] | [("always" | "never")] | [
1979
- ("always" | "never"),
1980
- {
1981
- arraysInObjects?: boolean;
1982
- objectsInObjects?: boolean;
1983
- }
1984
- ];
1985
1373
  type TypescriptEslintOnlyThrowError = [] | [
1986
1374
  {
1987
1375
  allowThrowingAny?: boolean;
1988
1376
  allowThrowingUnknown?: boolean;
1989
1377
  }
1990
1378
  ];
1991
- type _TypescriptEslintPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
1992
- type _TypescriptEslintPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]]);
1993
- type TypescriptEslintPaddingLineBetweenStatements = {
1994
- blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType;
1995
- prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
1996
- next: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
1997
- }[];
1998
1379
  type TypescriptEslintParameterProperties = [] | [
1999
1380
  {
2000
1381
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[];
@@ -2111,13 +1492,6 @@ type TypescriptEslintPromiseFunctionAsync = [] | [
2111
1492
  checkMethodDeclarations?: boolean;
2112
1493
  }
2113
1494
  ];
2114
- type TypescriptEslintQuotes = [] | [("single" | "double" | "backtick")] | [
2115
- ("single" | "double" | "backtick"),
2116
- ("avoid-escape" | {
2117
- avoidEscape?: boolean;
2118
- allowTemplateLiterals?: boolean;
2119
- })
2120
- ];
2121
1495
  type TypescriptEslintRequireArraySortCompare = [] | [
2122
1496
  {
2123
1497
  ignoreStringArrays?: boolean;
@@ -2144,19 +1518,7 @@ type TypescriptEslintRestrictTemplateExpressions = [] | [
2144
1518
  allowNever?: boolean;
2145
1519
  }
2146
1520
  ];
2147
- type TypescriptEslintReturnAwait = [] | [("in-try-catch" | "always" | "never")];
2148
- type TypescriptEslintSemi = ([] | ["never"] | [
2149
- "never",
2150
- {
2151
- beforeStatementContinuationChars?: ("always" | "any" | "never");
2152
- }
2153
- ] | [] | ["always"] | [
2154
- "always",
2155
- {
2156
- omitLastInOneLineBlock?: boolean;
2157
- omitLastInOneLineClassBody?: boolean;
2158
- }
2159
- ]);
1521
+ type TypescriptEslintReturnAwait = [] | [("in-try-catch" | "always" | "never" | "error-handling-correctness-only")];
2160
1522
  type TypescriptEslintSortTypeConstituents = [] | [
2161
1523
  {
2162
1524
  checkIntersections?: boolean;
@@ -2165,25 +1527,6 @@ type TypescriptEslintSortTypeConstituents = [] | [
2165
1527
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[];
2166
1528
  }
2167
1529
  ];
2168
- type TypescriptEslintSpaceBeforeBlocks = [] | [
2169
- (("always" | "never") | {
2170
- keywords?: ("always" | "never" | "off");
2171
- functions?: ("always" | "never" | "off");
2172
- classes?: ("always" | "never" | "off");
2173
- })
2174
- ];
2175
- type TypescriptEslintSpaceBeforeFunctionParen = [] | [
2176
- (("always" | "never") | {
2177
- anonymous?: ("always" | "never" | "ignore");
2178
- named?: ("always" | "never" | "ignore");
2179
- asyncArrow?: ("always" | "never" | "ignore");
2180
- })
2181
- ];
2182
- type TypescriptEslintSpaceInfixOps = [] | [
2183
- {
2184
- int32Hint?: boolean;
2185
- }
2186
- ];
2187
1530
  type TypescriptEslintStrictBooleanExpressions = [] | [
2188
1531
  {
2189
1532
  allowString?: boolean;
@@ -2210,24 +1553,6 @@ type TypescriptEslintTripleSlashReference = [] | [
2210
1553
  types?: ("always" | "never" | "prefer-import");
2211
1554
  }
2212
1555
  ];
2213
- type TypescriptEslintTypeAnnotationSpacing = [] | [
2214
- {
2215
- before?: boolean;
2216
- after?: boolean;
2217
- overrides?: {
2218
- colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2219
- arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2220
- variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2221
- parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2222
- property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2223
- returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2224
- };
2225
- }
2226
- ];
2227
- interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
2228
- before?: boolean;
2229
- after?: boolean;
2230
- }
2231
1556
  type TypescriptEslintTypedef = [] | [
2232
1557
  {
2233
1558
  arrayDestructuring?: boolean;