eslint-config-typed 3.13.3 → 3.13.5

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 (96) hide show
  1. package/dist/rules/typescript-eslint-rules.d.mts +3 -1
  2. package/dist/rules/typescript-eslint-rules.d.mts.map +1 -1
  3. package/dist/rules/typescript-eslint-rules.mjs +8 -1
  4. package/dist/rules/typescript-eslint-rules.mjs.map +1 -1
  5. package/dist/types/rules/eslint-array-func-rules.d.mts +8 -8
  6. package/dist/types/rules/eslint-array-func-rules.d.mts.map +1 -1
  7. package/dist/types/rules/eslint-cypress-rules.d.mts +27 -23
  8. package/dist/types/rules/eslint-cypress-rules.d.mts.map +1 -1
  9. package/dist/types/rules/eslint-functional-rules.d.mts +426 -425
  10. package/dist/types/rules/eslint-functional-rules.d.mts.map +1 -1
  11. package/dist/types/rules/eslint-import-rules.d.mts +343 -325
  12. package/dist/types/rules/eslint-import-rules.d.mts.map +1 -1
  13. package/dist/types/rules/eslint-jest-rules.d.mts +183 -171
  14. package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
  15. package/dist/types/rules/eslint-jsx-a11y-rules.d.mts +211 -209
  16. package/dist/types/rules/eslint-jsx-a11y-rules.d.mts.map +1 -1
  17. package/dist/types/rules/eslint-math-rules.d.mts +49 -48
  18. package/dist/types/rules/eslint-math-rules.d.mts.map +1 -1
  19. package/dist/types/rules/eslint-n-rules.d.mts +296 -293
  20. package/dist/types/rules/eslint-n-rules.d.mts.map +1 -1
  21. package/dist/types/rules/eslint-playwright-rules.d.mts +161 -149
  22. package/dist/types/rules/eslint-playwright-rules.d.mts.map +1 -1
  23. package/dist/types/rules/eslint-plugin-rules.d.mts +95 -85
  24. package/dist/types/rules/eslint-plugin-rules.d.mts.map +1 -1
  25. package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts +10 -10
  26. package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts.map +1 -1
  27. package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts +23 -16
  28. package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts.map +1 -1
  29. package/dist/types/rules/eslint-promise-rules.d.mts +68 -68
  30. package/dist/types/rules/eslint-promise-rules.d.mts.map +1 -1
  31. package/dist/types/rules/eslint-react-coding-style-rules.d.mts +29 -29
  32. package/dist/types/rules/eslint-react-coding-style-rules.d.mts.map +1 -1
  33. package/dist/types/rules/eslint-react-hooks-rules.d.mts +100 -100
  34. package/dist/types/rules/eslint-react-hooks-rules.d.mts.map +1 -1
  35. package/dist/types/rules/eslint-react-perf-rules.d.mts +28 -28
  36. package/dist/types/rules/eslint-react-perf-rules.d.mts.map +1 -1
  37. package/dist/types/rules/eslint-react-refresh-rules.d.mts +13 -13
  38. package/dist/types/rules/eslint-react-refresh-rules.d.mts.map +1 -1
  39. package/dist/types/rules/eslint-react-rules.d.mts +646 -620
  40. package/dist/types/rules/eslint-react-rules.d.mts.map +1 -1
  41. package/dist/types/rules/eslint-rules.d.mts +1022 -1016
  42. package/dist/types/rules/eslint-rules.d.mts.map +1 -1
  43. package/dist/types/rules/eslint-security-rules.d.mts +16 -16
  44. package/dist/types/rules/eslint-security-rules.d.mts.map +1 -1
  45. package/dist/types/rules/eslint-strict-dependencies-rules.d.mts +18 -18
  46. package/dist/types/rules/eslint-strict-dependencies-rules.d.mts.map +1 -1
  47. package/dist/types/rules/eslint-stylistic-rules.d.mts +1440 -1400
  48. package/dist/types/rules/eslint-stylistic-rules.d.mts.map +1 -1
  49. package/dist/types/rules/eslint-testing-library-rules.d.mts +110 -105
  50. package/dist/types/rules/eslint-testing-library-rules.d.mts.map +1 -1
  51. package/dist/types/rules/eslint-total-functions-rules.d.mts +16 -16
  52. package/dist/types/rules/eslint-total-functions-rules.d.mts.map +1 -1
  53. package/dist/types/rules/eslint-tree-shakable-rules.d.mts +3 -3
  54. package/dist/types/rules/eslint-tree-shakable-rules.d.mts.map +1 -1
  55. package/dist/types/rules/eslint-ts-restrictions-rules.d.mts +30 -30
  56. package/dist/types/rules/eslint-ts-restrictions-rules.d.mts.map +1 -1
  57. package/dist/types/rules/eslint-unicorn-rules.d.mts +398 -392
  58. package/dist/types/rules/eslint-unicorn-rules.d.mts.map +1 -1
  59. package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts +3 -3
  60. package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts.map +1 -1
  61. package/dist/types/rules/eslint-vitest-rules.d.mts +204 -190
  62. package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
  63. package/dist/types/rules/typescript-eslint-rules.d.mts +1107 -1077
  64. package/dist/types/rules/typescript-eslint-rules.d.mts.map +1 -1
  65. package/package.json +23 -23
  66. package/src/rules/typescript-eslint-rules.mts +9 -1
  67. package/src/types/rules/eslint-array-func-rules.mts +8 -8
  68. package/src/types/rules/eslint-cypress-rules.mts +28 -24
  69. package/src/types/rules/eslint-functional-rules.mts +581 -576
  70. package/src/types/rules/eslint-import-rules.mts +403 -384
  71. package/src/types/rules/eslint-jest-rules.mts +212 -196
  72. package/src/types/rules/eslint-jsx-a11y-rules.mts +252 -250
  73. package/src/types/rules/eslint-math-rules.mts +53 -52
  74. package/src/types/rules/eslint-n-rules.mts +1762 -1757
  75. package/src/types/rules/eslint-playwright-rules.mts +187 -171
  76. package/src/types/rules/eslint-plugin-rules.mts +109 -99
  77. package/src/types/rules/eslint-plugin-sort-destructure-keys-rules.mts +11 -11
  78. package/src/types/rules/eslint-prefer-arrow-functions-rules.mts +24 -17
  79. package/src/types/rules/eslint-promise-rules.mts +76 -76
  80. package/src/types/rules/eslint-react-coding-style-rules.mts +32 -32
  81. package/src/types/rules/eslint-react-hooks-rules.mts +129 -129
  82. package/src/types/rules/eslint-react-perf-rules.mts +32 -32
  83. package/src/types/rules/eslint-react-refresh-rules.mts +14 -14
  84. package/src/types/rules/eslint-react-rules.mts +787 -792
  85. package/src/types/rules/eslint-rules.mts +1180 -1173
  86. package/src/types/rules/eslint-security-rules.mts +16 -16
  87. package/src/types/rules/eslint-strict-dependencies-rules.mts +19 -19
  88. package/src/types/rules/eslint-stylistic-rules.mts +1767 -1807
  89. package/src/types/rules/eslint-testing-library-rules.mts +128 -124
  90. package/src/types/rules/eslint-total-functions-rules.mts +16 -16
  91. package/src/types/rules/eslint-tree-shakable-rules.mts +3 -3
  92. package/src/types/rules/eslint-ts-restrictions-rules.mts +34 -33
  93. package/src/types/rules/eslint-unicorn-rules.mts +447 -436
  94. package/src/types/rules/eslint-vitest-coding-style-rules.mts +3 -3
  95. package/src/types/rules/eslint-vitest-rules.mts +232 -219
  96. package/src/types/rules/typescript-eslint-rules.mts +1511 -1489
@@ -47,17 +47,17 @@ namespace AccessorPairs {
47
47
  * ]
48
48
  * ```
49
49
  */
50
- export type Options = {
51
- readonly getWithoutSet?: boolean;
52
- readonly setWithoutGet?: boolean;
53
- readonly enforceForClassMembers?: boolean;
54
- readonly enforceForTSTypes?: boolean;
55
- };
50
+ export type Options = Readonly<{
51
+ getWithoutSet?: boolean;
52
+ setWithoutGet?: boolean;
53
+ enforceForClassMembers?: boolean;
54
+ enforceForTSTypes?: boolean;
55
+ }>;
56
56
 
57
57
  export type RuleEntry =
58
+ | 'off'
58
59
  | Linter.Severity
59
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
60
- | 'off';
60
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
61
61
  }
62
62
 
63
63
  /**
@@ -198,16 +198,16 @@ namespace ArrayCallbackReturn {
198
198
  * ]
199
199
  * ```
200
200
  */
201
- export type Options = {
202
- readonly allowImplicit?: boolean;
203
- readonly checkForEach?: boolean;
204
- readonly allowVoid?: boolean;
205
- };
201
+ export type Options = Readonly<{
202
+ allowImplicit?: boolean;
203
+ checkForEach?: boolean;
204
+ allowVoid?: boolean;
205
+ }>;
206
206
 
207
207
  export type RuleEntry =
208
+ | 'off'
208
209
  | Linter.Severity
209
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
210
- | 'off';
210
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
211
211
  }
212
212
 
213
213
  /**
@@ -336,20 +336,20 @@ namespace ArrowBodyStyle {
336
336
  * ```
337
337
  */
338
338
  export type Options =
339
- | readonly [
340
- 'as-needed',
341
- {
342
- readonly requireReturnForObjectLiteral?: boolean;
343
- },
344
- ]
339
+ | readonly []
345
340
  | readonly ['always' | 'never']
346
341
  | readonly ['as-needed']
347
- | readonly [];
342
+ | readonly [
343
+ 'as-needed',
344
+ Readonly<{
345
+ requireReturnForObjectLiteral?: boolean;
346
+ }>,
347
+ ];
348
348
 
349
349
  export type RuleEntry =
350
+ | 'off'
350
351
  | Linter.Severity
351
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
352
- | 'off';
352
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
353
353
  }
354
354
 
355
355
  /**
@@ -609,19 +609,19 @@ namespace Camelcase {
609
609
  * ]
610
610
  * ```
611
611
  */
612
- export type Options = {
613
- readonly ignoreDestructuring?: boolean;
614
- readonly ignoreImports?: boolean;
615
- readonly ignoreGlobals?: boolean;
616
- readonly properties?: 'always' | 'never';
612
+ export type Options = Readonly<{
613
+ ignoreDestructuring?: boolean;
614
+ ignoreImports?: boolean;
615
+ ignoreGlobals?: boolean;
616
+ properties?: 'always' | 'never';
617
617
  /** @minItems 0 */
618
- readonly allow?: readonly string[];
619
- };
618
+ allow?: readonly string[];
619
+ }>;
620
620
 
621
621
  export type RuleEntry =
622
+ | 'off'
622
623
  | Linter.Severity
623
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
624
- | 'off';
624
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
625
625
  }
626
626
 
627
627
  /**
@@ -710,30 +710,31 @@ namespace CapitalizedComments {
710
710
  */
711
711
  export type Options0 = 'always' | 'never';
712
712
 
713
- export type Options1 =
713
+ export type Options1 = Readonly<
714
714
  | {
715
- readonly ignorePattern?: string;
716
- readonly ignoreInlineComments?: boolean;
717
- readonly ignoreConsecutiveComments?: boolean;
715
+ ignorePattern?: string;
716
+ ignoreInlineComments?: boolean;
717
+ ignoreConsecutiveComments?: boolean;
718
718
  }
719
719
  | {
720
- readonly line?: {
721
- readonly ignorePattern?: string;
722
- readonly ignoreInlineComments?: boolean;
723
- readonly ignoreConsecutiveComments?: boolean;
724
- };
725
- readonly block?: {
726
- readonly ignorePattern?: string;
727
- readonly ignoreInlineComments?: boolean;
728
- readonly ignoreConsecutiveComments?: boolean;
729
- };
730
- };
720
+ line?: Readonly<{
721
+ ignorePattern?: string;
722
+ ignoreInlineComments?: boolean;
723
+ ignoreConsecutiveComments?: boolean;
724
+ }>;
725
+ block?: Readonly<{
726
+ ignorePattern?: string;
727
+ ignoreInlineComments?: boolean;
728
+ ignoreConsecutiveComments?: boolean;
729
+ }>;
730
+ }
731
+ >;
731
732
 
732
733
  export type RuleEntry =
734
+ | 'off'
733
735
  | Linter.Severity
734
- | readonly [Linter.StringSeverity, Options0, Options1]
735
736
  | readonly [Linter.StringSeverity, Options0]
736
- | 'off';
737
+ | readonly [Linter.StringSeverity, Options0, Options1];
737
738
  }
738
739
 
739
740
  /**
@@ -782,17 +783,17 @@ namespace ClassMethodsUseThis {
782
783
  * ]
783
784
  * ```
784
785
  */
785
- export type Options = {
786
- readonly exceptMethods?: readonly string[];
787
- readonly enforceForClassFields?: boolean;
788
- readonly ignoreOverrideMethods?: boolean;
789
- readonly ignoreClassesWithImplements?: 'all' | 'public-fields';
790
- };
786
+ export type Options = Readonly<{
787
+ exceptMethods?: readonly string[];
788
+ enforceForClassFields?: boolean;
789
+ ignoreOverrideMethods?: boolean;
790
+ ignoreClassesWithImplements?: 'all' | 'public-fields';
791
+ }>;
791
792
 
792
793
  export type RuleEntry =
794
+ | 'off'
793
795
  | Linter.Severity
794
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
795
- | 'off';
796
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
796
797
  }
797
798
 
798
799
  /**
@@ -1003,16 +1004,16 @@ namespace Complexity {
1003
1004
  */
1004
1005
  export type Options =
1005
1006
  | number
1006
- | {
1007
- readonly maximum?: number;
1008
- readonly max?: number;
1009
- readonly variant?: 'classic' | 'modified';
1010
- };
1007
+ | Readonly<{
1008
+ maximum?: number;
1009
+ max?: number;
1010
+ variant?: 'classic' | 'modified';
1011
+ }>;
1011
1012
 
1012
1013
  export type RuleEntry =
1014
+ | 'off'
1013
1015
  | Linter.Severity
1014
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1015
- | 'off';
1016
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1016
1017
  }
1017
1018
 
1018
1019
  /**
@@ -1088,14 +1089,14 @@ namespace ConsistentReturn {
1088
1089
  * ]
1089
1090
  * ```
1090
1091
  */
1091
- export type Options = {
1092
- readonly treatUndefinedAsUnspecified?: boolean;
1093
- };
1092
+ export type Options = Readonly<{
1093
+ treatUndefinedAsUnspecified?: boolean;
1094
+ }>;
1094
1095
 
1095
1096
  export type RuleEntry =
1097
+ | 'off'
1096
1098
  | Linter.Severity
1097
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1098
- | 'off';
1099
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1099
1100
  }
1100
1101
 
1101
1102
  /**
@@ -1129,9 +1130,9 @@ namespace ConsistentThis {
1129
1130
  export type Options = readonly string[];
1130
1131
 
1131
1132
  export type RuleEntry =
1133
+ | 'off'
1132
1134
  | Linter.Severity
1133
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1134
- | 'off';
1135
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1135
1136
  }
1136
1137
 
1137
1138
  /**
@@ -1200,15 +1201,15 @@ namespace Curly {
1200
1201
  * ```
1201
1202
  */
1202
1203
  export type Options =
1204
+ | readonly []
1203
1205
  | readonly ['all']
1204
- | readonly ['multi-line' | 'multi-or-nest' | 'multi', 'consistent']
1205
- | readonly ['multi-line' | 'multi-or-nest' | 'multi']
1206
- | readonly [];
1206
+ | readonly ['multi' | 'multi-line' | 'multi-or-nest']
1207
+ | readonly ['multi' | 'multi-line' | 'multi-or-nest', 'consistent'];
1207
1208
 
1208
1209
  export type RuleEntry =
1210
+ | 'off'
1209
1211
  | Linter.Severity
1210
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1211
- | 'off';
1212
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1212
1213
  }
1213
1214
 
1214
1215
  /**
@@ -1242,14 +1243,14 @@ namespace DefaultCase {
1242
1243
  * ]
1243
1244
  * ```
1244
1245
  */
1245
- export type Options = {
1246
- readonly commentPattern?: string;
1247
- };
1246
+ export type Options = Readonly<{
1247
+ commentPattern?: string;
1248
+ }>;
1248
1249
 
1249
1250
  export type RuleEntry =
1251
+ | 'off'
1250
1252
  | Linter.Severity
1251
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1252
- | 'off';
1253
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1253
1254
  }
1254
1255
 
1255
1256
  /**
@@ -1353,15 +1354,15 @@ namespace DotNotation {
1353
1354
  * ]
1354
1355
  * ```
1355
1356
  */
1356
- export type Options = {
1357
- readonly allowKeywords?: boolean;
1358
- readonly allowPattern?: string;
1359
- };
1357
+ export type Options = Readonly<{
1358
+ allowKeywords?: boolean;
1359
+ allowPattern?: string;
1360
+ }>;
1360
1361
 
1361
1362
  export type RuleEntry =
1363
+ | 'off'
1362
1364
  | Linter.Severity
1363
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1364
- | 'off';
1365
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1365
1366
  }
1366
1367
 
1367
1368
  /**
@@ -1452,20 +1453,20 @@ namespace Eqeqeq {
1452
1453
  * ```
1453
1454
  */
1454
1455
  export type Options =
1456
+ | readonly []
1457
+ | readonly ['always']
1455
1458
  | readonly [
1456
1459
  'always',
1457
- {
1458
- readonly null?: 'always' | 'ignore' | 'never';
1459
- },
1460
+ Readonly<{
1461
+ null?: 'always' | 'never' | 'ignore';
1462
+ }>,
1460
1463
  ]
1461
- | readonly ['allow-null' | 'smart']
1462
- | readonly ['always']
1463
- | readonly [];
1464
+ | readonly ['smart' | 'allow-null'];
1464
1465
 
1465
1466
  export type RuleEntry =
1467
+ | 'off'
1466
1468
  | Linter.Severity
1467
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1468
- | 'off';
1469
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1469
1470
  }
1470
1471
 
1471
1472
  /**
@@ -1608,26 +1609,26 @@ namespace FuncNameMatching {
1608
1609
  * ```
1609
1610
  */
1610
1611
  export type Options =
1612
+ | readonly []
1613
+ | readonly ['always' | 'never']
1611
1614
  | readonly [
1612
1615
  'always' | 'never',
1613
- {
1614
- readonly considerPropertyDescriptor?: boolean;
1615
- readonly includeCommonJSModuleExports?: boolean;
1616
- },
1616
+ Readonly<{
1617
+ considerPropertyDescriptor?: boolean;
1618
+ includeCommonJSModuleExports?: boolean;
1619
+ }>,
1617
1620
  ]
1618
1621
  | readonly [
1619
- {
1620
- readonly considerPropertyDescriptor?: boolean;
1621
- readonly includeCommonJSModuleExports?: boolean;
1622
- },
1623
- ]
1624
- | readonly ['always' | 'never']
1625
- | readonly [];
1622
+ Readonly<{
1623
+ considerPropertyDescriptor?: boolean;
1624
+ includeCommonJSModuleExports?: boolean;
1625
+ }>,
1626
+ ];
1626
1627
 
1627
1628
  export type RuleEntry =
1629
+ | 'off'
1628
1630
  | Linter.Severity
1629
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1630
- | 'off';
1631
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1631
1632
  }
1632
1633
 
1633
1634
  /**
@@ -1672,20 +1673,21 @@ namespace FuncNames {
1672
1673
  * ```
1673
1674
  */
1674
1675
  export type Options =
1676
+ | readonly []
1677
+ | readonly [Value]
1675
1678
  | readonly [
1676
1679
  Value,
1677
- {
1678
- readonly generators?: Value;
1679
- },
1680
- ]
1681
- | readonly []
1682
- | readonly [Value];
1680
+ Readonly<{
1681
+ generators?: Value;
1682
+ }>,
1683
+ ];
1684
+
1683
1685
  export type Value = 'always' | 'as-needed' | 'never';
1684
1686
 
1685
1687
  export type RuleEntry =
1688
+ | 'off'
1686
1689
  | Linter.Severity
1687
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
1688
- | 'off';
1690
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
1689
1691
  }
1690
1692
 
1691
1693
  /**
@@ -1744,19 +1746,19 @@ namespace FuncStyle {
1744
1746
  */
1745
1747
  export type Options0 = 'declaration' | 'expression';
1746
1748
 
1747
- export type Options1 = {
1748
- readonly allowArrowFunctions?: boolean;
1749
- readonly allowTypeAnnotation?: boolean;
1750
- readonly overrides?: {
1751
- readonly namedExports?: 'declaration' | 'expression' | 'ignore';
1752
- };
1753
- };
1749
+ export type Options1 = Readonly<{
1750
+ allowArrowFunctions?: boolean;
1751
+ allowTypeAnnotation?: boolean;
1752
+ overrides?: Readonly<{
1753
+ namedExports?: 'declaration' | 'expression' | 'ignore';
1754
+ }>;
1755
+ }>;
1754
1756
 
1755
1757
  export type RuleEntry =
1758
+ | 'off'
1756
1759
  | Linter.Severity
1757
- | readonly [Linter.StringSeverity, Options0, Options1]
1758
1760
  | readonly [Linter.StringSeverity, Options0]
1759
- | 'off';
1761
+ | readonly [Linter.StringSeverity, Options0, Options1];
1760
1762
  }
1761
1763
 
1762
1764
  /**
@@ -1994,14 +1996,14 @@ namespace GetterReturn {
1994
1996
  * ]
1995
1997
  * ```
1996
1998
  */
1997
- export type Options = {
1998
- readonly allowImplicit?: boolean;
1999
- };
1999
+ export type Options = Readonly<{
2000
+ allowImplicit?: boolean;
2001
+ }>;
2000
2002
 
2001
2003
  export type RuleEntry =
2004
+ | 'off'
2002
2005
  | Linter.Severity
2003
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
2004
- | 'off';
2006
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
2005
2007
  }
2006
2008
 
2007
2009
  /**
@@ -2061,15 +2063,15 @@ namespace GroupedAccessorPairs {
2061
2063
  */
2062
2064
  export type Options0 = 'anyOrder' | 'getBeforeSet' | 'setBeforeGet';
2063
2065
 
2064
- export type Options1 = {
2065
- readonly enforceForTSTypes?: boolean;
2066
- };
2066
+ export type Options1 = Readonly<{
2067
+ enforceForTSTypes?: boolean;
2068
+ }>;
2067
2069
 
2068
2070
  export type RuleEntry =
2071
+ | 'off'
2069
2072
  | Linter.Severity
2070
- | readonly [Linter.StringSeverity, Options0, Options1]
2071
2073
  | readonly [Linter.StringSeverity, Options0]
2072
- | 'off';
2074
+ | readonly [Linter.StringSeverity, Options0, Options1];
2073
2075
  }
2074
2076
 
2075
2077
  /**
@@ -2177,9 +2179,9 @@ namespace IdDenylist {
2177
2179
  export type Options = readonly string[];
2178
2180
 
2179
2181
  export type RuleEntry =
2182
+ | 'off'
2180
2183
  | Linter.Severity
2181
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
2182
- | 'off';
2184
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
2183
2185
  }
2184
2186
 
2185
2187
  /**
@@ -2236,18 +2238,18 @@ namespace IdLength {
2236
2238
  * ]
2237
2239
  * ```
2238
2240
  */
2239
- export type Options = {
2240
- readonly min?: number;
2241
- readonly max?: number;
2242
- readonly exceptions?: readonly string[];
2243
- readonly exceptionPatterns?: readonly string[];
2244
- readonly properties?: 'always' | 'never';
2245
- };
2241
+ export type Options = Readonly<{
2242
+ min?: number;
2243
+ max?: number;
2244
+ exceptions?: readonly string[];
2245
+ exceptionPatterns?: readonly string[];
2246
+ properties?: 'always' | 'never';
2247
+ }>;
2246
2248
 
2247
2249
  export type RuleEntry =
2250
+ | 'off'
2248
2251
  | Linter.Severity
2249
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
2250
- | 'off';
2252
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
2251
2253
  }
2252
2254
 
2253
2255
  /**
@@ -2295,18 +2297,18 @@ namespace IdMatch {
2295
2297
  */
2296
2298
  export type Options0 = string;
2297
2299
 
2298
- export type Options1 = {
2299
- readonly properties?: boolean;
2300
- readonly classFields?: boolean;
2301
- readonly onlyDeclarations?: boolean;
2302
- readonly ignoreDestructuring?: boolean;
2303
- };
2300
+ export type Options1 = Readonly<{
2301
+ properties?: boolean;
2302
+ classFields?: boolean;
2303
+ onlyDeclarations?: boolean;
2304
+ ignoreDestructuring?: boolean;
2305
+ }>;
2304
2306
 
2305
2307
  export type RuleEntry =
2308
+ | 'off'
2306
2309
  | Linter.Severity
2307
- | readonly [Linter.StringSeverity, Options0, Options1]
2308
2310
  | readonly [Linter.StringSeverity, Options0]
2309
- | 'off';
2311
+ | readonly [Linter.StringSeverity, Options0, Options1];
2310
2312
  }
2311
2313
 
2312
2314
  /**
@@ -2848,20 +2850,20 @@ namespace InitDeclarations {
2848
2850
  * ```
2849
2851
  */
2850
2852
  export type Options =
2851
- | readonly [
2852
- 'never',
2853
- {
2854
- readonly ignoreForLoopInit?: boolean;
2855
- },
2856
- ]
2853
+ | readonly []
2857
2854
  | readonly ['always']
2858
2855
  | readonly ['never']
2859
- | readonly [];
2856
+ | readonly [
2857
+ 'never',
2858
+ Readonly<{
2859
+ ignoreForLoopInit?: boolean;
2860
+ }>,
2861
+ ];
2860
2862
 
2861
2863
  export type RuleEntry =
2864
+ | 'off'
2862
2865
  | Linter.Severity
2863
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
2864
- | 'off';
2866
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
2865
2867
  }
2866
2868
 
2867
2869
  /**
@@ -4355,22 +4357,21 @@ namespace LogicalAssignmentOperators {
4355
4357
  * }
4356
4358
  * ```
4357
4359
  */
4358
- /* modified */
4359
4360
  export type Options =
4361
+ | readonly []
4362
+ | readonly ['always']
4360
4363
  | readonly [
4361
4364
  'always',
4362
- {
4363
- readonly enforceForIfStatements?: boolean;
4364
- },
4365
+ Readonly<{
4366
+ enforceForIfStatements?: boolean;
4367
+ }>,
4365
4368
  ]
4366
- | readonly ['always']
4367
- | readonly ['never']
4368
- | readonly [];
4369
+ | readonly ['never'];
4369
4370
 
4370
4371
  export type RuleEntry =
4372
+ | 'off'
4371
4373
  | Linter.Severity
4372
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4373
- | 'off';
4374
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4374
4375
  }
4375
4376
 
4376
4377
  /**
@@ -4418,15 +4419,15 @@ namespace MaxClassesPerFile {
4418
4419
  */
4419
4420
  export type Options =
4420
4421
  | number
4421
- | {
4422
- readonly ignoreExpressions?: boolean;
4423
- readonly max?: number;
4424
- };
4422
+ | Readonly<{
4423
+ ignoreExpressions?: boolean;
4424
+ max?: number;
4425
+ }>;
4425
4426
 
4426
4427
  export type RuleEntry =
4428
+ | 'off'
4427
4429
  | Linter.Severity
4428
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4429
- | 'off';
4430
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4430
4431
  }
4431
4432
 
4432
4433
  /**
@@ -4475,15 +4476,15 @@ namespace MaxDepth {
4475
4476
  */
4476
4477
  export type Options =
4477
4478
  | number
4478
- | {
4479
- readonly maximum?: number;
4480
- readonly max?: number;
4481
- };
4479
+ | Readonly<{
4480
+ maximum?: number;
4481
+ max?: number;
4482
+ }>;
4482
4483
 
4483
4484
  export type RuleEntry =
4485
+ | 'off'
4484
4486
  | Linter.Severity
4485
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4486
- | 'off';
4487
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4487
4488
  }
4488
4489
 
4489
4490
  /**
@@ -4692,16 +4693,16 @@ namespace MaxLines {
4692
4693
  */
4693
4694
  export type Options =
4694
4695
  | number
4695
- | {
4696
- readonly max?: number;
4697
- readonly skipComments?: boolean;
4698
- readonly skipBlankLines?: boolean;
4699
- };
4696
+ | Readonly<{
4697
+ max?: number;
4698
+ skipComments?: boolean;
4699
+ skipBlankLines?: boolean;
4700
+ }>;
4700
4701
 
4701
4702
  export type RuleEntry =
4703
+ | 'off'
4702
4704
  | Linter.Severity
4703
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4704
- | 'off';
4705
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4705
4706
  }
4706
4707
 
4707
4708
  /**
@@ -4754,18 +4755,18 @@ namespace MaxLinesPerFunction {
4754
4755
  * ```
4755
4756
  */
4756
4757
  export type Options =
4757
- | number
4758
- | {
4759
- readonly max?: number;
4760
- readonly skipComments?: boolean;
4761
- readonly skipBlankLines?: boolean;
4762
- readonly IIFEs?: boolean;
4763
- };
4758
+ | Readonly<{
4759
+ max?: number;
4760
+ skipComments?: boolean;
4761
+ skipBlankLines?: boolean;
4762
+ IIFEs?: boolean;
4763
+ }>
4764
+ | number;
4764
4765
 
4765
4766
  export type RuleEntry =
4767
+ | 'off'
4766
4768
  | Linter.Severity
4767
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4768
- | 'off';
4769
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4769
4770
  }
4770
4771
 
4771
4772
  /**
@@ -4814,15 +4815,15 @@ namespace MaxNestedCallbacks {
4814
4815
  */
4815
4816
  export type Options =
4816
4817
  | number
4817
- | {
4818
- readonly maximum?: number;
4819
- readonly max?: number;
4820
- };
4818
+ | Readonly<{
4819
+ maximum?: number;
4820
+ max?: number;
4821
+ }>;
4821
4822
 
4822
4823
  export type RuleEntry =
4824
+ | 'off'
4823
4825
  | Linter.Severity
4824
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4825
- | 'off';
4826
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4826
4827
  }
4827
4828
 
4828
4829
  /**
@@ -4875,17 +4876,17 @@ namespace MaxParams {
4875
4876
  */
4876
4877
  export type Options =
4877
4878
  | number
4878
- | {
4879
- readonly maximum?: number;
4880
- readonly max?: number;
4879
+ | Readonly<{
4880
+ maximum?: number;
4881
+ max?: number;
4881
4882
  /** Whether to count a `this` declaration when the type is `void`. */
4882
- readonly countVoidThis?: boolean;
4883
- };
4883
+ countVoidThis?: boolean;
4884
+ }>;
4884
4885
 
4885
4886
  export type RuleEntry =
4887
+ | 'off'
4886
4888
  | Linter.Severity
4887
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
4888
- | 'off';
4889
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
4889
4890
  }
4890
4891
 
4891
4892
  /**
@@ -4943,20 +4944,20 @@ namespace MaxStatements {
4943
4944
  */
4944
4945
  export type Options0 =
4945
4946
  | number
4946
- | {
4947
- readonly maximum?: number;
4948
- readonly max?: number;
4949
- };
4947
+ | Readonly<{
4948
+ maximum?: number;
4949
+ max?: number;
4950
+ }>;
4950
4951
 
4951
- export type Options1 = {
4952
- readonly ignoreTopLevelFunctions?: boolean;
4953
- };
4952
+ export type Options1 = Readonly<{
4953
+ ignoreTopLevelFunctions?: boolean;
4954
+ }>;
4954
4955
 
4955
4956
  export type RuleEntry =
4957
+ | 'off'
4956
4958
  | Linter.Severity
4957
- | readonly [Linter.StringSeverity, Options0, Options1]
4958
4959
  | readonly [Linter.StringSeverity, Options0]
4959
- | 'off';
4960
+ | readonly [Linter.StringSeverity, Options0, Options1];
4960
4961
  }
4961
4962
 
4962
4963
  /**
@@ -5138,20 +5139,20 @@ namespace NewCap {
5138
5139
  * ]
5139
5140
  * ```
5140
5141
  */
5141
- export type Options = {
5142
- readonly newIsCap?: boolean;
5143
- readonly capIsNew?: boolean;
5144
- readonly newIsCapExceptions?: readonly string[];
5145
- readonly newIsCapExceptionPattern?: string;
5146
- readonly capIsNewExceptions?: readonly string[];
5147
- readonly capIsNewExceptionPattern?: string;
5148
- readonly properties?: boolean;
5149
- };
5142
+ export type Options = Readonly<{
5143
+ newIsCap?: boolean;
5144
+ capIsNew?: boolean;
5145
+ newIsCapExceptions?: readonly string[];
5146
+ newIsCapExceptionPattern?: string;
5147
+ capIsNewExceptions?: readonly string[];
5148
+ capIsNewExceptionPattern?: string;
5149
+ properties?: boolean;
5150
+ }>;
5150
5151
 
5151
5152
  export type RuleEntry =
5153
+ | 'off'
5152
5154
  | Linter.Severity
5153
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5154
- | 'off';
5155
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5155
5156
  }
5156
5157
 
5157
5158
  /**
@@ -5396,29 +5397,29 @@ namespace NoBitwise {
5396
5397
  * ]
5397
5398
  * ```
5398
5399
  */
5399
- export type Options = {
5400
- readonly allow?: readonly (
5401
- | '&'
5402
- | '&='
5400
+ export type Options = Readonly<{
5401
+ allow?: readonly (
5403
5402
  | '^'
5404
- | '^='
5403
+ | '|'
5404
+ | '&'
5405
5405
  | '<<'
5406
- | '<<='
5407
5406
  | '>>'
5408
- | '>>='
5409
5407
  | '>>>'
5410
- | '>>>='
5411
- | '|'
5408
+ | '^='
5412
5409
  | '|='
5410
+ | '&='
5411
+ | '<<='
5412
+ | '>>='
5413
+ | '>>>='
5413
5414
  | '~'
5414
5415
  )[];
5415
- readonly int32Hint?: boolean;
5416
- };
5416
+ int32Hint?: boolean;
5417
+ }>;
5417
5418
 
5418
5419
  export type RuleEntry =
5420
+ | 'off'
5419
5421
  | Linter.Severity
5420
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5421
- | 'off';
5422
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5422
5423
  }
5423
5424
 
5424
5425
  /**
@@ -5553,12 +5554,12 @@ namespace NoCondAssign {
5553
5554
  * ]
5554
5555
  * ```
5555
5556
  */
5556
- export type Options = 'always' | 'except-parens';
5557
+ export type Options = 'except-parens' | 'always';
5557
5558
 
5558
5559
  export type RuleEntry =
5560
+ | 'off'
5559
5561
  | Linter.Severity
5560
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5561
- | 'off';
5562
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5562
5563
  }
5563
5564
 
5564
5565
  /**
@@ -5638,15 +5639,15 @@ namespace NoConsole {
5638
5639
  * ]
5639
5640
  * ```
5640
5641
  */
5641
- export type Options = {
5642
+ export type Options = Readonly<{
5642
5643
  /** @minItems 1 */
5643
- readonly allow?: readonly [string, ...(readonly string[])];
5644
- };
5644
+ allow?: readonly [string, ...string[]];
5645
+ }>;
5645
5646
 
5646
5647
  export type RuleEntry =
5648
+ | 'off'
5647
5649
  | Linter.Severity
5648
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5649
- | 'off';
5650
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5650
5651
  }
5651
5652
 
5652
5653
  /**
@@ -5720,14 +5721,14 @@ namespace NoConstantCondition {
5720
5721
  * ]
5721
5722
  * ```
5722
5723
  */
5723
- export type Options = {
5724
- readonly checkLoops?: 'all' | 'allExceptWhileTrue' | 'none' | false | true;
5725
- };
5724
+ export type Options = Readonly<{
5725
+ checkLoops?: 'all' | 'allExceptWhileTrue' | 'none' | true | false;
5726
+ }>;
5726
5727
 
5727
5728
  export type RuleEntry =
5729
+ | 'off'
5728
5730
  | Linter.Severity
5729
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5730
- | 'off';
5731
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5731
5732
  }
5732
5733
 
5733
5734
  /**
@@ -5952,15 +5953,15 @@ namespace NoDuplicateImports {
5952
5953
  * ]
5953
5954
  * ```
5954
5955
  */
5955
- export type Options = {
5956
- readonly includeExports?: boolean;
5957
- readonly allowSeparateTypeImports?: boolean;
5958
- };
5956
+ export type Options = Readonly<{
5957
+ includeExports?: boolean;
5958
+ allowSeparateTypeImports?: boolean;
5959
+ }>;
5959
5960
 
5960
5961
  export type RuleEntry =
5962
+ | 'off'
5961
5963
  | Linter.Severity
5962
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
5963
- | 'off';
5964
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
5964
5965
  }
5965
5966
 
5966
5967
  /**
@@ -5995,14 +5996,14 @@ namespace NoElseReturn {
5995
5996
  * ]
5996
5997
  * ```
5997
5998
  */
5998
- export type Options = {
5999
- readonly allowElseIf?: boolean;
6000
- };
5999
+ export type Options = Readonly<{
6000
+ allowElseIf?: boolean;
6001
+ }>;
6001
6002
 
6002
6003
  export type RuleEntry =
6004
+ | 'off'
6003
6005
  | Linter.Severity
6004
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6005
- | 'off';
6006
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6006
6007
  }
6007
6008
 
6008
6009
  /**
@@ -6037,14 +6038,14 @@ namespace NoEmpty {
6037
6038
  * ]
6038
6039
  * ```
6039
6040
  */
6040
- export type Options = {
6041
- readonly allowEmptyCatch?: boolean;
6042
- };
6041
+ export type Options = Readonly<{
6042
+ allowEmptyCatch?: boolean;
6043
+ }>;
6043
6044
 
6044
6045
  export type RuleEntry =
6046
+ | 'off'
6045
6047
  | Linter.Severity
6046
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6047
- | 'off';
6048
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6048
6049
  }
6049
6050
 
6050
6051
  /**
@@ -6115,29 +6116,29 @@ namespace NoEmptyFunction {
6115
6116
  * ]
6116
6117
  * ```
6117
6118
  */
6118
- export type Options = {
6119
- readonly allow?: readonly (
6120
- | 'arrowFunctions'
6121
- | 'asyncFunctions'
6122
- | 'asyncMethods'
6123
- | 'constructors'
6124
- | 'decoratedFunctions'
6119
+ export type Options = Readonly<{
6120
+ allow?: readonly (
6125
6121
  | 'functions'
6122
+ | 'arrowFunctions'
6126
6123
  | 'generatorFunctions'
6124
+ | 'methods'
6127
6125
  | 'generatorMethods'
6128
6126
  | 'getters'
6129
- | 'methods'
6130
- | 'overrideMethods'
6127
+ | 'setters'
6128
+ | 'constructors'
6129
+ | 'asyncFunctions'
6130
+ | 'asyncMethods'
6131
6131
  | 'privateConstructors'
6132
6132
  | 'protectedConstructors'
6133
- | 'setters'
6133
+ | 'decoratedFunctions'
6134
+ | 'overrideMethods'
6134
6135
  )[];
6135
- };
6136
+ }>;
6136
6137
 
6137
6138
  export type RuleEntry =
6139
+ | 'off'
6138
6140
  | Linter.Severity
6139
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6140
- | 'off';
6141
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6141
6142
  }
6142
6143
 
6143
6144
  /**
@@ -6171,14 +6172,14 @@ namespace NoEmptyPattern {
6171
6172
  * ]
6172
6173
  * ```
6173
6174
  */
6174
- export type Options = {
6175
- readonly allowObjectPatternsAsParameters?: boolean;
6176
- };
6175
+ export type Options = Readonly<{
6176
+ allowObjectPatternsAsParameters?: boolean;
6177
+ }>;
6177
6178
 
6178
6179
  export type RuleEntry =
6180
+ | 'off'
6179
6181
  | Linter.Severity
6180
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6181
- | 'off';
6182
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6182
6183
  }
6183
6184
 
6184
6185
  /**
@@ -6247,14 +6248,14 @@ namespace NoEval {
6247
6248
  * ]
6248
6249
  * ```
6249
6250
  */
6250
- export type Options = {
6251
- readonly allowIndirect?: boolean;
6252
- };
6251
+ export type Options = Readonly<{
6252
+ allowIndirect?: boolean;
6253
+ }>;
6253
6254
 
6254
6255
  export type RuleEntry =
6256
+ | 'off'
6255
6257
  | Linter.Severity
6256
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6257
- | 'off';
6258
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6258
6259
  }
6259
6260
 
6260
6261
  /**
@@ -6309,14 +6310,14 @@ namespace NoExtendNative {
6309
6310
  * ]
6310
6311
  * ```
6311
6312
  */
6312
- export type Options = {
6313
- readonly exceptions?: readonly string[];
6314
- };
6313
+ export type Options = Readonly<{
6314
+ exceptions?: readonly string[];
6315
+ }>;
6315
6316
 
6316
6317
  export type RuleEntry =
6318
+ | 'off'
6317
6319
  | Linter.Severity
6318
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6319
- | 'off';
6320
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6320
6321
  }
6321
6322
 
6322
6323
  /**
@@ -6382,18 +6383,19 @@ namespace NoExtraBooleanCast {
6382
6383
  * ]
6383
6384
  * ```
6384
6385
  */
6385
- export type Options =
6386
+ export type Options = Readonly<
6386
6387
  | {
6387
- readonly enforceForInnerExpressions?: boolean;
6388
+ enforceForInnerExpressions?: boolean;
6388
6389
  }
6389
6390
  | {
6390
- readonly enforceForLogicalOperands?: boolean;
6391
- };
6391
+ enforceForLogicalOperands?: boolean;
6392
+ }
6393
+ >;
6392
6394
 
6393
6395
  export type RuleEntry =
6396
+ | 'off'
6394
6397
  | Linter.Severity
6395
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6396
- | 'off';
6398
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6397
6399
  }
6398
6400
 
6399
6401
  /**
@@ -6553,16 +6555,16 @@ namespace NoFallthrough {
6553
6555
  * ]
6554
6556
  * ```
6555
6557
  */
6556
- export type Options = {
6557
- readonly commentPattern?: string;
6558
- readonly allowEmptyCase?: boolean;
6559
- readonly reportUnusedFallthroughComment?: boolean;
6560
- };
6558
+ export type Options = Readonly<{
6559
+ commentPattern?: string;
6560
+ allowEmptyCase?: boolean;
6561
+ reportUnusedFallthroughComment?: boolean;
6562
+ }>;
6561
6563
 
6562
6564
  export type RuleEntry =
6565
+ | 'off'
6563
6566
  | Linter.Severity
6564
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6565
- | 'off';
6567
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6566
6568
  }
6567
6569
 
6568
6570
  /**
@@ -6635,14 +6637,14 @@ namespace NoGlobalAssign {
6635
6637
  * ]
6636
6638
  * ```
6637
6639
  */
6638
- export type Options = {
6639
- readonly exceptions?: readonly string[];
6640
- };
6640
+ export type Options = Readonly<{
6641
+ exceptions?: readonly string[];
6642
+ }>;
6641
6643
 
6642
6644
  export type RuleEntry =
6645
+ | 'off'
6643
6646
  | Linter.Severity
6644
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6645
- | 'off';
6647
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6646
6648
  }
6647
6649
 
6648
6650
  /**
@@ -6701,18 +6703,18 @@ namespace NoImplicitCoercion {
6701
6703
  * ]
6702
6704
  * ```
6703
6705
  */
6704
- export type Options = {
6705
- readonly boolean?: boolean;
6706
- readonly number?: boolean;
6707
- readonly string?: boolean;
6708
- readonly disallowTemplateShorthand?: boolean;
6709
- readonly allow?: readonly ('- -' | '-' | '!!' | '*' | '+' | '~')[];
6710
- };
6706
+ export type Options = Readonly<{
6707
+ boolean?: boolean;
6708
+ number?: boolean;
6709
+ string?: boolean;
6710
+ disallowTemplateShorthand?: boolean;
6711
+ allow?: readonly ('~' | '!!' | '+' | '- -' | '-' | '*')[];
6712
+ }>;
6711
6713
 
6712
6714
  export type RuleEntry =
6715
+ | 'off'
6713
6716
  | Linter.Severity
6714
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6715
- | 'off';
6717
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6716
6718
  }
6717
6719
 
6718
6720
  /**
@@ -6746,14 +6748,14 @@ namespace NoImplicitGlobals {
6746
6748
  * ]
6747
6749
  * ```
6748
6750
  */
6749
- export type Options = {
6750
- readonly lexicalBindings?: boolean;
6751
- };
6751
+ export type Options = Readonly<{
6752
+ lexicalBindings?: boolean;
6753
+ }>;
6752
6754
 
6753
6755
  export type RuleEntry =
6756
+ | 'off'
6754
6757
  | Linter.Severity
6755
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6756
- | 'off';
6758
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6757
6759
  }
6758
6760
 
6759
6761
  /**
@@ -6821,14 +6823,14 @@ namespace NoInlineComments {
6821
6823
  * ]
6822
6824
  * ```
6823
6825
  */
6824
- export type Options = {
6825
- readonly ignorePattern?: string;
6826
- };
6826
+ export type Options = Readonly<{
6827
+ ignorePattern?: string;
6828
+ }>;
6827
6829
 
6828
6830
  export type RuleEntry =
6831
+ | 'off'
6829
6832
  | Linter.Severity
6830
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6831
- | 'off';
6833
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6832
6834
  }
6833
6835
 
6834
6836
  /**
@@ -6871,17 +6873,17 @@ namespace NoInnerDeclarations {
6871
6873
  * ]
6872
6874
  * ```
6873
6875
  */
6874
- export type Options0 = 'both' | 'functions';
6876
+ export type Options0 = 'functions' | 'both';
6875
6877
 
6876
- export type Options1 = {
6877
- readonly blockScopedFunctions?: 'allow' | 'disallow';
6878
- };
6878
+ export type Options1 = Readonly<{
6879
+ blockScopedFunctions?: 'allow' | 'disallow';
6880
+ }>;
6879
6881
 
6880
6882
  export type RuleEntry =
6883
+ | 'off'
6881
6884
  | Linter.Severity
6882
- | readonly [Linter.StringSeverity, Options0, Options1]
6883
6885
  | readonly [Linter.StringSeverity, Options0]
6884
- | 'off';
6886
+ | readonly [Linter.StringSeverity, Options0, Options1];
6885
6887
  }
6886
6888
 
6887
6889
  /**
@@ -6918,14 +6920,14 @@ namespace NoInvalidRegexp {
6918
6920
  * ]
6919
6921
  * ```
6920
6922
  */
6921
- export type Options = {
6922
- readonly allowConstructorFlags?: readonly string[];
6923
- };
6923
+ export type Options = Readonly<{
6924
+ allowConstructorFlags?: readonly string[];
6925
+ }>;
6924
6926
 
6925
6927
  export type RuleEntry =
6928
+ | 'off'
6926
6929
  | Linter.Severity
6927
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6928
- | 'off';
6930
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6929
6931
  }
6930
6932
 
6931
6933
  /**
@@ -6959,14 +6961,14 @@ namespace NoInvalidThis {
6959
6961
  * ]
6960
6962
  * ```
6961
6963
  */
6962
- export type Options = {
6963
- readonly capIsConstructor?: boolean;
6964
- };
6964
+ export type Options = Readonly<{
6965
+ capIsConstructor?: boolean;
6966
+ }>;
6965
6967
 
6966
6968
  export type RuleEntry =
6969
+ | 'off'
6967
6970
  | Linter.Severity
6968
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
6969
- | 'off';
6971
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
6970
6972
  }
6971
6973
 
6972
6974
  /**
@@ -7012,18 +7014,18 @@ namespace NoIrregularWhitespace {
7012
7014
  * ]
7013
7015
  * ```
7014
7016
  */
7015
- export type Options = {
7016
- readonly skipComments?: boolean;
7017
- readonly skipStrings?: boolean;
7018
- readonly skipTemplates?: boolean;
7019
- readonly skipRegExps?: boolean;
7020
- readonly skipJSXText?: boolean;
7021
- };
7017
+ export type Options = Readonly<{
7018
+ skipComments?: boolean;
7019
+ skipStrings?: boolean;
7020
+ skipTemplates?: boolean;
7021
+ skipRegExps?: boolean;
7022
+ skipJSXText?: boolean;
7023
+ }>;
7022
7024
 
7023
7025
  export type RuleEntry =
7026
+ | 'off'
7024
7027
  | Linter.Severity
7025
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7026
- | 'off';
7028
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7027
7029
  }
7028
7030
 
7029
7031
  /**
@@ -7094,15 +7096,15 @@ namespace NoLabels {
7094
7096
  * ]
7095
7097
  * ```
7096
7098
  */
7097
- export type Options = {
7098
- readonly allowLoop?: boolean;
7099
- readonly allowSwitch?: boolean;
7100
- };
7099
+ export type Options = Readonly<{
7100
+ allowLoop?: boolean;
7101
+ allowSwitch?: boolean;
7102
+ }>;
7101
7103
 
7102
7104
  export type RuleEntry =
7105
+ | 'off'
7103
7106
  | Linter.Severity
7104
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7105
- | 'off';
7107
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7106
7108
  }
7107
7109
 
7108
7110
  /**
@@ -7254,23 +7256,32 @@ namespace NoMagicNumbers {
7254
7256
  * ]
7255
7257
  * ```
7256
7258
  */
7257
- export type Options = {
7258
- readonly detectObjects?: boolean;
7259
- readonly enforceConst?: boolean;
7260
- readonly ignore?: readonly (number | string)[];
7261
- readonly ignoreArrayIndexes?: boolean;
7262
- readonly ignoreDefaultValues?: boolean;
7263
- readonly ignoreClassFieldInitialValues?: boolean;
7264
- readonly ignoreEnums?: boolean;
7265
- readonly ignoreNumericLiteralTypes?: boolean;
7266
- readonly ignoreReadonlyClassProperties?: boolean;
7267
- readonly ignoreTypeIndexes?: boolean;
7268
- };
7259
+ export type Options = Readonly<{
7260
+ /** @default false */
7261
+ detectObjects?: boolean;
7262
+ /** @default false */
7263
+ enforceConst?: boolean;
7264
+ ignore?: readonly (number | string)[];
7265
+ /** @default false */
7266
+ ignoreArrayIndexes?: boolean;
7267
+ /** @default false */
7268
+ ignoreDefaultValues?: boolean;
7269
+ /** @default false */
7270
+ ignoreClassFieldInitialValues?: boolean;
7271
+ /** @default false */
7272
+ ignoreEnums?: boolean;
7273
+ /** @default false */
7274
+ ignoreNumericLiteralTypes?: boolean;
7275
+ /** @default false */
7276
+ ignoreReadonlyClassProperties?: boolean;
7277
+ /** @default false */
7278
+ ignoreTypeIndexes?: boolean;
7279
+ }>;
7269
7280
 
7270
7281
  export type RuleEntry =
7282
+ | 'off'
7271
7283
  | Linter.Severity
7272
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7273
- | 'off';
7284
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7274
7285
  }
7275
7286
 
7276
7287
  /**
@@ -7306,14 +7317,14 @@ namespace NoMisleadingCharacterClass {
7306
7317
  * ]
7307
7318
  * ```
7308
7319
  */
7309
- export type Options = {
7310
- readonly allowEscape?: boolean;
7311
- };
7320
+ export type Options = Readonly<{
7321
+ allowEscape?: boolean;
7322
+ }>;
7312
7323
 
7313
7324
  export type RuleEntry =
7325
+ | 'off'
7314
7326
  | Linter.Severity
7315
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7316
- | 'off';
7327
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7317
7328
  }
7318
7329
 
7319
7330
  /**
@@ -7498,14 +7509,14 @@ namespace NoMultiAssign {
7498
7509
  * ]
7499
7510
  * ```
7500
7511
  */
7501
- export type Options = {
7502
- readonly ignoreNonDeclaration?: boolean;
7503
- };
7512
+ export type Options = Readonly<{
7513
+ ignoreNonDeclaration?: boolean;
7514
+ }>;
7504
7515
 
7505
7516
  export type RuleEntry =
7517
+ | 'off'
7506
7518
  | Linter.Severity
7507
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7508
- | 'off';
7519
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7509
7520
  }
7510
7521
 
7511
7522
  /**
@@ -7974,20 +7985,21 @@ namespace NoParamReassign {
7974
7985
  * ]
7975
7986
  * ```
7976
7987
  */
7977
- export type Options =
7988
+ export type Options = Readonly<
7978
7989
  | {
7979
- readonly props?: false;
7990
+ props?: false;
7980
7991
  }
7981
7992
  | {
7982
- readonly props?: true;
7983
- readonly ignorePropertyModificationsFor?: readonly string[];
7984
- readonly ignorePropertyModificationsForRegex?: readonly string[];
7985
- };
7993
+ props?: true;
7994
+ ignorePropertyModificationsFor?: readonly string[];
7995
+ ignorePropertyModificationsForRegex?: readonly string[];
7996
+ }
7997
+ >;
7986
7998
 
7987
7999
  export type RuleEntry =
8000
+ | 'off'
7988
8001
  | Linter.Severity
7989
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
7990
- | 'off';
8002
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
7991
8003
  }
7992
8004
 
7993
8005
  /**
@@ -8038,14 +8050,14 @@ namespace NoPlusplus {
8038
8050
  * ]
8039
8051
  * ```
8040
8052
  */
8041
- export type Options = {
8042
- readonly allowForLoopAfterthoughts?: boolean;
8043
- };
8053
+ export type Options = Readonly<{
8054
+ allowForLoopAfterthoughts?: boolean;
8055
+ }>;
8044
8056
 
8045
8057
  export type RuleEntry =
8058
+ | 'off'
8046
8059
  | Linter.Severity
8047
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8048
- | 'off';
8060
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8049
8061
  }
8050
8062
 
8051
8063
  /**
@@ -8114,14 +8126,14 @@ namespace NoPromiseExecutorReturn {
8114
8126
  * ]
8115
8127
  * ```
8116
8128
  */
8117
- export type Options = {
8118
- readonly allowVoid?: boolean;
8119
- };
8129
+ export type Options = Readonly<{
8130
+ allowVoid?: boolean;
8131
+ }>;
8120
8132
 
8121
8133
  export type RuleEntry =
8134
+ | 'off'
8122
8135
  | Linter.Severity
8123
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8124
- | 'off';
8136
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8125
8137
  }
8126
8138
 
8127
8139
  /**
@@ -8190,14 +8202,14 @@ namespace NoRedeclare {
8190
8202
  * ]
8191
8203
  * ```
8192
8204
  */
8193
- export type Options = {
8194
- readonly builtinGlobals?: boolean;
8195
- };
8205
+ export type Options = Readonly<{
8206
+ builtinGlobals?: boolean;
8207
+ }>;
8196
8208
 
8197
8209
  export type RuleEntry =
8210
+ | 'off'
8198
8211
  | Linter.Severity
8199
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8200
- | 'off';
8212
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8201
8213
  }
8202
8214
 
8203
8215
  /**
@@ -8298,27 +8310,28 @@ namespace NoRestrictedExports {
8298
8310
  * ]
8299
8311
  * ```
8300
8312
  */
8301
- export type Options =
8313
+ export type Options = Readonly<
8302
8314
  | {
8303
- readonly restrictedNamedExports?: readonly string[];
8304
- readonly restrictedNamedExportsPattern?: string;
8305
- readonly restrictDefaultExports?: {
8306
- readonly direct?: boolean;
8307
- readonly named?: boolean;
8308
- readonly defaultFrom?: boolean;
8309
- readonly namedFrom?: boolean;
8310
- readonly namespaceFrom?: boolean;
8311
- };
8315
+ restrictedNamedExports?: readonly string[];
8316
+ restrictedNamedExportsPattern?: string;
8312
8317
  }
8313
8318
  | {
8314
- readonly restrictedNamedExports?: readonly string[];
8315
- readonly restrictedNamedExportsPattern?: string;
8316
- };
8319
+ restrictedNamedExports?: readonly string[];
8320
+ restrictedNamedExportsPattern?: string;
8321
+ restrictDefaultExports?: Readonly<{
8322
+ direct?: boolean;
8323
+ named?: boolean;
8324
+ defaultFrom?: boolean;
8325
+ namedFrom?: boolean;
8326
+ namespaceFrom?: boolean;
8327
+ }>;
8328
+ }
8329
+ >;
8317
8330
 
8318
8331
  export type RuleEntry =
8332
+ | 'off'
8319
8333
  | Linter.Severity
8320
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8321
- | 'off';
8334
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8322
8335
  }
8323
8336
 
8324
8337
  /**
@@ -8421,31 +8434,31 @@ namespace NoRestrictedGlobals {
8421
8434
  export type Options =
8422
8435
  | readonly (
8423
8436
  | string
8424
- | {
8425
- readonly name: string;
8426
- readonly message?: string;
8427
- }
8437
+ | Readonly<{
8438
+ name: string;
8439
+ message?: string;
8440
+ }>
8428
8441
  )[]
8442
+ | readonly []
8429
8443
  | readonly [
8430
- {
8444
+ Readonly<{
8431
8445
  /** @minItems 0 */
8432
- readonly globals: readonly (
8446
+ globals: readonly (
8433
8447
  | string
8434
- | {
8435
- readonly name: string;
8436
- readonly message?: string;
8437
- }
8448
+ | Readonly<{
8449
+ name: string;
8450
+ message?: string;
8451
+ }>
8438
8452
  )[];
8439
- readonly checkGlobalObject?: boolean;
8440
- readonly globalObjects?: readonly string[];
8441
- },
8442
- ]
8443
- | readonly [];
8453
+ checkGlobalObject?: boolean;
8454
+ globalObjects?: readonly string[];
8455
+ }>,
8456
+ ];
8444
8457
 
8445
8458
  export type RuleEntry =
8459
+ | 'off'
8446
8460
  | Linter.Severity
8447
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8448
- | 'off';
8461
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8449
8462
  }
8450
8463
 
8451
8464
  /**
@@ -8682,37 +8695,39 @@ namespace NoRestrictedImports {
8682
8695
  export type Options =
8683
8696
  | readonly (
8684
8697
  | string
8685
- | {
8686
- readonly name: string;
8687
- readonly message?: string;
8688
- readonly importNames?: readonly string[];
8689
- readonly allowImportNames?: readonly string[];
8698
+ | Readonly<{
8699
+ name: string;
8700
+ message?: string;
8701
+ importNames?: readonly string[];
8702
+ allowImportNames?: readonly string[];
8690
8703
  /** Whether to allow type-only imports for a path. */
8691
- readonly allowTypeImports?: boolean;
8692
- }
8704
+ allowTypeImports?: boolean;
8705
+ }>
8693
8706
  )[]
8707
+ | readonly []
8694
8708
  | readonly [
8695
- {
8696
- readonly paths?: readonly (
8709
+ Readonly<{
8710
+ paths?: readonly (
8697
8711
  | string
8698
- | {
8699
- readonly name: string;
8700
- readonly message?: string;
8701
- readonly importNames?: readonly string[];
8702
- readonly allowImportNames?: readonly string[];
8712
+ | Readonly<{
8713
+ name: string;
8714
+ message?: string;
8715
+ importNames?: readonly string[];
8716
+ allowImportNames?: readonly string[];
8703
8717
  /** Whether to allow type-only imports for a path. */
8704
- readonly allowTypeImports?: boolean;
8705
- }
8718
+ allowTypeImports?: boolean;
8719
+ }>
8706
8720
  )[];
8707
- readonly patterns?: readonly UnknownRecord[] | readonly string[];
8708
- },
8709
- ]
8710
- | readonly [];
8721
+ patterns?:
8722
+ | readonly string[]
8723
+ | readonly Readonly<Record<string, unknown>>[];
8724
+ }>,
8725
+ ];
8711
8726
 
8712
8727
  export type RuleEntry =
8728
+ | 'off'
8713
8729
  | Linter.Severity
8714
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8715
- | 'off';
8730
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8716
8731
  }
8717
8732
 
8718
8733
  /**
@@ -8880,12 +8895,12 @@ namespace NoRestrictedProperties {
8880
8895
  * }
8881
8896
  * ```
8882
8897
  */
8883
- export type Options = readonly UnknownRecord[];
8898
+ export type Options = readonly Readonly<Record<string, unknown>>[];
8884
8899
 
8885
8900
  export type RuleEntry =
8901
+ | 'off'
8886
8902
  | Linter.Severity
8887
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8888
- | 'off';
8903
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8889
8904
  }
8890
8905
 
8891
8906
  /**
@@ -8936,16 +8951,16 @@ namespace NoRestrictedSyntax {
8936
8951
  /** @minItems 0 */
8937
8952
  export type Options = readonly (
8938
8953
  | string
8939
- | {
8940
- readonly selector: string;
8941
- readonly message?: string;
8942
- }
8954
+ | Readonly<{
8955
+ selector: string;
8956
+ message?: string;
8957
+ }>
8943
8958
  )[];
8944
8959
 
8945
8960
  export type RuleEntry =
8961
+ | 'off'
8946
8962
  | Linter.Severity
8947
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8948
- | 'off';
8963
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8949
8964
  }
8950
8965
 
8951
8966
  /**
@@ -8976,12 +8991,12 @@ namespace NoReturnAssign {
8976
8991
  * ]
8977
8992
  * ```
8978
8993
  */
8979
- export type Options = 'always' | 'except-parens';
8994
+ export type Options = 'except-parens' | 'always';
8980
8995
 
8981
8996
  export type RuleEntry =
8997
+ | 'off'
8982
8998
  | Linter.Severity
8983
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
8984
- | 'off';
8999
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
8985
9000
  }
8986
9001
 
8987
9002
  /**
@@ -9050,14 +9065,14 @@ namespace NoSelfAssign {
9050
9065
  * ]
9051
9066
  * ```
9052
9067
  */
9053
- export type Options = {
9054
- readonly props?: boolean;
9055
- };
9068
+ export type Options = Readonly<{
9069
+ props?: boolean;
9070
+ }>;
9056
9071
 
9057
9072
  export type RuleEntry =
9073
+ | 'off'
9058
9074
  | Linter.Severity
9059
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9060
- | 'off';
9075
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9061
9076
  }
9062
9077
 
9063
9078
  /**
@@ -9108,14 +9123,14 @@ namespace NoSequences {
9108
9123
  * ]
9109
9124
  * ```
9110
9125
  */
9111
- export type Options = {
9112
- readonly allowInParentheses?: boolean;
9113
- };
9126
+ export type Options = Readonly<{
9127
+ allowInParentheses?: boolean;
9128
+ }>;
9114
9129
 
9115
9130
  export type RuleEntry =
9131
+ | 'off'
9116
9132
  | Linter.Severity
9117
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9118
- | 'off';
9133
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9119
9134
  }
9120
9135
 
9121
9136
  /**
@@ -9191,24 +9206,19 @@ namespace NoShadow {
9191
9206
  * ]
9192
9207
  * ```
9193
9208
  */
9194
- export type Options = {
9195
- readonly builtinGlobals?: boolean;
9196
- readonly hoist?:
9197
- | 'all'
9198
- | 'functions-and-types'
9199
- | 'functions'
9200
- | 'never'
9201
- | 'types';
9202
- readonly allow?: readonly string[];
9203
- readonly ignoreOnInitialization?: boolean;
9204
- readonly ignoreTypeValueShadow?: boolean;
9205
- readonly ignoreFunctionTypeParameterNameValueShadow?: boolean;
9206
- };
9209
+ export type Options = Readonly<{
9210
+ builtinGlobals?: boolean;
9211
+ hoist?: 'all' | 'functions' | 'never' | 'types' | 'functions-and-types';
9212
+ allow?: readonly string[];
9213
+ ignoreOnInitialization?: boolean;
9214
+ ignoreTypeValueShadow?: boolean;
9215
+ ignoreFunctionTypeParameterNameValueShadow?: boolean;
9216
+ }>;
9207
9217
 
9208
9218
  export type RuleEntry =
9219
+ | 'off'
9209
9220
  | Linter.Severity
9210
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9211
- | 'off';
9221
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9212
9222
  }
9213
9223
 
9214
9224
  /**
@@ -9242,14 +9252,14 @@ namespace NoShadowRestrictedNames {
9242
9252
  * ]
9243
9253
  * ```
9244
9254
  */
9245
- export type Options = {
9246
- readonly reportGlobalThis?: boolean;
9247
- };
9255
+ export type Options = Readonly<{
9256
+ reportGlobalThis?: boolean;
9257
+ }>;
9248
9258
 
9249
9259
  export type RuleEntry =
9260
+ | 'off'
9250
9261
  | Linter.Severity
9251
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9252
- | 'off';
9262
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9253
9263
  }
9254
9264
 
9255
9265
  /**
@@ -9515,14 +9525,14 @@ namespace NoUndef {
9515
9525
  * ]
9516
9526
  * ```
9517
9527
  */
9518
- export type Options = {
9519
- readonly typeof?: boolean;
9520
- };
9528
+ export type Options = Readonly<{
9529
+ typeof?: boolean;
9530
+ }>;
9521
9531
 
9522
9532
  export type RuleEntry =
9533
+ | 'off'
9523
9534
  | Linter.Severity
9524
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9525
- | 'off';
9535
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9526
9536
  }
9527
9537
 
9528
9538
  /**
@@ -9618,22 +9628,22 @@ namespace NoUnderscoreDangle {
9618
9628
  * ]
9619
9629
  * ```
9620
9630
  */
9621
- export type Options = {
9622
- readonly allow?: readonly string[];
9623
- readonly allowAfterThis?: boolean;
9624
- readonly allowAfterSuper?: boolean;
9625
- readonly allowAfterThisConstructor?: boolean;
9626
- readonly enforceInMethodNames?: boolean;
9627
- readonly allowFunctionParams?: boolean;
9628
- readonly enforceInClassFields?: boolean;
9629
- readonly allowInArrayDestructuring?: boolean;
9630
- readonly allowInObjectDestructuring?: boolean;
9631
- };
9631
+ export type Options = Readonly<{
9632
+ allow?: readonly string[];
9633
+ allowAfterThis?: boolean;
9634
+ allowAfterSuper?: boolean;
9635
+ allowAfterThisConstructor?: boolean;
9636
+ enforceInMethodNames?: boolean;
9637
+ allowFunctionParams?: boolean;
9638
+ enforceInClassFields?: boolean;
9639
+ allowInArrayDestructuring?: boolean;
9640
+ allowInObjectDestructuring?: boolean;
9641
+ }>;
9632
9642
 
9633
9643
  export type RuleEntry =
9644
+ | 'off'
9634
9645
  | Linter.Severity
9635
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9636
- | 'off';
9646
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9637
9647
  }
9638
9648
 
9639
9649
  /**
@@ -9702,14 +9712,14 @@ namespace NoUnneededTernary {
9702
9712
  * ]
9703
9713
  * ```
9704
9714
  */
9705
- export type Options = {
9706
- readonly defaultAssignment?: boolean;
9707
- };
9715
+ export type Options = Readonly<{
9716
+ defaultAssignment?: boolean;
9717
+ }>;
9708
9718
 
9709
9719
  export type RuleEntry =
9720
+ | 'off'
9710
9721
  | Linter.Severity
9711
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9712
- | 'off';
9722
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9713
9723
  }
9714
9724
 
9715
9725
  /**
@@ -9771,20 +9781,20 @@ namespace NoUnreachableLoop {
9771
9781
  * ]
9772
9782
  * ```
9773
9783
  */
9774
- export type Options = {
9775
- readonly ignore?: readonly (
9784
+ export type Options = Readonly<{
9785
+ ignore?: readonly (
9786
+ | 'WhileStatement'
9776
9787
  | 'DoWhileStatement'
9788
+ | 'ForStatement'
9777
9789
  | 'ForInStatement'
9778
9790
  | 'ForOfStatement'
9779
- | 'ForStatement'
9780
- | 'WhileStatement'
9781
9791
  )[];
9782
- };
9792
+ }>;
9783
9793
 
9784
9794
  export type RuleEntry =
9795
+ | 'off'
9785
9796
  | Linter.Severity
9786
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9787
- | 'off';
9797
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9788
9798
  }
9789
9799
 
9790
9800
  /**
@@ -9836,14 +9846,14 @@ namespace NoUnsafeNegation {
9836
9846
  * ]
9837
9847
  * ```
9838
9848
  */
9839
- export type Options = {
9840
- readonly enforceForOrderingRelations?: boolean;
9841
- };
9849
+ export type Options = Readonly<{
9850
+ enforceForOrderingRelations?: boolean;
9851
+ }>;
9842
9852
 
9843
9853
  export type RuleEntry =
9854
+ | 'off'
9844
9855
  | Linter.Severity
9845
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9846
- | 'off';
9856
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9847
9857
  }
9848
9858
 
9849
9859
  /**
@@ -9878,14 +9888,14 @@ namespace NoUnsafeOptionalChaining {
9878
9888
  * ]
9879
9889
  * ```
9880
9890
  */
9881
- export type Options = {
9882
- readonly disallowArithmeticOperators?: boolean;
9883
- };
9891
+ export type Options = Readonly<{
9892
+ disallowArithmeticOperators?: boolean;
9893
+ }>;
9884
9894
 
9885
9895
  export type RuleEntry =
9896
+ | 'off'
9886
9897
  | Linter.Severity
9887
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9888
- | 'off';
9898
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9889
9899
  }
9890
9900
 
9891
9901
  /**
@@ -9931,18 +9941,18 @@ namespace NoUnusedExpressions {
9931
9941
  * ]
9932
9942
  * ```
9933
9943
  */
9934
- export type Options = {
9935
- readonly allowShortCircuit?: boolean;
9936
- readonly allowTernary?: boolean;
9937
- readonly allowTaggedTemplates?: boolean;
9938
- readonly enforceForJSX?: boolean;
9939
- readonly ignoreDirectives?: boolean;
9940
- };
9944
+ export type Options = Readonly<{
9945
+ allowShortCircuit?: boolean;
9946
+ allowTernary?: boolean;
9947
+ allowTaggedTemplates?: boolean;
9948
+ enforceForJSX?: boolean;
9949
+ ignoreDirectives?: boolean;
9950
+ }>;
9941
9951
 
9942
9952
  export type RuleEntry =
9953
+ | 'off'
9943
9954
  | Linter.Severity
9944
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
9945
- | 'off';
9955
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
9946
9956
  }
9947
9957
 
9948
9958
  /**
@@ -10063,26 +10073,25 @@ namespace NoUnusedVars {
10063
10073
  * ```
10064
10074
  */
10065
10075
  export type Options =
10066
- | 'all'
10067
- | 'local'
10068
- | {
10069
- readonly vars?: 'all' | 'local';
10070
- readonly varsIgnorePattern?: string;
10071
- readonly args?: 'after-used' | 'all' | 'none';
10072
- readonly ignoreRestSiblings?: boolean;
10073
- readonly argsIgnorePattern?: string;
10074
- readonly caughtErrors?: 'all' | 'none';
10075
- readonly caughtErrorsIgnorePattern?: string;
10076
- readonly destructuredArrayIgnorePattern?: string;
10077
- readonly ignoreClassWithStaticInitBlock?: boolean;
10078
- readonly ignoreUsingDeclarations?: boolean;
10079
- readonly reportUsedIgnorePattern?: boolean;
10080
- };
10076
+ | ('all' | 'local')
10077
+ | Readonly<{
10078
+ vars?: 'all' | 'local';
10079
+ varsIgnorePattern?: string;
10080
+ args?: 'all' | 'after-used' | 'none';
10081
+ ignoreRestSiblings?: boolean;
10082
+ argsIgnorePattern?: string;
10083
+ caughtErrors?: 'all' | 'none';
10084
+ caughtErrorsIgnorePattern?: string;
10085
+ destructuredArrayIgnorePattern?: string;
10086
+ ignoreClassWithStaticInitBlock?: boolean;
10087
+ ignoreUsingDeclarations?: boolean;
10088
+ reportUsedIgnorePattern?: boolean;
10089
+ }>;
10081
10090
 
10082
10091
  export type RuleEntry =
10092
+ | 'off'
10083
10093
  | Linter.Severity
10084
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10085
- | 'off';
10094
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10086
10095
  }
10087
10096
 
10088
10097
  /**
@@ -10145,20 +10154,20 @@ namespace NoUseBeforeDefine {
10145
10154
  */
10146
10155
  export type Options =
10147
10156
  | 'nofunc'
10148
- | {
10149
- readonly functions?: boolean;
10150
- readonly classes?: boolean;
10151
- readonly variables?: boolean;
10152
- readonly allowNamedExports?: boolean;
10153
- readonly enums?: boolean;
10154
- readonly typedefs?: boolean;
10155
- readonly ignoreTypeReferences?: boolean;
10156
- };
10157
+ | Readonly<{
10158
+ functions?: boolean;
10159
+ classes?: boolean;
10160
+ variables?: boolean;
10161
+ allowNamedExports?: boolean;
10162
+ enums?: boolean;
10163
+ typedefs?: boolean;
10164
+ ignoreTypeReferences?: boolean;
10165
+ }>;
10157
10166
 
10158
10167
  export type RuleEntry =
10168
+ | 'off'
10159
10169
  | Linter.Severity
10160
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10161
- | 'off';
10170
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10162
10171
  }
10163
10172
 
10164
10173
  /**
@@ -10261,14 +10270,14 @@ namespace NoUselessComputedKey {
10261
10270
  * ]
10262
10271
  * ```
10263
10272
  */
10264
- export type Options = {
10265
- readonly enforceForClassMembers?: boolean;
10266
- };
10273
+ export type Options = Readonly<{
10274
+ enforceForClassMembers?: boolean;
10275
+ }>;
10267
10276
 
10268
10277
  export type RuleEntry =
10278
+ | 'off'
10269
10279
  | Linter.Severity
10270
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10271
- | 'off';
10280
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10272
10281
  }
10273
10282
 
10274
10283
  /**
@@ -10342,14 +10351,14 @@ namespace NoUselessEscape {
10342
10351
  * ]
10343
10352
  * ```
10344
10353
  */
10345
- export type Options = {
10346
- readonly allowRegexCharacters?: readonly string[];
10347
- };
10354
+ export type Options = Readonly<{
10355
+ allowRegexCharacters?: readonly string[];
10356
+ }>;
10348
10357
 
10349
10358
  export type RuleEntry =
10359
+ | 'off'
10350
10360
  | Linter.Severity
10351
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10352
- | 'off';
10361
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10353
10362
  }
10354
10363
 
10355
10364
  /**
@@ -10391,16 +10400,16 @@ namespace NoUselessRename {
10391
10400
  * ]
10392
10401
  * ```
10393
10402
  */
10394
- export type Options = {
10395
- readonly ignoreDestructuring?: boolean;
10396
- readonly ignoreImport?: boolean;
10397
- readonly ignoreExport?: boolean;
10398
- };
10403
+ export type Options = Readonly<{
10404
+ ignoreDestructuring?: boolean;
10405
+ ignoreImport?: boolean;
10406
+ ignoreExport?: boolean;
10407
+ }>;
10399
10408
 
10400
10409
  export type RuleEntry =
10410
+ | 'off'
10401
10411
  | Linter.Severity
10402
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10403
- | 'off';
10412
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10404
10413
  }
10405
10414
 
10406
10415
  /**
@@ -10470,14 +10479,14 @@ namespace NoVoid {
10470
10479
  * ]
10471
10480
  * ```
10472
10481
  */
10473
- export type Options = {
10474
- readonly allowAsStatement?: boolean;
10475
- };
10482
+ export type Options = Readonly<{
10483
+ allowAsStatement?: boolean;
10484
+ }>;
10476
10485
 
10477
10486
  export type RuleEntry =
10487
+ | 'off'
10478
10488
  | Linter.Severity
10479
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10480
- | 'off';
10489
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10481
10490
  }
10482
10491
 
10483
10492
  /**
@@ -10529,17 +10538,17 @@ namespace NoWarningComments {
10529
10538
  * ]
10530
10539
  * ```
10531
10540
  */
10532
- export type Options = {
10533
- readonly terms?: readonly string[];
10534
- readonly location?: 'anywhere' | 'start';
10541
+ export type Options = Readonly<{
10542
+ terms?: readonly string[];
10543
+ location?: 'start' | 'anywhere';
10535
10544
  /** @minItems 1 */
10536
- readonly decoration?: readonly [string, ...(readonly string[])];
10537
- };
10545
+ decoration?: readonly [string, ...string[]];
10546
+ }>;
10538
10547
 
10539
10548
  export type RuleEntry =
10549
+ | 'off'
10540
10550
  | Linter.Severity
10541
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
10542
- | 'off';
10551
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
10543
10552
  }
10544
10553
 
10545
10554
  /**
@@ -11001,37 +11010,37 @@ namespace ObjectShorthand {
11001
11010
  * ```
11002
11011
  */
11003
11012
  export type Options =
11004
- | readonly [
11005
- 'always' | 'methods' | 'properties',
11006
- {
11007
- readonly avoidQuotes?: boolean;
11008
- },
11009
- ]
11010
- | readonly [
11011
- 'always' | 'methods',
11012
- {
11013
- readonly ignoreConstructors?: boolean;
11014
- readonly methodsIgnorePattern?: string;
11015
- readonly avoidQuotes?: boolean;
11016
- readonly avoidExplicitReturnArrows?: boolean;
11017
- },
11018
- ]
11013
+ | readonly []
11019
11014
  | readonly [
11020
11015
  | 'always'
11021
- | 'consistent-as-needed'
11022
- | 'consistent'
11023
11016
  | 'methods'
11017
+ | 'properties'
11024
11018
  | 'never'
11025
- | 'properties',
11019
+ | 'consistent'
11020
+ | 'consistent-as-needed',
11026
11021
  ]
11027
11022
  | readonly ['always' | 'methods' | 'properties']
11023
+ | readonly [
11024
+ 'always' | 'methods' | 'properties',
11025
+ Readonly<{
11026
+ avoidQuotes?: boolean;
11027
+ }>,
11028
+ ]
11028
11029
  | readonly ['always' | 'methods']
11029
- | readonly [];
11030
+ | readonly [
11031
+ 'always' | 'methods',
11032
+ Readonly<{
11033
+ ignoreConstructors?: boolean;
11034
+ methodsIgnorePattern?: string;
11035
+ avoidQuotes?: boolean;
11036
+ avoidExplicitReturnArrows?: boolean;
11037
+ }>,
11038
+ ];
11030
11039
 
11031
11040
  export type RuleEntry =
11041
+ | 'off'
11032
11042
  | Linter.Severity
11033
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11034
- | 'off';
11043
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11035
11044
  }
11036
11045
 
11037
11046
  /**
@@ -11133,26 +11142,26 @@ namespace OneVar {
11133
11142
  * ```
11134
11143
  */
11135
11144
  export type Options =
11136
- | 'always'
11137
- | 'consecutive'
11138
- | 'never'
11139
- | {
11140
- readonly initialized?: 'always' | 'consecutive' | 'never';
11141
- readonly uninitialized?: 'always' | 'consecutive' | 'never';
11142
- }
11143
- | {
11144
- readonly separateRequires?: boolean;
11145
- readonly var?: 'always' | 'consecutive' | 'never';
11146
- readonly let?: 'always' | 'consecutive' | 'never';
11147
- readonly const?: 'always' | 'consecutive' | 'never';
11148
- readonly using?: 'always' | 'consecutive' | 'never';
11149
- readonly awaitUsing?: 'always' | 'consecutive' | 'never';
11150
- };
11145
+ | ('always' | 'never' | 'consecutive')
11146
+ | Readonly<
11147
+ | {
11148
+ separateRequires?: boolean;
11149
+ var?: 'always' | 'never' | 'consecutive';
11150
+ let?: 'always' | 'never' | 'consecutive';
11151
+ const?: 'always' | 'never' | 'consecutive';
11152
+ using?: 'always' | 'never' | 'consecutive';
11153
+ awaitUsing?: 'always' | 'never' | 'consecutive';
11154
+ }
11155
+ | {
11156
+ initialized?: 'always' | 'never' | 'consecutive';
11157
+ uninitialized?: 'always' | 'never' | 'consecutive';
11158
+ }
11159
+ >;
11151
11160
 
11152
11161
  export type RuleEntry =
11162
+ | 'off'
11153
11163
  | Linter.Severity
11154
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11155
- | 'off';
11164
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11156
11165
  }
11157
11166
 
11158
11167
  /**
@@ -11219,9 +11228,9 @@ namespace OperatorAssignment {
11219
11228
  export type Options = 'always' | 'never';
11220
11229
 
11221
11230
  export type RuleEntry =
11231
+ | 'off'
11222
11232
  | Linter.Severity
11223
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11224
- | 'off';
11233
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11225
11234
  }
11226
11235
 
11227
11236
  /**
@@ -11521,15 +11530,15 @@ namespace PreferArrowCallback {
11521
11530
  * ]
11522
11531
  * ```
11523
11532
  */
11524
- export type Options = {
11525
- readonly allowNamedFunctions?: boolean;
11526
- readonly allowUnboundThis?: boolean;
11527
- };
11533
+ export type Options = Readonly<{
11534
+ allowNamedFunctions?: boolean;
11535
+ allowUnboundThis?: boolean;
11536
+ }>;
11528
11537
 
11529
11538
  export type RuleEntry =
11539
+ | 'off'
11530
11540
  | Linter.Severity
11531
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11532
- | 'off';
11541
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11533
11542
  }
11534
11543
 
11535
11544
  /**
@@ -11571,15 +11580,15 @@ namespace PreferConst {
11571
11580
  * ]
11572
11581
  * ```
11573
11582
  */
11574
- export type Options = {
11575
- readonly destructuring?: 'all' | 'any';
11576
- readonly ignoreReadBeforeAssign?: boolean;
11577
- };
11583
+ export type Options = Readonly<{
11584
+ destructuring?: 'any' | 'all';
11585
+ ignoreReadBeforeAssign?: boolean;
11586
+ }>;
11578
11587
 
11579
11588
  export type RuleEntry =
11589
+ | 'off'
11580
11590
  | Linter.Severity
11581
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11582
- | 'off';
11591
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11583
11592
  }
11584
11593
 
11585
11594
  /**
@@ -11660,31 +11669,32 @@ namespace PreferDestructuring {
11660
11669
  * ]
11661
11670
  * ```
11662
11671
  */
11663
- export type Options0 =
11672
+ export type Options0 = Readonly<
11664
11673
  | {
11665
- readonly array?: boolean;
11666
- readonly object?: boolean;
11674
+ VariableDeclarator?: Readonly<{
11675
+ array?: boolean;
11676
+ object?: boolean;
11677
+ }>;
11678
+ AssignmentExpression?: Readonly<{
11679
+ array?: boolean;
11680
+ object?: boolean;
11681
+ }>;
11667
11682
  }
11668
11683
  | {
11669
- readonly VariableDeclarator?: {
11670
- readonly array?: boolean;
11671
- readonly object?: boolean;
11672
- };
11673
- readonly AssignmentExpression?: {
11674
- readonly array?: boolean;
11675
- readonly object?: boolean;
11676
- };
11677
- };
11678
-
11679
- export type Options1 = {
11680
- readonly enforceForRenamedProperties?: boolean;
11681
- };
11684
+ array?: boolean;
11685
+ object?: boolean;
11686
+ }
11687
+ >;
11688
+
11689
+ export type Options1 = Readonly<{
11690
+ enforceForRenamedProperties?: boolean;
11691
+ }>;
11682
11692
 
11683
11693
  export type RuleEntry =
11694
+ | 'off'
11684
11695
  | Linter.Severity
11685
- | readonly [Linter.StringSeverity, Options0, Options1]
11686
11696
  | readonly [Linter.StringSeverity, Options0]
11687
- | 'off';
11697
+ | readonly [Linter.StringSeverity, Options0, Options1];
11688
11698
  }
11689
11699
 
11690
11700
  /**
@@ -11811,14 +11821,14 @@ namespace PreferPromiseRejectErrors {
11811
11821
  * ]
11812
11822
  * ```
11813
11823
  */
11814
- export type Options = {
11815
- readonly allowEmptyReject?: boolean;
11816
- };
11824
+ export type Options = Readonly<{
11825
+ allowEmptyReject?: boolean;
11826
+ }>;
11817
11827
 
11818
11828
  export type RuleEntry =
11829
+ | 'off'
11819
11830
  | Linter.Severity
11820
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11821
- | 'off';
11831
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11822
11832
  }
11823
11833
 
11824
11834
  /**
@@ -11903,14 +11913,14 @@ namespace PreferRegexLiterals {
11903
11913
  * ]
11904
11914
  * ```
11905
11915
  */
11906
- export type Options = {
11907
- readonly disallowRedundantWrapping?: boolean;
11908
- };
11916
+ export type Options = Readonly<{
11917
+ disallowRedundantWrapping?: boolean;
11918
+ }>;
11909
11919
 
11910
11920
  export type RuleEntry =
11921
+ | 'off'
11911
11922
  | Linter.Severity
11912
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
11913
- | 'off';
11923
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
11914
11924
  }
11915
11925
 
11916
11926
  /**
@@ -11998,18 +12008,18 @@ namespace PreserveCaughtError {
11998
12008
  * ]
11999
12009
  * ```
12000
12010
  */
12001
- export type Options = {
12011
+ export type Options = Readonly<{
12002
12012
  /**
12003
12013
  * Requires the catch blocks to always have the caught error parameter so it
12004
12014
  * is not discarded.
12005
12015
  */
12006
- readonly requireCatchParameter?: boolean;
12007
- };
12016
+ requireCatchParameter?: boolean;
12017
+ }>;
12008
12018
 
12009
12019
  export type RuleEntry =
12020
+ | 'off'
12010
12021
  | Linter.Severity
12011
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12012
- | 'off';
12022
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12013
12023
  }
12014
12024
 
12015
12025
  /**
@@ -12171,9 +12181,9 @@ namespace Radix {
12171
12181
  export type Options = 'always' | 'as-needed';
12172
12182
 
12173
12183
  export type RuleEntry =
12184
+ | 'off'
12174
12185
  | Linter.Severity
12175
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12176
- | 'off';
12186
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12177
12187
  }
12178
12188
 
12179
12189
  /**
@@ -12208,14 +12218,14 @@ namespace RequireAtomicUpdates {
12208
12218
  * ]
12209
12219
  * ```
12210
12220
  */
12211
- export type Options = {
12212
- readonly allowProperties?: boolean;
12213
- };
12221
+ export type Options = Readonly<{
12222
+ allowProperties?: boolean;
12223
+ }>;
12214
12224
 
12215
12225
  export type RuleEntry =
12226
+ | 'off'
12216
12227
  | Linter.Severity
12217
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12218
- | 'off';
12228
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12219
12229
  }
12220
12230
 
12221
12231
  /**
@@ -12271,14 +12281,14 @@ namespace RequireUnicodeRegexp {
12271
12281
  * ]
12272
12282
  * ```
12273
12283
  */
12274
- export type Options = {
12275
- readonly requireFlag?: 'u' | 'v';
12276
- };
12284
+ export type Options = Readonly<{
12285
+ requireFlag?: 'u' | 'v';
12286
+ }>;
12277
12287
 
12278
12288
  export type RuleEntry =
12289
+ | 'off'
12279
12290
  | Linter.Severity
12280
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12281
- | 'off';
12291
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12282
12292
  }
12283
12293
 
12284
12294
  /**
@@ -12526,27 +12536,27 @@ namespace SortImports {
12526
12536
  * ]
12527
12537
  * ```
12528
12538
  */
12529
- export type Options = {
12530
- readonly ignoreCase?: boolean;
12539
+ export type Options = Readonly<{
12540
+ ignoreCase?: boolean;
12531
12541
  /**
12532
12542
  * @minItems 4
12533
12543
  * @maxItems 4
12534
12544
  */
12535
- readonly memberSyntaxSortOrder?: readonly [
12536
- 'all' | 'multiple' | 'none' | 'single',
12537
- 'all' | 'multiple' | 'none' | 'single',
12538
- 'all' | 'multiple' | 'none' | 'single',
12539
- 'all' | 'multiple' | 'none' | 'single',
12545
+ memberSyntaxSortOrder?: readonly [
12546
+ 'none' | 'all' | 'multiple' | 'single',
12547
+ 'none' | 'all' | 'multiple' | 'single',
12548
+ 'none' | 'all' | 'multiple' | 'single',
12549
+ 'none' | 'all' | 'multiple' | 'single',
12540
12550
  ];
12541
- readonly ignoreDeclarationSort?: boolean;
12542
- readonly ignoreMemberSort?: boolean;
12543
- readonly allowSeparatedGroups?: boolean;
12544
- };
12551
+ ignoreDeclarationSort?: boolean;
12552
+ ignoreMemberSort?: boolean;
12553
+ allowSeparatedGroups?: boolean;
12554
+ }>;
12545
12555
 
12546
12556
  export type RuleEntry =
12557
+ | 'off'
12547
12558
  | Linter.Severity
12548
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12549
- | 'off';
12559
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12550
12560
  }
12551
12561
 
12552
12562
  /**
@@ -12601,19 +12611,19 @@ namespace SortKeys {
12601
12611
  */
12602
12612
  export type Options0 = 'asc' | 'desc';
12603
12613
 
12604
- export type Options1 = {
12605
- readonly caseSensitive?: boolean;
12606
- readonly natural?: boolean;
12607
- readonly minKeys?: number;
12608
- readonly allowLineSeparatedGroups?: boolean;
12609
- readonly ignoreComputedKeys?: boolean;
12610
- };
12614
+ export type Options1 = Readonly<{
12615
+ caseSensitive?: boolean;
12616
+ natural?: boolean;
12617
+ minKeys?: number;
12618
+ allowLineSeparatedGroups?: boolean;
12619
+ ignoreComputedKeys?: boolean;
12620
+ }>;
12611
12621
 
12612
12622
  export type RuleEntry =
12623
+ | 'off'
12613
12624
  | Linter.Severity
12614
- | readonly [Linter.StringSeverity, Options0, Options1]
12615
12625
  | readonly [Linter.StringSeverity, Options0]
12616
- | 'off';
12626
+ | readonly [Linter.StringSeverity, Options0, Options1];
12617
12627
  }
12618
12628
 
12619
12629
  /**
@@ -12648,14 +12658,14 @@ namespace SortVars {
12648
12658
  * ]
12649
12659
  * ```
12650
12660
  */
12651
- export type Options = {
12652
- readonly ignoreCase?: boolean;
12653
- };
12661
+ export type Options = Readonly<{
12662
+ ignoreCase?: boolean;
12663
+ }>;
12654
12664
 
12655
12665
  export type RuleEntry =
12666
+ | 'off'
12656
12667
  | Linter.Severity
12657
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
12658
- | 'off';
12668
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
12659
12669
  }
12660
12670
 
12661
12671
  /**
@@ -13037,12 +13047,12 @@ namespace Strict {
13037
13047
  * ]
13038
13048
  * ```
13039
13049
  */
13040
- export type Options = 'function' | 'global' | 'never' | 'safe';
13050
+ export type Options = 'never' | 'global' | 'function' | 'safe';
13041
13051
 
13042
13052
  export type RuleEntry =
13053
+ | 'off'
13043
13054
  | Linter.Severity
13044
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
13045
- | 'off';
13055
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
13046
13056
  }
13047
13057
 
13048
13058
  /**
@@ -13198,9 +13208,9 @@ namespace UnicodeBom {
13198
13208
  export type Options = 'always' | 'never';
13199
13209
 
13200
13210
  export type RuleEntry =
13211
+ | 'off'
13201
13212
  | Linter.Severity
13202
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
13203
- | 'off';
13213
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
13204
13214
  }
13205
13215
 
13206
13216
  /**
@@ -13238,15 +13248,15 @@ namespace UseIsnan {
13238
13248
  * ]
13239
13249
  * ```
13240
13250
  */
13241
- export type Options = {
13242
- readonly enforceForSwitchCase?: boolean;
13243
- readonly enforceForIndexOf?: boolean;
13244
- };
13251
+ export type Options = Readonly<{
13252
+ enforceForSwitchCase?: boolean;
13253
+ enforceForIndexOf?: boolean;
13254
+ }>;
13245
13255
 
13246
13256
  export type RuleEntry =
13257
+ | 'off'
13247
13258
  | Linter.Severity
13248
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
13249
- | 'off';
13259
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
13250
13260
  }
13251
13261
 
13252
13262
  /**
@@ -13281,14 +13291,14 @@ namespace ValidTypeof {
13281
13291
  * ]
13282
13292
  * ```
13283
13293
  */
13284
- export type Options = {
13285
- readonly requireStringLiterals?: boolean;
13286
- };
13294
+ export type Options = Readonly<{
13295
+ requireStringLiterals?: boolean;
13296
+ }>;
13287
13297
 
13288
13298
  export type RuleEntry =
13299
+ | 'off'
13289
13300
  | Linter.Severity
13290
- | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>
13291
- | 'off';
13301
+ | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
13292
13302
  }
13293
13303
 
13294
13304
  /**
@@ -13462,433 +13472,430 @@ namespace Yoda {
13462
13472
  */
13463
13473
  export type Options0 = 'always' | 'never';
13464
13474
 
13465
- export type Options1 = {
13466
- readonly exceptRange?: boolean;
13467
- readonly onlyEquality?: boolean;
13468
- };
13475
+ export type Options1 = Readonly<{
13476
+ exceptRange?: boolean;
13477
+ onlyEquality?: boolean;
13478
+ }>;
13469
13479
 
13470
13480
  export type RuleEntry =
13481
+ | 'off'
13471
13482
  | Linter.Severity
13472
- | readonly [Linter.StringSeverity, Options0, Options1]
13473
13483
  | readonly [Linter.StringSeverity, Options0]
13474
- | 'off';
13475
- }
13476
-
13477
- export type EslintRules = {
13478
- readonly 'accessor-pairs': AccessorPairs.RuleEntry;
13479
- readonly 'array-callback-return': ArrayCallbackReturn.RuleEntry;
13480
- readonly 'arrow-body-style': ArrowBodyStyle.RuleEntry;
13481
- readonly 'block-scoped-var': BlockScopedVar.RuleEntry;
13482
- readonly camelcase: Camelcase.RuleEntry;
13483
- readonly 'capitalized-comments': CapitalizedComments.RuleEntry;
13484
- readonly 'class-methods-use-this': ClassMethodsUseThis.RuleEntry;
13485
- readonly complexity: Complexity.RuleEntry;
13486
- readonly 'consistent-return': ConsistentReturn.RuleEntry;
13487
- readonly 'consistent-this': ConsistentThis.RuleEntry;
13488
- readonly 'constructor-super': ConstructorSuper.RuleEntry;
13489
- readonly curly: Curly.RuleEntry;
13490
- readonly 'default-case': DefaultCase.RuleEntry;
13491
- readonly 'default-case-last': DefaultCaseLast.RuleEntry;
13492
- readonly 'default-param-last': DefaultParamLast.RuleEntry;
13493
- readonly 'dot-notation': DotNotation.RuleEntry;
13494
- readonly eqeqeq: Eqeqeq.RuleEntry;
13495
- readonly 'for-direction': ForDirection.RuleEntry;
13496
- readonly 'func-name-matching': FuncNameMatching.RuleEntry;
13497
- readonly 'func-names': FuncNames.RuleEntry;
13498
- readonly 'func-style': FuncStyle.RuleEntry;
13499
- readonly 'getter-return': GetterReturn.RuleEntry;
13500
- readonly 'grouped-accessor-pairs': GroupedAccessorPairs.RuleEntry;
13501
- readonly 'guard-for-in': GuardForIn.RuleEntry;
13502
- readonly 'id-denylist': IdDenylist.RuleEntry;
13503
- readonly 'id-length': IdLength.RuleEntry;
13504
- readonly 'id-match': IdMatch.RuleEntry;
13505
- readonly 'init-declarations': InitDeclarations.RuleEntry;
13506
- readonly 'logical-assignment-operators': LogicalAssignmentOperators.RuleEntry;
13507
- readonly 'max-classes-per-file': MaxClassesPerFile.RuleEntry;
13508
- readonly 'max-depth': MaxDepth.RuleEntry;
13509
- readonly 'max-lines': MaxLines.RuleEntry;
13510
- readonly 'max-lines-per-function': MaxLinesPerFunction.RuleEntry;
13511
- readonly 'max-nested-callbacks': MaxNestedCallbacks.RuleEntry;
13512
- readonly 'max-params': MaxParams.RuleEntry;
13513
- readonly 'max-statements': MaxStatements.RuleEntry;
13514
- readonly 'new-cap': NewCap.RuleEntry;
13515
- readonly 'no-alert': NoAlert.RuleEntry;
13516
- readonly 'no-array-constructor': NoArrayConstructor.RuleEntry;
13517
- readonly 'no-async-promise-executor': NoAsyncPromiseExecutor.RuleEntry;
13518
- readonly 'no-await-in-loop': NoAwaitInLoop.RuleEntry;
13519
- readonly 'no-bitwise': NoBitwise.RuleEntry;
13520
- readonly 'no-caller': NoCaller.RuleEntry;
13521
- readonly 'no-case-declarations': NoCaseDeclarations.RuleEntry;
13522
- readonly 'no-class-assign': NoClassAssign.RuleEntry;
13523
- readonly 'no-compare-neg-zero': NoCompareNegZero.RuleEntry;
13524
- readonly 'no-cond-assign': NoCondAssign.RuleEntry;
13525
- readonly 'no-console': NoConsole.RuleEntry;
13526
- readonly 'no-const-assign': NoConstAssign.RuleEntry;
13527
- readonly 'no-constant-binary-expression': NoConstantBinaryExpression.RuleEntry;
13528
- readonly 'no-constant-condition': NoConstantCondition.RuleEntry;
13529
- readonly 'no-constructor-return': NoConstructorReturn.RuleEntry;
13530
- readonly 'no-continue': NoContinue.RuleEntry;
13531
- readonly 'no-control-regex': NoControlRegex.RuleEntry;
13532
- readonly 'no-debugger': NoDebugger.RuleEntry;
13533
- readonly 'no-delete-var': NoDeleteVar.RuleEntry;
13534
- readonly 'no-div-regex': NoDivRegex.RuleEntry;
13535
- readonly 'no-dupe-args': NoDupeArgs.RuleEntry;
13536
- readonly 'no-dupe-class-members': NoDupeClassMembers.RuleEntry;
13537
- readonly 'no-dupe-else-if': NoDupeElseIf.RuleEntry;
13538
- readonly 'no-dupe-keys': NoDupeKeys.RuleEntry;
13539
- readonly 'no-duplicate-case': NoDuplicateCase.RuleEntry;
13540
- readonly 'no-duplicate-imports': NoDuplicateImports.RuleEntry;
13541
- readonly 'no-else-return': NoElseReturn.RuleEntry;
13542
- readonly 'no-empty': NoEmpty.RuleEntry;
13543
- readonly 'no-empty-character-class': NoEmptyCharacterClass.RuleEntry;
13544
- readonly 'no-empty-function': NoEmptyFunction.RuleEntry;
13545
- readonly 'no-empty-pattern': NoEmptyPattern.RuleEntry;
13546
- readonly 'no-empty-static-block': NoEmptyStaticBlock.RuleEntry;
13547
- readonly 'no-eq-null': NoEqNull.RuleEntry;
13548
- readonly 'no-eval': NoEval.RuleEntry;
13549
- readonly 'no-ex-assign': NoExAssign.RuleEntry;
13550
- readonly 'no-extend-native': NoExtendNative.RuleEntry;
13551
- readonly 'no-extra-bind': NoExtraBind.RuleEntry;
13552
- readonly 'no-extra-boolean-cast': NoExtraBooleanCast.RuleEntry;
13553
- readonly 'no-extra-label': NoExtraLabel.RuleEntry;
13554
- readonly 'no-fallthrough': NoFallthrough.RuleEntry;
13555
- readonly 'no-func-assign': NoFuncAssign.RuleEntry;
13556
- readonly 'no-global-assign': NoGlobalAssign.RuleEntry;
13557
- readonly 'no-implicit-coercion': NoImplicitCoercion.RuleEntry;
13558
- readonly 'no-implicit-globals': NoImplicitGlobals.RuleEntry;
13559
- readonly 'no-implied-eval': NoImpliedEval.RuleEntry;
13560
- readonly 'no-import-assign': NoImportAssign.RuleEntry;
13561
- readonly 'no-inline-comments': NoInlineComments.RuleEntry;
13562
- readonly 'no-inner-declarations': NoInnerDeclarations.RuleEntry;
13563
- readonly 'no-invalid-regexp': NoInvalidRegexp.RuleEntry;
13564
- readonly 'no-invalid-this': NoInvalidThis.RuleEntry;
13565
- readonly 'no-irregular-whitespace': NoIrregularWhitespace.RuleEntry;
13566
- readonly 'no-iterator': NoIterator.RuleEntry;
13567
- readonly 'no-label-var': NoLabelVar.RuleEntry;
13568
- readonly 'no-labels': NoLabels.RuleEntry;
13569
- readonly 'no-lone-blocks': NoLoneBlocks.RuleEntry;
13570
- readonly 'no-lonely-if': NoLonelyIf.RuleEntry;
13571
- readonly 'no-loop-func': NoLoopFunc.RuleEntry;
13572
- readonly 'no-loss-of-precision': NoLossOfPrecision.RuleEntry;
13573
- readonly 'no-magic-numbers': NoMagicNumbers.RuleEntry;
13574
- readonly 'no-misleading-character-class': NoMisleadingCharacterClass.RuleEntry;
13575
- readonly 'no-multi-assign': NoMultiAssign.RuleEntry;
13576
- readonly 'no-multi-str': NoMultiStr.RuleEntry;
13577
- readonly 'no-negated-condition': NoNegatedCondition.RuleEntry;
13578
- readonly 'no-nested-ternary': NoNestedTernary.RuleEntry;
13579
- readonly 'no-new': NoNew.RuleEntry;
13580
- readonly 'no-new-func': NoNewFunc.RuleEntry;
13581
- readonly 'no-new-native-nonconstructor': NoNewNativeNonconstructor.RuleEntry;
13582
- readonly 'no-new-wrappers': NoNewWrappers.RuleEntry;
13583
- readonly 'no-nonoctal-decimal-escape': NoNonoctalDecimalEscape.RuleEntry;
13584
- readonly 'no-obj-calls': NoObjCalls.RuleEntry;
13585
- readonly 'no-object-constructor': NoObjectConstructor.RuleEntry;
13586
- readonly 'no-octal': NoOctal.RuleEntry;
13587
- readonly 'no-octal-escape': NoOctalEscape.RuleEntry;
13588
- readonly 'no-param-reassign': NoParamReassign.RuleEntry;
13589
- readonly 'no-plusplus': NoPlusplus.RuleEntry;
13590
- readonly 'no-promise-executor-return': NoPromiseExecutorReturn.RuleEntry;
13591
- readonly 'no-proto': NoProto.RuleEntry;
13592
- readonly 'no-prototype-builtins': NoPrototypeBuiltins.RuleEntry;
13593
- readonly 'no-redeclare': NoRedeclare.RuleEntry;
13594
- readonly 'no-regex-spaces': NoRegexSpaces.RuleEntry;
13595
- readonly 'no-restricted-exports': NoRestrictedExports.RuleEntry;
13596
- readonly 'no-restricted-globals': NoRestrictedGlobals.RuleEntry;
13597
- readonly 'no-restricted-imports': NoRestrictedImports.RuleEntry;
13598
- readonly 'no-restricted-properties': NoRestrictedProperties.RuleEntry;
13599
- readonly 'no-restricted-syntax': NoRestrictedSyntax.RuleEntry;
13600
- readonly 'no-return-assign': NoReturnAssign.RuleEntry;
13601
- readonly 'no-script-url': NoScriptUrl.RuleEntry;
13602
- readonly 'no-self-assign': NoSelfAssign.RuleEntry;
13603
- readonly 'no-self-compare': NoSelfCompare.RuleEntry;
13604
- readonly 'no-sequences': NoSequences.RuleEntry;
13605
- readonly 'no-setter-return': NoSetterReturn.RuleEntry;
13606
- readonly 'no-shadow': NoShadow.RuleEntry;
13607
- readonly 'no-shadow-restricted-names': NoShadowRestrictedNames.RuleEntry;
13608
- readonly 'no-sparse-arrays': NoSparseArrays.RuleEntry;
13609
- readonly 'no-template-curly-in-string': NoTemplateCurlyInString.RuleEntry;
13610
- readonly 'no-ternary': NoTernary.RuleEntry;
13611
- readonly 'no-this-before-super': NoThisBeforeSuper.RuleEntry;
13612
- readonly 'no-throw-literal': NoThrowLiteral.RuleEntry;
13613
- readonly 'no-unassigned-vars': NoUnassignedVars.RuleEntry;
13614
- readonly 'no-undef': NoUndef.RuleEntry;
13615
- readonly 'no-undef-init': NoUndefInit.RuleEntry;
13616
- readonly 'no-undefined': NoUndefined.RuleEntry;
13617
- readonly 'no-underscore-dangle': NoUnderscoreDangle.RuleEntry;
13618
- readonly 'no-unexpected-multiline': NoUnexpectedMultiline.RuleEntry;
13619
- readonly 'no-unmodified-loop-condition': NoUnmodifiedLoopCondition.RuleEntry;
13620
- readonly 'no-unneeded-ternary': NoUnneededTernary.RuleEntry;
13621
- readonly 'no-unreachable': NoUnreachable.RuleEntry;
13622
- readonly 'no-unreachable-loop': NoUnreachableLoop.RuleEntry;
13623
- readonly 'no-unsafe-finally': NoUnsafeFinally.RuleEntry;
13624
- readonly 'no-unsafe-negation': NoUnsafeNegation.RuleEntry;
13625
- readonly 'no-unsafe-optional-chaining': NoUnsafeOptionalChaining.RuleEntry;
13626
- readonly 'no-unused-expressions': NoUnusedExpressions.RuleEntry;
13627
- readonly 'no-unused-labels': NoUnusedLabels.RuleEntry;
13628
- readonly 'no-unused-private-class-members': NoUnusedPrivateClassMembers.RuleEntry;
13629
- readonly 'no-unused-vars': NoUnusedVars.RuleEntry;
13630
- readonly 'no-use-before-define': NoUseBeforeDefine.RuleEntry;
13631
- readonly 'no-useless-assignment': NoUselessAssignment.RuleEntry;
13632
- readonly 'no-useless-backreference': NoUselessBackreference.RuleEntry;
13633
- readonly 'no-useless-call': NoUselessCall.RuleEntry;
13634
- readonly 'no-useless-catch': NoUselessCatch.RuleEntry;
13635
- readonly 'no-useless-computed-key': NoUselessComputedKey.RuleEntry;
13636
- readonly 'no-useless-concat': NoUselessConcat.RuleEntry;
13637
- readonly 'no-useless-constructor': NoUselessConstructor.RuleEntry;
13638
- readonly 'no-useless-escape': NoUselessEscape.RuleEntry;
13639
- readonly 'no-useless-rename': NoUselessRename.RuleEntry;
13640
- readonly 'no-useless-return': NoUselessReturn.RuleEntry;
13641
- readonly 'no-var': NoVar.RuleEntry;
13642
- readonly 'no-void': NoVoid.RuleEntry;
13643
- readonly 'no-warning-comments': NoWarningComments.RuleEntry;
13644
- readonly 'no-with': NoWith.RuleEntry;
13645
- readonly 'object-shorthand': ObjectShorthand.RuleEntry;
13646
- readonly 'one-var': OneVar.RuleEntry;
13647
- readonly 'operator-assignment': OperatorAssignment.RuleEntry;
13648
- readonly 'prefer-arrow-callback': PreferArrowCallback.RuleEntry;
13649
- readonly 'prefer-const': PreferConst.RuleEntry;
13650
- readonly 'prefer-destructuring': PreferDestructuring.RuleEntry;
13651
- readonly 'prefer-exponentiation-operator': PreferExponentiationOperator.RuleEntry;
13652
- readonly 'prefer-named-capture-group': PreferNamedCaptureGroup.RuleEntry;
13653
- readonly 'prefer-numeric-literals': PreferNumericLiterals.RuleEntry;
13654
- readonly 'prefer-object-has-own': PreferObjectHasOwn.RuleEntry;
13655
- readonly 'prefer-object-spread': PreferObjectSpread.RuleEntry;
13656
- readonly 'prefer-promise-reject-errors': PreferPromiseRejectErrors.RuleEntry;
13657
- readonly 'prefer-regex-literals': PreferRegexLiterals.RuleEntry;
13658
- readonly 'prefer-rest-params': PreferRestParams.RuleEntry;
13659
- readonly 'prefer-spread': PreferSpread.RuleEntry;
13660
- readonly 'prefer-template': PreferTemplate.RuleEntry;
13661
- readonly 'preserve-caught-error': PreserveCaughtError.RuleEntry;
13662
- readonly radix: Radix.RuleEntry;
13663
- readonly 'require-atomic-updates': RequireAtomicUpdates.RuleEntry;
13664
- readonly 'require-await': RequireAwait.RuleEntry;
13665
- readonly 'require-unicode-regexp': RequireUnicodeRegexp.RuleEntry;
13666
- readonly 'require-yield': RequireYield.RuleEntry;
13667
- readonly 'sort-imports': SortImports.RuleEntry;
13668
- readonly 'sort-keys': SortKeys.RuleEntry;
13669
- readonly 'sort-vars': SortVars.RuleEntry;
13670
- readonly strict: Strict.RuleEntry;
13671
- readonly 'symbol-description': SymbolDescription.RuleEntry;
13672
- readonly 'unicode-bom': UnicodeBom.RuleEntry;
13673
- readonly 'use-isnan': UseIsnan.RuleEntry;
13674
- readonly 'valid-typeof': ValidTypeof.RuleEntry;
13675
- readonly 'vars-on-top': VarsOnTop.RuleEntry;
13676
- readonly yoda: Yoda.RuleEntry;
13484
+ | readonly [Linter.StringSeverity, Options0, Options1];
13485
+ }
13486
+
13487
+ export type EslintRules = Readonly<{
13488
+ 'accessor-pairs': AccessorPairs.RuleEntry;
13489
+ 'array-callback-return': ArrayCallbackReturn.RuleEntry;
13490
+ 'arrow-body-style': ArrowBodyStyle.RuleEntry;
13491
+ 'block-scoped-var': BlockScopedVar.RuleEntry;
13492
+ camelcase: Camelcase.RuleEntry;
13493
+ 'capitalized-comments': CapitalizedComments.RuleEntry;
13494
+ 'class-methods-use-this': ClassMethodsUseThis.RuleEntry;
13495
+ complexity: Complexity.RuleEntry;
13496
+ 'consistent-return': ConsistentReturn.RuleEntry;
13497
+ 'consistent-this': ConsistentThis.RuleEntry;
13498
+ 'constructor-super': ConstructorSuper.RuleEntry;
13499
+ curly: Curly.RuleEntry;
13500
+ 'default-case': DefaultCase.RuleEntry;
13501
+ 'default-case-last': DefaultCaseLast.RuleEntry;
13502
+ 'default-param-last': DefaultParamLast.RuleEntry;
13503
+ 'dot-notation': DotNotation.RuleEntry;
13504
+ eqeqeq: Eqeqeq.RuleEntry;
13505
+ 'for-direction': ForDirection.RuleEntry;
13506
+ 'func-name-matching': FuncNameMatching.RuleEntry;
13507
+ 'func-names': FuncNames.RuleEntry;
13508
+ 'func-style': FuncStyle.RuleEntry;
13509
+ 'getter-return': GetterReturn.RuleEntry;
13510
+ 'grouped-accessor-pairs': GroupedAccessorPairs.RuleEntry;
13511
+ 'guard-for-in': GuardForIn.RuleEntry;
13512
+ 'id-denylist': IdDenylist.RuleEntry;
13513
+ 'id-length': IdLength.RuleEntry;
13514
+ 'id-match': IdMatch.RuleEntry;
13515
+ 'init-declarations': InitDeclarations.RuleEntry;
13516
+ 'logical-assignment-operators': LogicalAssignmentOperators.RuleEntry;
13517
+ 'max-classes-per-file': MaxClassesPerFile.RuleEntry;
13518
+ 'max-depth': MaxDepth.RuleEntry;
13519
+ 'max-lines': MaxLines.RuleEntry;
13520
+ 'max-lines-per-function': MaxLinesPerFunction.RuleEntry;
13521
+ 'max-nested-callbacks': MaxNestedCallbacks.RuleEntry;
13522
+ 'max-params': MaxParams.RuleEntry;
13523
+ 'max-statements': MaxStatements.RuleEntry;
13524
+ 'new-cap': NewCap.RuleEntry;
13525
+ 'no-alert': NoAlert.RuleEntry;
13526
+ 'no-array-constructor': NoArrayConstructor.RuleEntry;
13527
+ 'no-async-promise-executor': NoAsyncPromiseExecutor.RuleEntry;
13528
+ 'no-await-in-loop': NoAwaitInLoop.RuleEntry;
13529
+ 'no-bitwise': NoBitwise.RuleEntry;
13530
+ 'no-caller': NoCaller.RuleEntry;
13531
+ 'no-case-declarations': NoCaseDeclarations.RuleEntry;
13532
+ 'no-class-assign': NoClassAssign.RuleEntry;
13533
+ 'no-compare-neg-zero': NoCompareNegZero.RuleEntry;
13534
+ 'no-cond-assign': NoCondAssign.RuleEntry;
13535
+ 'no-console': NoConsole.RuleEntry;
13536
+ 'no-const-assign': NoConstAssign.RuleEntry;
13537
+ 'no-constant-binary-expression': NoConstantBinaryExpression.RuleEntry;
13538
+ 'no-constant-condition': NoConstantCondition.RuleEntry;
13539
+ 'no-constructor-return': NoConstructorReturn.RuleEntry;
13540
+ 'no-continue': NoContinue.RuleEntry;
13541
+ 'no-control-regex': NoControlRegex.RuleEntry;
13542
+ 'no-debugger': NoDebugger.RuleEntry;
13543
+ 'no-delete-var': NoDeleteVar.RuleEntry;
13544
+ 'no-div-regex': NoDivRegex.RuleEntry;
13545
+ 'no-dupe-args': NoDupeArgs.RuleEntry;
13546
+ 'no-dupe-class-members': NoDupeClassMembers.RuleEntry;
13547
+ 'no-dupe-else-if': NoDupeElseIf.RuleEntry;
13548
+ 'no-dupe-keys': NoDupeKeys.RuleEntry;
13549
+ 'no-duplicate-case': NoDuplicateCase.RuleEntry;
13550
+ 'no-duplicate-imports': NoDuplicateImports.RuleEntry;
13551
+ 'no-else-return': NoElseReturn.RuleEntry;
13552
+ 'no-empty': NoEmpty.RuleEntry;
13553
+ 'no-empty-character-class': NoEmptyCharacterClass.RuleEntry;
13554
+ 'no-empty-function': NoEmptyFunction.RuleEntry;
13555
+ 'no-empty-pattern': NoEmptyPattern.RuleEntry;
13556
+ 'no-empty-static-block': NoEmptyStaticBlock.RuleEntry;
13557
+ 'no-eq-null': NoEqNull.RuleEntry;
13558
+ 'no-eval': NoEval.RuleEntry;
13559
+ 'no-ex-assign': NoExAssign.RuleEntry;
13560
+ 'no-extend-native': NoExtendNative.RuleEntry;
13561
+ 'no-extra-bind': NoExtraBind.RuleEntry;
13562
+ 'no-extra-boolean-cast': NoExtraBooleanCast.RuleEntry;
13563
+ 'no-extra-label': NoExtraLabel.RuleEntry;
13564
+ 'no-fallthrough': NoFallthrough.RuleEntry;
13565
+ 'no-func-assign': NoFuncAssign.RuleEntry;
13566
+ 'no-global-assign': NoGlobalAssign.RuleEntry;
13567
+ 'no-implicit-coercion': NoImplicitCoercion.RuleEntry;
13568
+ 'no-implicit-globals': NoImplicitGlobals.RuleEntry;
13569
+ 'no-implied-eval': NoImpliedEval.RuleEntry;
13570
+ 'no-import-assign': NoImportAssign.RuleEntry;
13571
+ 'no-inline-comments': NoInlineComments.RuleEntry;
13572
+ 'no-inner-declarations': NoInnerDeclarations.RuleEntry;
13573
+ 'no-invalid-regexp': NoInvalidRegexp.RuleEntry;
13574
+ 'no-invalid-this': NoInvalidThis.RuleEntry;
13575
+ 'no-irregular-whitespace': NoIrregularWhitespace.RuleEntry;
13576
+ 'no-iterator': NoIterator.RuleEntry;
13577
+ 'no-label-var': NoLabelVar.RuleEntry;
13578
+ 'no-labels': NoLabels.RuleEntry;
13579
+ 'no-lone-blocks': NoLoneBlocks.RuleEntry;
13580
+ 'no-lonely-if': NoLonelyIf.RuleEntry;
13581
+ 'no-loop-func': NoLoopFunc.RuleEntry;
13582
+ 'no-loss-of-precision': NoLossOfPrecision.RuleEntry;
13583
+ 'no-magic-numbers': NoMagicNumbers.RuleEntry;
13584
+ 'no-misleading-character-class': NoMisleadingCharacterClass.RuleEntry;
13585
+ 'no-multi-assign': NoMultiAssign.RuleEntry;
13586
+ 'no-multi-str': NoMultiStr.RuleEntry;
13587
+ 'no-negated-condition': NoNegatedCondition.RuleEntry;
13588
+ 'no-nested-ternary': NoNestedTernary.RuleEntry;
13589
+ 'no-new': NoNew.RuleEntry;
13590
+ 'no-new-func': NoNewFunc.RuleEntry;
13591
+ 'no-new-native-nonconstructor': NoNewNativeNonconstructor.RuleEntry;
13592
+ 'no-new-wrappers': NoNewWrappers.RuleEntry;
13593
+ 'no-nonoctal-decimal-escape': NoNonoctalDecimalEscape.RuleEntry;
13594
+ 'no-obj-calls': NoObjCalls.RuleEntry;
13595
+ 'no-object-constructor': NoObjectConstructor.RuleEntry;
13596
+ 'no-octal': NoOctal.RuleEntry;
13597
+ 'no-octal-escape': NoOctalEscape.RuleEntry;
13598
+ 'no-param-reassign': NoParamReassign.RuleEntry;
13599
+ 'no-plusplus': NoPlusplus.RuleEntry;
13600
+ 'no-promise-executor-return': NoPromiseExecutorReturn.RuleEntry;
13601
+ 'no-proto': NoProto.RuleEntry;
13602
+ 'no-prototype-builtins': NoPrototypeBuiltins.RuleEntry;
13603
+ 'no-redeclare': NoRedeclare.RuleEntry;
13604
+ 'no-regex-spaces': NoRegexSpaces.RuleEntry;
13605
+ 'no-restricted-exports': NoRestrictedExports.RuleEntry;
13606
+ 'no-restricted-globals': NoRestrictedGlobals.RuleEntry;
13607
+ 'no-restricted-imports': NoRestrictedImports.RuleEntry;
13608
+ 'no-restricted-properties': NoRestrictedProperties.RuleEntry;
13609
+ 'no-restricted-syntax': NoRestrictedSyntax.RuleEntry;
13610
+ 'no-return-assign': NoReturnAssign.RuleEntry;
13611
+ 'no-script-url': NoScriptUrl.RuleEntry;
13612
+ 'no-self-assign': NoSelfAssign.RuleEntry;
13613
+ 'no-self-compare': NoSelfCompare.RuleEntry;
13614
+ 'no-sequences': NoSequences.RuleEntry;
13615
+ 'no-setter-return': NoSetterReturn.RuleEntry;
13616
+ 'no-shadow': NoShadow.RuleEntry;
13617
+ 'no-shadow-restricted-names': NoShadowRestrictedNames.RuleEntry;
13618
+ 'no-sparse-arrays': NoSparseArrays.RuleEntry;
13619
+ 'no-template-curly-in-string': NoTemplateCurlyInString.RuleEntry;
13620
+ 'no-ternary': NoTernary.RuleEntry;
13621
+ 'no-this-before-super': NoThisBeforeSuper.RuleEntry;
13622
+ 'no-throw-literal': NoThrowLiteral.RuleEntry;
13623
+ 'no-unassigned-vars': NoUnassignedVars.RuleEntry;
13624
+ 'no-undef': NoUndef.RuleEntry;
13625
+ 'no-undef-init': NoUndefInit.RuleEntry;
13626
+ 'no-undefined': NoUndefined.RuleEntry;
13627
+ 'no-underscore-dangle': NoUnderscoreDangle.RuleEntry;
13628
+ 'no-unexpected-multiline': NoUnexpectedMultiline.RuleEntry;
13629
+ 'no-unmodified-loop-condition': NoUnmodifiedLoopCondition.RuleEntry;
13630
+ 'no-unneeded-ternary': NoUnneededTernary.RuleEntry;
13631
+ 'no-unreachable': NoUnreachable.RuleEntry;
13632
+ 'no-unreachable-loop': NoUnreachableLoop.RuleEntry;
13633
+ 'no-unsafe-finally': NoUnsafeFinally.RuleEntry;
13634
+ 'no-unsafe-negation': NoUnsafeNegation.RuleEntry;
13635
+ 'no-unsafe-optional-chaining': NoUnsafeOptionalChaining.RuleEntry;
13636
+ 'no-unused-expressions': NoUnusedExpressions.RuleEntry;
13637
+ 'no-unused-labels': NoUnusedLabels.RuleEntry;
13638
+ 'no-unused-private-class-members': NoUnusedPrivateClassMembers.RuleEntry;
13639
+ 'no-unused-vars': NoUnusedVars.RuleEntry;
13640
+ 'no-use-before-define': NoUseBeforeDefine.RuleEntry;
13641
+ 'no-useless-assignment': NoUselessAssignment.RuleEntry;
13642
+ 'no-useless-backreference': NoUselessBackreference.RuleEntry;
13643
+ 'no-useless-call': NoUselessCall.RuleEntry;
13644
+ 'no-useless-catch': NoUselessCatch.RuleEntry;
13645
+ 'no-useless-computed-key': NoUselessComputedKey.RuleEntry;
13646
+ 'no-useless-concat': NoUselessConcat.RuleEntry;
13647
+ 'no-useless-constructor': NoUselessConstructor.RuleEntry;
13648
+ 'no-useless-escape': NoUselessEscape.RuleEntry;
13649
+ 'no-useless-rename': NoUselessRename.RuleEntry;
13650
+ 'no-useless-return': NoUselessReturn.RuleEntry;
13651
+ 'no-var': NoVar.RuleEntry;
13652
+ 'no-void': NoVoid.RuleEntry;
13653
+ 'no-warning-comments': NoWarningComments.RuleEntry;
13654
+ 'no-with': NoWith.RuleEntry;
13655
+ 'object-shorthand': ObjectShorthand.RuleEntry;
13656
+ 'one-var': OneVar.RuleEntry;
13657
+ 'operator-assignment': OperatorAssignment.RuleEntry;
13658
+ 'prefer-arrow-callback': PreferArrowCallback.RuleEntry;
13659
+ 'prefer-const': PreferConst.RuleEntry;
13660
+ 'prefer-destructuring': PreferDestructuring.RuleEntry;
13661
+ 'prefer-exponentiation-operator': PreferExponentiationOperator.RuleEntry;
13662
+ 'prefer-named-capture-group': PreferNamedCaptureGroup.RuleEntry;
13663
+ 'prefer-numeric-literals': PreferNumericLiterals.RuleEntry;
13664
+ 'prefer-object-has-own': PreferObjectHasOwn.RuleEntry;
13665
+ 'prefer-object-spread': PreferObjectSpread.RuleEntry;
13666
+ 'prefer-promise-reject-errors': PreferPromiseRejectErrors.RuleEntry;
13667
+ 'prefer-regex-literals': PreferRegexLiterals.RuleEntry;
13668
+ 'prefer-rest-params': PreferRestParams.RuleEntry;
13669
+ 'prefer-spread': PreferSpread.RuleEntry;
13670
+ 'prefer-template': PreferTemplate.RuleEntry;
13671
+ 'preserve-caught-error': PreserveCaughtError.RuleEntry;
13672
+ radix: Radix.RuleEntry;
13673
+ 'require-atomic-updates': RequireAtomicUpdates.RuleEntry;
13674
+ 'require-await': RequireAwait.RuleEntry;
13675
+ 'require-unicode-regexp': RequireUnicodeRegexp.RuleEntry;
13676
+ 'require-yield': RequireYield.RuleEntry;
13677
+ 'sort-imports': SortImports.RuleEntry;
13678
+ 'sort-keys': SortKeys.RuleEntry;
13679
+ 'sort-vars': SortVars.RuleEntry;
13680
+ strict: Strict.RuleEntry;
13681
+ 'symbol-description': SymbolDescription.RuleEntry;
13682
+ 'unicode-bom': UnicodeBom.RuleEntry;
13683
+ 'use-isnan': UseIsnan.RuleEntry;
13684
+ 'valid-typeof': ValidTypeof.RuleEntry;
13685
+ 'vars-on-top': VarsOnTop.RuleEntry;
13686
+ yoda: Yoda.RuleEntry;
13677
13687
 
13678
13688
  // deprecated
13679
- readonly 'array-bracket-newline': ArrayBracketNewline.RuleEntry;
13680
- readonly 'array-bracket-spacing': ArrayBracketSpacing.RuleEntry;
13681
- readonly 'array-element-newline': ArrayElementNewline.RuleEntry;
13682
- readonly 'arrow-parens': ArrowParens.RuleEntry;
13683
- readonly 'arrow-spacing': ArrowSpacing.RuleEntry;
13684
- readonly 'block-spacing': BlockSpacing.RuleEntry;
13685
- readonly 'brace-style': BraceStyle.RuleEntry;
13686
- readonly 'callback-return': CallbackReturn.RuleEntry;
13687
- readonly 'comma-dangle': CommaDangle.RuleEntry;
13688
- readonly 'comma-spacing': CommaSpacing.RuleEntry;
13689
- readonly 'comma-style': CommaStyle.RuleEntry;
13690
- readonly 'computed-property-spacing': ComputedPropertySpacing.RuleEntry;
13691
- readonly 'dot-location': DotLocation.RuleEntry;
13692
- readonly 'eol-last': EolLast.RuleEntry;
13693
- readonly 'func-call-spacing': FuncCallSpacing.RuleEntry;
13694
- readonly 'function-call-argument-newline': FunctionCallArgumentNewline.RuleEntry;
13695
- readonly 'function-paren-newline': FunctionParenNewline.RuleEntry;
13696
- readonly 'generator-star-spacing': GeneratorStarSpacing.RuleEntry;
13697
- readonly 'global-require': GlobalRequire.RuleEntry;
13698
- readonly 'handle-callback-err': HandleCallbackErr.RuleEntry;
13699
- readonly 'id-blacklist': IdBlacklist.RuleEntry;
13700
- readonly 'implicit-arrow-linebreak': ImplicitArrowLinebreak.RuleEntry;
13701
- readonly indent: Indent.RuleEntry;
13702
- readonly 'indent-legacy': IndentLegacy.RuleEntry;
13703
- readonly 'jsx-quotes': JsxQuotes.RuleEntry;
13704
- readonly 'key-spacing': KeySpacing.RuleEntry;
13705
- readonly 'keyword-spacing': KeywordSpacing.RuleEntry;
13706
- readonly 'line-comment-position': LineCommentPosition.RuleEntry;
13707
- readonly 'linebreak-style': LinebreakStyle.RuleEntry;
13708
- readonly 'lines-around-comment': LinesAroundComment.RuleEntry;
13709
- readonly 'lines-around-directive': LinesAroundDirective.RuleEntry;
13710
- readonly 'lines-between-class-members': LinesBetweenClassMembers.RuleEntry;
13711
- readonly 'max-len': MaxLen.RuleEntry;
13712
- readonly 'max-statements-per-line': MaxStatementsPerLine.RuleEntry;
13713
- readonly 'multiline-comment-style': MultilineCommentStyle.RuleEntry;
13714
- readonly 'multiline-ternary': MultilineTernary.RuleEntry;
13715
- readonly 'new-parens': NewParens.RuleEntry;
13716
- readonly 'newline-after-var': NewlineAfterVar.RuleEntry;
13717
- readonly 'newline-before-return': NewlineBeforeReturn.RuleEntry;
13718
- readonly 'newline-per-chained-call': NewlinePerChainedCall.RuleEntry;
13719
- readonly 'no-buffer-constructor': NoBufferConstructor.RuleEntry;
13720
- readonly 'no-catch-shadow': NoCatchShadow.RuleEntry;
13721
- readonly 'no-confusing-arrow': NoConfusingArrow.RuleEntry;
13722
- readonly 'no-extra-parens': NoExtraParens.RuleEntry;
13723
- readonly 'no-extra-semi': NoExtraSemi.RuleEntry;
13724
- readonly 'no-floating-decimal': NoFloatingDecimal.RuleEntry;
13725
- readonly 'no-mixed-operators': NoMixedOperators.RuleEntry;
13726
- readonly 'no-mixed-requires': NoMixedRequires.RuleEntry;
13727
- readonly 'no-mixed-spaces-and-tabs': NoMixedSpacesAndTabs.RuleEntry;
13728
- readonly 'no-multi-spaces': NoMultiSpaces.RuleEntry;
13729
- readonly 'no-multiple-empty-lines': NoMultipleEmptyLines.RuleEntry;
13730
- readonly 'no-native-reassign': NoNativeReassign.RuleEntry;
13731
- readonly 'no-negated-in-lhs': NoNegatedInLhs.RuleEntry;
13732
- readonly 'no-new-object': NoNewObject.RuleEntry;
13733
- readonly 'no-new-require': NoNewRequire.RuleEntry;
13734
- readonly 'no-new-symbol': NoNewSymbol.RuleEntry;
13735
- readonly 'no-path-concat': NoPathConcat.RuleEntry;
13736
- readonly 'no-process-env': NoProcessEnv.RuleEntry;
13737
- readonly 'no-process-exit': NoProcessExit.RuleEntry;
13738
- readonly 'no-restricted-modules': NoRestrictedModules.RuleEntry;
13739
- readonly 'no-return-await': NoReturnAwait.RuleEntry;
13740
- readonly 'no-spaced-func': NoSpacedFunc.RuleEntry;
13741
- readonly 'no-sync': NoSync.RuleEntry;
13742
- readonly 'no-tabs': NoTabs.RuleEntry;
13743
- readonly 'no-trailing-spaces': NoTrailingSpaces.RuleEntry;
13744
- readonly 'no-whitespace-before-property': NoWhitespaceBeforeProperty.RuleEntry;
13745
- readonly 'nonblock-statement-body-position': NonblockStatementBodyPosition.RuleEntry;
13746
- readonly 'object-curly-newline': ObjectCurlyNewline.RuleEntry;
13747
- readonly 'object-curly-spacing': ObjectCurlySpacing.RuleEntry;
13748
- readonly 'object-property-newline': ObjectPropertyNewline.RuleEntry;
13749
- readonly 'one-var-declaration-per-line': OneVarDeclarationPerLine.RuleEntry;
13750
- readonly 'operator-linebreak': OperatorLinebreak.RuleEntry;
13751
- readonly 'padded-blocks': PaddedBlocks.RuleEntry;
13752
- readonly 'padding-line-between-statements': PaddingLineBetweenStatements.RuleEntry;
13753
- readonly 'prefer-reflect': PreferReflect.RuleEntry;
13754
- readonly 'quote-props': QuoteProps.RuleEntry;
13755
- readonly quotes: Quotes.RuleEntry;
13756
- readonly 'rest-spread-spacing': RestSpreadSpacing.RuleEntry;
13757
- readonly semi: Semi.RuleEntry;
13758
- readonly 'semi-spacing': SemiSpacing.RuleEntry;
13759
- readonly 'semi-style': SemiStyle.RuleEntry;
13760
- readonly 'space-before-blocks': SpaceBeforeBlocks.RuleEntry;
13761
- readonly 'space-before-function-paren': SpaceBeforeFunctionParen.RuleEntry;
13762
- readonly 'space-in-parens': SpaceInParens.RuleEntry;
13763
- readonly 'space-infix-ops': SpaceInfixOps.RuleEntry;
13764
- readonly 'space-unary-ops': SpaceUnaryOps.RuleEntry;
13765
- readonly 'spaced-comment': SpacedComment.RuleEntry;
13766
- readonly 'switch-colon-spacing': SwitchColonSpacing.RuleEntry;
13767
- readonly 'template-curly-spacing': TemplateCurlySpacing.RuleEntry;
13768
- readonly 'template-tag-spacing': TemplateTagSpacing.RuleEntry;
13769
- readonly 'wrap-iife': WrapIife.RuleEntry;
13770
- readonly 'wrap-regex': WrapRegex.RuleEntry;
13771
- readonly 'yield-star-spacing': YieldStarSpacing.RuleEntry;
13772
- };
13773
-
13774
- export type EslintRulesOption = {
13775
- readonly 'accessor-pairs': AccessorPairs.Options;
13776
- readonly 'array-callback-return': ArrayCallbackReturn.Options;
13777
- readonly 'arrow-body-style': ArrowBodyStyle.Options;
13778
- readonly camelcase: Camelcase.Options;
13779
- readonly 'capitalized-comments': readonly [
13689
+ 'array-bracket-newline': ArrayBracketNewline.RuleEntry;
13690
+ 'array-bracket-spacing': ArrayBracketSpacing.RuleEntry;
13691
+ 'array-element-newline': ArrayElementNewline.RuleEntry;
13692
+ 'arrow-parens': ArrowParens.RuleEntry;
13693
+ 'arrow-spacing': ArrowSpacing.RuleEntry;
13694
+ 'block-spacing': BlockSpacing.RuleEntry;
13695
+ 'brace-style': BraceStyle.RuleEntry;
13696
+ 'callback-return': CallbackReturn.RuleEntry;
13697
+ 'comma-dangle': CommaDangle.RuleEntry;
13698
+ 'comma-spacing': CommaSpacing.RuleEntry;
13699
+ 'comma-style': CommaStyle.RuleEntry;
13700
+ 'computed-property-spacing': ComputedPropertySpacing.RuleEntry;
13701
+ 'dot-location': DotLocation.RuleEntry;
13702
+ 'eol-last': EolLast.RuleEntry;
13703
+ 'func-call-spacing': FuncCallSpacing.RuleEntry;
13704
+ 'function-call-argument-newline': FunctionCallArgumentNewline.RuleEntry;
13705
+ 'function-paren-newline': FunctionParenNewline.RuleEntry;
13706
+ 'generator-star-spacing': GeneratorStarSpacing.RuleEntry;
13707
+ 'global-require': GlobalRequire.RuleEntry;
13708
+ 'handle-callback-err': HandleCallbackErr.RuleEntry;
13709
+ 'id-blacklist': IdBlacklist.RuleEntry;
13710
+ 'implicit-arrow-linebreak': ImplicitArrowLinebreak.RuleEntry;
13711
+ indent: Indent.RuleEntry;
13712
+ 'indent-legacy': IndentLegacy.RuleEntry;
13713
+ 'jsx-quotes': JsxQuotes.RuleEntry;
13714
+ 'key-spacing': KeySpacing.RuleEntry;
13715
+ 'keyword-spacing': KeywordSpacing.RuleEntry;
13716
+ 'line-comment-position': LineCommentPosition.RuleEntry;
13717
+ 'linebreak-style': LinebreakStyle.RuleEntry;
13718
+ 'lines-around-comment': LinesAroundComment.RuleEntry;
13719
+ 'lines-around-directive': LinesAroundDirective.RuleEntry;
13720
+ 'lines-between-class-members': LinesBetweenClassMembers.RuleEntry;
13721
+ 'max-len': MaxLen.RuleEntry;
13722
+ 'max-statements-per-line': MaxStatementsPerLine.RuleEntry;
13723
+ 'multiline-comment-style': MultilineCommentStyle.RuleEntry;
13724
+ 'multiline-ternary': MultilineTernary.RuleEntry;
13725
+ 'new-parens': NewParens.RuleEntry;
13726
+ 'newline-after-var': NewlineAfterVar.RuleEntry;
13727
+ 'newline-before-return': NewlineBeforeReturn.RuleEntry;
13728
+ 'newline-per-chained-call': NewlinePerChainedCall.RuleEntry;
13729
+ 'no-buffer-constructor': NoBufferConstructor.RuleEntry;
13730
+ 'no-catch-shadow': NoCatchShadow.RuleEntry;
13731
+ 'no-confusing-arrow': NoConfusingArrow.RuleEntry;
13732
+ 'no-extra-parens': NoExtraParens.RuleEntry;
13733
+ 'no-extra-semi': NoExtraSemi.RuleEntry;
13734
+ 'no-floating-decimal': NoFloatingDecimal.RuleEntry;
13735
+ 'no-mixed-operators': NoMixedOperators.RuleEntry;
13736
+ 'no-mixed-requires': NoMixedRequires.RuleEntry;
13737
+ 'no-mixed-spaces-and-tabs': NoMixedSpacesAndTabs.RuleEntry;
13738
+ 'no-multi-spaces': NoMultiSpaces.RuleEntry;
13739
+ 'no-multiple-empty-lines': NoMultipleEmptyLines.RuleEntry;
13740
+ 'no-native-reassign': NoNativeReassign.RuleEntry;
13741
+ 'no-negated-in-lhs': NoNegatedInLhs.RuleEntry;
13742
+ 'no-new-object': NoNewObject.RuleEntry;
13743
+ 'no-new-require': NoNewRequire.RuleEntry;
13744
+ 'no-new-symbol': NoNewSymbol.RuleEntry;
13745
+ 'no-path-concat': NoPathConcat.RuleEntry;
13746
+ 'no-process-env': NoProcessEnv.RuleEntry;
13747
+ 'no-process-exit': NoProcessExit.RuleEntry;
13748
+ 'no-restricted-modules': NoRestrictedModules.RuleEntry;
13749
+ 'no-return-await': NoReturnAwait.RuleEntry;
13750
+ 'no-spaced-func': NoSpacedFunc.RuleEntry;
13751
+ 'no-sync': NoSync.RuleEntry;
13752
+ 'no-tabs': NoTabs.RuleEntry;
13753
+ 'no-trailing-spaces': NoTrailingSpaces.RuleEntry;
13754
+ 'no-whitespace-before-property': NoWhitespaceBeforeProperty.RuleEntry;
13755
+ 'nonblock-statement-body-position': NonblockStatementBodyPosition.RuleEntry;
13756
+ 'object-curly-newline': ObjectCurlyNewline.RuleEntry;
13757
+ 'object-curly-spacing': ObjectCurlySpacing.RuleEntry;
13758
+ 'object-property-newline': ObjectPropertyNewline.RuleEntry;
13759
+ 'one-var-declaration-per-line': OneVarDeclarationPerLine.RuleEntry;
13760
+ 'operator-linebreak': OperatorLinebreak.RuleEntry;
13761
+ 'padded-blocks': PaddedBlocks.RuleEntry;
13762
+ 'padding-line-between-statements': PaddingLineBetweenStatements.RuleEntry;
13763
+ 'prefer-reflect': PreferReflect.RuleEntry;
13764
+ 'quote-props': QuoteProps.RuleEntry;
13765
+ quotes: Quotes.RuleEntry;
13766
+ 'rest-spread-spacing': RestSpreadSpacing.RuleEntry;
13767
+ semi: Semi.RuleEntry;
13768
+ 'semi-spacing': SemiSpacing.RuleEntry;
13769
+ 'semi-style': SemiStyle.RuleEntry;
13770
+ 'space-before-blocks': SpaceBeforeBlocks.RuleEntry;
13771
+ 'space-before-function-paren': SpaceBeforeFunctionParen.RuleEntry;
13772
+ 'space-in-parens': SpaceInParens.RuleEntry;
13773
+ 'space-infix-ops': SpaceInfixOps.RuleEntry;
13774
+ 'space-unary-ops': SpaceUnaryOps.RuleEntry;
13775
+ 'spaced-comment': SpacedComment.RuleEntry;
13776
+ 'switch-colon-spacing': SwitchColonSpacing.RuleEntry;
13777
+ 'template-curly-spacing': TemplateCurlySpacing.RuleEntry;
13778
+ 'template-tag-spacing': TemplateTagSpacing.RuleEntry;
13779
+ 'wrap-iife': WrapIife.RuleEntry;
13780
+ 'wrap-regex': WrapRegex.RuleEntry;
13781
+ 'yield-star-spacing': YieldStarSpacing.RuleEntry;
13782
+ }>;
13783
+
13784
+ export type EslintRulesOption = Readonly<{
13785
+ 'accessor-pairs': AccessorPairs.Options;
13786
+ 'array-callback-return': ArrayCallbackReturn.Options;
13787
+ 'arrow-body-style': ArrowBodyStyle.Options;
13788
+ camelcase: Camelcase.Options;
13789
+ 'capitalized-comments': readonly [
13780
13790
  CapitalizedComments.Options0,
13781
13791
  CapitalizedComments.Options1,
13782
13792
  ];
13783
- readonly 'class-methods-use-this': ClassMethodsUseThis.Options;
13784
- readonly complexity: Complexity.Options;
13785
- readonly 'consistent-return': ConsistentReturn.Options;
13786
- readonly 'consistent-this': ConsistentThis.Options;
13787
- readonly curly: Curly.Options;
13788
- readonly 'default-case': DefaultCase.Options;
13789
- readonly 'dot-notation': DotNotation.Options;
13790
- readonly eqeqeq: Eqeqeq.Options;
13791
- readonly 'func-name-matching': FuncNameMatching.Options;
13792
- readonly 'func-names': FuncNames.Options;
13793
- readonly 'func-style': readonly [FuncStyle.Options0, FuncStyle.Options1];
13794
- readonly 'getter-return': GetterReturn.Options;
13795
- readonly 'grouped-accessor-pairs': readonly [
13793
+ 'class-methods-use-this': ClassMethodsUseThis.Options;
13794
+ complexity: Complexity.Options;
13795
+ 'consistent-return': ConsistentReturn.Options;
13796
+ 'consistent-this': ConsistentThis.Options;
13797
+ curly: Curly.Options;
13798
+ 'default-case': DefaultCase.Options;
13799
+ 'dot-notation': DotNotation.Options;
13800
+ eqeqeq: Eqeqeq.Options;
13801
+ 'func-name-matching': FuncNameMatching.Options;
13802
+ 'func-names': FuncNames.Options;
13803
+ 'func-style': readonly [FuncStyle.Options0, FuncStyle.Options1];
13804
+ 'getter-return': GetterReturn.Options;
13805
+ 'grouped-accessor-pairs': readonly [
13796
13806
  GroupedAccessorPairs.Options0,
13797
13807
  GroupedAccessorPairs.Options1,
13798
13808
  ];
13799
- readonly 'id-denylist': IdDenylist.Options;
13800
- readonly 'id-length': IdLength.Options;
13801
- readonly 'id-match': readonly [IdMatch.Options0, IdMatch.Options1];
13802
- readonly 'init-declarations': InitDeclarations.Options;
13803
- readonly 'logical-assignment-operators': LogicalAssignmentOperators.Options;
13804
- readonly 'max-classes-per-file': MaxClassesPerFile.Options;
13805
- readonly 'max-depth': MaxDepth.Options;
13806
- readonly 'max-lines': MaxLines.Options;
13807
- readonly 'max-lines-per-function': MaxLinesPerFunction.Options;
13808
- readonly 'max-nested-callbacks': MaxNestedCallbacks.Options;
13809
- readonly 'max-params': MaxParams.Options;
13810
- readonly 'max-statements': readonly [
13811
- MaxStatements.Options0,
13812
- MaxStatements.Options1,
13813
- ];
13814
- readonly 'new-cap': NewCap.Options;
13815
- readonly 'no-bitwise': NoBitwise.Options;
13816
- readonly 'no-cond-assign': NoCondAssign.Options;
13817
- readonly 'no-console': NoConsole.Options;
13818
- readonly 'no-constant-condition': NoConstantCondition.Options;
13819
- readonly 'no-duplicate-imports': NoDuplicateImports.Options;
13820
- readonly 'no-else-return': NoElseReturn.Options;
13821
- readonly 'no-empty': NoEmpty.Options;
13822
- readonly 'no-empty-function': NoEmptyFunction.Options;
13823
- readonly 'no-empty-pattern': NoEmptyPattern.Options;
13824
- readonly 'no-eval': NoEval.Options;
13825
- readonly 'no-extend-native': NoExtendNative.Options;
13826
- readonly 'no-extra-boolean-cast': NoExtraBooleanCast.Options;
13827
- readonly 'no-fallthrough': NoFallthrough.Options;
13828
- readonly 'no-global-assign': NoGlobalAssign.Options;
13829
- readonly 'no-implicit-coercion': NoImplicitCoercion.Options;
13830
- readonly 'no-implicit-globals': NoImplicitGlobals.Options;
13831
- readonly 'no-inline-comments': NoInlineComments.Options;
13832
- readonly 'no-inner-declarations': readonly [
13809
+ 'id-denylist': IdDenylist.Options;
13810
+ 'id-length': IdLength.Options;
13811
+ 'id-match': readonly [IdMatch.Options0, IdMatch.Options1];
13812
+ 'init-declarations': InitDeclarations.Options;
13813
+ 'logical-assignment-operators': LogicalAssignmentOperators.Options;
13814
+ 'max-classes-per-file': MaxClassesPerFile.Options;
13815
+ 'max-depth': MaxDepth.Options;
13816
+ 'max-lines': MaxLines.Options;
13817
+ 'max-lines-per-function': MaxLinesPerFunction.Options;
13818
+ 'max-nested-callbacks': MaxNestedCallbacks.Options;
13819
+ 'max-params': MaxParams.Options;
13820
+ 'max-statements': readonly [MaxStatements.Options0, MaxStatements.Options1];
13821
+ 'new-cap': NewCap.Options;
13822
+ 'no-bitwise': NoBitwise.Options;
13823
+ 'no-cond-assign': NoCondAssign.Options;
13824
+ 'no-console': NoConsole.Options;
13825
+ 'no-constant-condition': NoConstantCondition.Options;
13826
+ 'no-duplicate-imports': NoDuplicateImports.Options;
13827
+ 'no-else-return': NoElseReturn.Options;
13828
+ 'no-empty': NoEmpty.Options;
13829
+ 'no-empty-function': NoEmptyFunction.Options;
13830
+ 'no-empty-pattern': NoEmptyPattern.Options;
13831
+ 'no-eval': NoEval.Options;
13832
+ 'no-extend-native': NoExtendNative.Options;
13833
+ 'no-extra-boolean-cast': NoExtraBooleanCast.Options;
13834
+ 'no-fallthrough': NoFallthrough.Options;
13835
+ 'no-global-assign': NoGlobalAssign.Options;
13836
+ 'no-implicit-coercion': NoImplicitCoercion.Options;
13837
+ 'no-implicit-globals': NoImplicitGlobals.Options;
13838
+ 'no-inline-comments': NoInlineComments.Options;
13839
+ 'no-inner-declarations': readonly [
13833
13840
  NoInnerDeclarations.Options0,
13834
13841
  NoInnerDeclarations.Options1,
13835
13842
  ];
13836
- readonly 'no-invalid-regexp': NoInvalidRegexp.Options;
13837
- readonly 'no-invalid-this': NoInvalidThis.Options;
13838
- readonly 'no-irregular-whitespace': NoIrregularWhitespace.Options;
13839
- readonly 'no-labels': NoLabels.Options;
13840
- readonly 'no-magic-numbers': NoMagicNumbers.Options;
13841
- readonly 'no-misleading-character-class': NoMisleadingCharacterClass.Options;
13842
- readonly 'no-multi-assign': NoMultiAssign.Options;
13843
- readonly 'no-param-reassign': NoParamReassign.Options;
13844
- readonly 'no-plusplus': NoPlusplus.Options;
13845
- readonly 'no-promise-executor-return': NoPromiseExecutorReturn.Options;
13846
- readonly 'no-redeclare': NoRedeclare.Options;
13847
- readonly 'no-restricted-exports': NoRestrictedExports.Options;
13848
- readonly 'no-restricted-globals': NoRestrictedGlobals.Options;
13849
- readonly 'no-restricted-imports': NoRestrictedImports.Options;
13850
- readonly 'no-restricted-properties': NoRestrictedProperties.Options;
13851
- readonly 'no-restricted-syntax': NoRestrictedSyntax.Options;
13852
- readonly 'no-return-assign': NoReturnAssign.Options;
13853
- readonly 'no-self-assign': NoSelfAssign.Options;
13854
- readonly 'no-sequences': NoSequences.Options;
13855
- readonly 'no-shadow': NoShadow.Options;
13856
- readonly 'no-shadow-restricted-names': NoShadowRestrictedNames.Options;
13857
- readonly 'no-undef': NoUndef.Options;
13858
- readonly 'no-underscore-dangle': NoUnderscoreDangle.Options;
13859
- readonly 'no-unneeded-ternary': NoUnneededTernary.Options;
13860
- readonly 'no-unreachable-loop': NoUnreachableLoop.Options;
13861
- readonly 'no-unsafe-negation': NoUnsafeNegation.Options;
13862
- readonly 'no-unsafe-optional-chaining': NoUnsafeOptionalChaining.Options;
13863
- readonly 'no-unused-expressions': NoUnusedExpressions.Options;
13864
- readonly 'no-unused-vars': NoUnusedVars.Options;
13865
- readonly 'no-use-before-define': NoUseBeforeDefine.Options;
13866
- readonly 'no-useless-computed-key': NoUselessComputedKey.Options;
13867
- readonly 'no-useless-escape': NoUselessEscape.Options;
13868
- readonly 'no-useless-rename': NoUselessRename.Options;
13869
- readonly 'no-void': NoVoid.Options;
13870
- readonly 'no-warning-comments': NoWarningComments.Options;
13871
- readonly 'object-shorthand': ObjectShorthand.Options;
13872
- readonly 'one-var': OneVar.Options;
13873
- readonly 'operator-assignment': OperatorAssignment.Options;
13874
- readonly 'prefer-arrow-callback': PreferArrowCallback.Options;
13875
- readonly 'prefer-const': PreferConst.Options;
13876
- readonly 'prefer-destructuring': readonly [
13843
+ 'no-invalid-regexp': NoInvalidRegexp.Options;
13844
+ 'no-invalid-this': NoInvalidThis.Options;
13845
+ 'no-irregular-whitespace': NoIrregularWhitespace.Options;
13846
+ 'no-labels': NoLabels.Options;
13847
+ 'no-magic-numbers': NoMagicNumbers.Options;
13848
+ 'no-misleading-character-class': NoMisleadingCharacterClass.Options;
13849
+ 'no-multi-assign': NoMultiAssign.Options;
13850
+ 'no-param-reassign': NoParamReassign.Options;
13851
+ 'no-plusplus': NoPlusplus.Options;
13852
+ 'no-promise-executor-return': NoPromiseExecutorReturn.Options;
13853
+ 'no-redeclare': NoRedeclare.Options;
13854
+ 'no-restricted-exports': NoRestrictedExports.Options;
13855
+ 'no-restricted-globals': NoRestrictedGlobals.Options;
13856
+ 'no-restricted-imports': NoRestrictedImports.Options;
13857
+ 'no-restricted-properties': NoRestrictedProperties.Options;
13858
+ 'no-restricted-syntax': NoRestrictedSyntax.Options;
13859
+ 'no-return-assign': NoReturnAssign.Options;
13860
+ 'no-self-assign': NoSelfAssign.Options;
13861
+ 'no-sequences': NoSequences.Options;
13862
+ 'no-shadow': NoShadow.Options;
13863
+ 'no-shadow-restricted-names': NoShadowRestrictedNames.Options;
13864
+ 'no-undef': NoUndef.Options;
13865
+ 'no-underscore-dangle': NoUnderscoreDangle.Options;
13866
+ 'no-unneeded-ternary': NoUnneededTernary.Options;
13867
+ 'no-unreachable-loop': NoUnreachableLoop.Options;
13868
+ 'no-unsafe-negation': NoUnsafeNegation.Options;
13869
+ 'no-unsafe-optional-chaining': NoUnsafeOptionalChaining.Options;
13870
+ 'no-unused-expressions': NoUnusedExpressions.Options;
13871
+ 'no-unused-vars': NoUnusedVars.Options;
13872
+ 'no-use-before-define': NoUseBeforeDefine.Options;
13873
+ 'no-useless-computed-key': NoUselessComputedKey.Options;
13874
+ 'no-useless-escape': NoUselessEscape.Options;
13875
+ 'no-useless-rename': NoUselessRename.Options;
13876
+ 'no-void': NoVoid.Options;
13877
+ 'no-warning-comments': NoWarningComments.Options;
13878
+ 'object-shorthand': ObjectShorthand.Options;
13879
+ 'one-var': OneVar.Options;
13880
+ 'operator-assignment': OperatorAssignment.Options;
13881
+ 'prefer-arrow-callback': PreferArrowCallback.Options;
13882
+ 'prefer-const': PreferConst.Options;
13883
+ 'prefer-destructuring': readonly [
13877
13884
  PreferDestructuring.Options0,
13878
13885
  PreferDestructuring.Options1,
13879
13886
  ];
13880
- readonly 'prefer-promise-reject-errors': PreferPromiseRejectErrors.Options;
13881
- readonly 'prefer-regex-literals': PreferRegexLiterals.Options;
13882
- readonly 'preserve-caught-error': PreserveCaughtError.Options;
13883
- readonly radix: Radix.Options;
13884
- readonly 'require-atomic-updates': RequireAtomicUpdates.Options;
13885
- readonly 'require-unicode-regexp': RequireUnicodeRegexp.Options;
13886
- readonly 'sort-imports': SortImports.Options;
13887
- readonly 'sort-keys': readonly [SortKeys.Options0, SortKeys.Options1];
13888
- readonly 'sort-vars': SortVars.Options;
13889
- readonly strict: Strict.Options;
13890
- readonly 'unicode-bom': UnicodeBom.Options;
13891
- readonly 'use-isnan': UseIsnan.Options;
13892
- readonly 'valid-typeof': ValidTypeof.Options;
13893
- readonly yoda: readonly [Yoda.Options0, Yoda.Options1];
13894
- };
13887
+ 'prefer-promise-reject-errors': PreferPromiseRejectErrors.Options;
13888
+ 'prefer-regex-literals': PreferRegexLiterals.Options;
13889
+ 'preserve-caught-error': PreserveCaughtError.Options;
13890
+ radix: Radix.Options;
13891
+ 'require-atomic-updates': RequireAtomicUpdates.Options;
13892
+ 'require-unicode-regexp': RequireUnicodeRegexp.Options;
13893
+ 'sort-imports': SortImports.Options;
13894
+ 'sort-keys': readonly [SortKeys.Options0, SortKeys.Options1];
13895
+ 'sort-vars': SortVars.Options;
13896
+ strict: Strict.Options;
13897
+ 'unicode-bom': UnicodeBom.Options;
13898
+ 'use-isnan': UseIsnan.Options;
13899
+ 'valid-typeof': ValidTypeof.Options;
13900
+ yoda: readonly [Yoda.Options0, Yoda.Options1];
13901
+ }>;