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.
- package/dist/rules/typescript-eslint-rules.d.mts +3 -1
- package/dist/rules/typescript-eslint-rules.d.mts.map +1 -1
- package/dist/rules/typescript-eslint-rules.mjs +8 -1
- package/dist/rules/typescript-eslint-rules.mjs.map +1 -1
- package/dist/types/rules/eslint-array-func-rules.d.mts +8 -8
- package/dist/types/rules/eslint-array-func-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-cypress-rules.d.mts +27 -23
- package/dist/types/rules/eslint-cypress-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-functional-rules.d.mts +426 -425
- package/dist/types/rules/eslint-functional-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-import-rules.d.mts +343 -325
- package/dist/types/rules/eslint-import-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-jest-rules.d.mts +183 -171
- package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-jsx-a11y-rules.d.mts +211 -209
- package/dist/types/rules/eslint-jsx-a11y-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-math-rules.d.mts +49 -48
- package/dist/types/rules/eslint-math-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-n-rules.d.mts +296 -293
- package/dist/types/rules/eslint-n-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-playwright-rules.d.mts +161 -149
- package/dist/types/rules/eslint-playwright-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-plugin-rules.d.mts +95 -85
- package/dist/types/rules/eslint-plugin-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts +10 -10
- package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts +23 -16
- package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-promise-rules.d.mts +68 -68
- package/dist/types/rules/eslint-promise-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-coding-style-rules.d.mts +29 -29
- package/dist/types/rules/eslint-react-coding-style-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-hooks-rules.d.mts +100 -100
- package/dist/types/rules/eslint-react-hooks-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-perf-rules.d.mts +28 -28
- package/dist/types/rules/eslint-react-perf-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-refresh-rules.d.mts +13 -13
- package/dist/types/rules/eslint-react-refresh-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-rules.d.mts +646 -620
- package/dist/types/rules/eslint-react-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-rules.d.mts +1022 -1016
- package/dist/types/rules/eslint-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-security-rules.d.mts +16 -16
- package/dist/types/rules/eslint-security-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-strict-dependencies-rules.d.mts +18 -18
- package/dist/types/rules/eslint-strict-dependencies-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-stylistic-rules.d.mts +1440 -1400
- package/dist/types/rules/eslint-stylistic-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-testing-library-rules.d.mts +110 -105
- package/dist/types/rules/eslint-testing-library-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-total-functions-rules.d.mts +16 -16
- package/dist/types/rules/eslint-total-functions-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-tree-shakable-rules.d.mts +3 -3
- package/dist/types/rules/eslint-tree-shakable-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-ts-restrictions-rules.d.mts +30 -30
- package/dist/types/rules/eslint-ts-restrictions-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-unicorn-rules.d.mts +398 -392
- package/dist/types/rules/eslint-unicorn-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts +3 -3
- package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-vitest-rules.d.mts +204 -190
- package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
- package/dist/types/rules/typescript-eslint-rules.d.mts +1107 -1077
- package/dist/types/rules/typescript-eslint-rules.d.mts.map +1 -1
- package/package.json +23 -23
- package/src/rules/typescript-eslint-rules.mts +9 -1
- package/src/types/rules/eslint-array-func-rules.mts +8 -8
- package/src/types/rules/eslint-cypress-rules.mts +28 -24
- package/src/types/rules/eslint-functional-rules.mts +581 -576
- package/src/types/rules/eslint-import-rules.mts +403 -384
- package/src/types/rules/eslint-jest-rules.mts +212 -196
- package/src/types/rules/eslint-jsx-a11y-rules.mts +252 -250
- package/src/types/rules/eslint-math-rules.mts +53 -52
- package/src/types/rules/eslint-n-rules.mts +1762 -1757
- package/src/types/rules/eslint-playwright-rules.mts +187 -171
- package/src/types/rules/eslint-plugin-rules.mts +109 -99
- package/src/types/rules/eslint-plugin-sort-destructure-keys-rules.mts +11 -11
- package/src/types/rules/eslint-prefer-arrow-functions-rules.mts +24 -17
- package/src/types/rules/eslint-promise-rules.mts +76 -76
- package/src/types/rules/eslint-react-coding-style-rules.mts +32 -32
- package/src/types/rules/eslint-react-hooks-rules.mts +129 -129
- package/src/types/rules/eslint-react-perf-rules.mts +32 -32
- package/src/types/rules/eslint-react-refresh-rules.mts +14 -14
- package/src/types/rules/eslint-react-rules.mts +787 -792
- package/src/types/rules/eslint-rules.mts +1180 -1173
- package/src/types/rules/eslint-security-rules.mts +16 -16
- package/src/types/rules/eslint-strict-dependencies-rules.mts +19 -19
- package/src/types/rules/eslint-stylistic-rules.mts +1767 -1807
- package/src/types/rules/eslint-testing-library-rules.mts +128 -124
- package/src/types/rules/eslint-total-functions-rules.mts +16 -16
- package/src/types/rules/eslint-tree-shakable-rules.mts +3 -3
- package/src/types/rules/eslint-ts-restrictions-rules.mts +34 -33
- package/src/types/rules/eslint-unicorn-rules.mts +447 -436
- package/src/types/rules/eslint-vitest-coding-style-rules.mts +3 -3
- package/src/types/rules/eslint-vitest-rules.mts +232 -219
- 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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
612
|
+
export type Options = Readonly<{
|
|
613
|
+
ignoreDestructuring?: boolean;
|
|
614
|
+
ignoreImports?: boolean;
|
|
615
|
+
ignoreGlobals?: boolean;
|
|
616
|
+
properties?: 'always' | 'never';
|
|
617
617
|
/** @minItems 0 */
|
|
618
|
-
|
|
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
|
-
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
ignorePattern?: string;
|
|
716
|
+
ignoreInlineComments?: boolean;
|
|
717
|
+
ignoreConsecutiveComments?: boolean;
|
|
718
718
|
}
|
|
719
719
|
| {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
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
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
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
|
-
|
|
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
|
|
1205
|
-
| readonly ['multi-line' | 'multi-or-nest'
|
|
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
|
-
|
|
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
|
-
|
|
1358
|
-
|
|
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
|
-
|
|
1459
|
-
}
|
|
1460
|
+
Readonly<{
|
|
1461
|
+
null?: 'always' | 'never' | 'ignore';
|
|
1462
|
+
}>,
|
|
1460
1463
|
]
|
|
1461
|
-
| readonly ['
|
|
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
|
-
|
|
1615
|
-
|
|
1616
|
-
}
|
|
1616
|
+
Readonly<{
|
|
1617
|
+
considerPropertyDescriptor?: boolean;
|
|
1618
|
+
includeCommonJSModuleExports?: boolean;
|
|
1619
|
+
}>,
|
|
1617
1620
|
]
|
|
1618
1621
|
| readonly [
|
|
1619
|
-
{
|
|
1620
|
-
|
|
1621
|
-
|
|
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
|
-
|
|
1679
|
-
}
|
|
1680
|
-
]
|
|
1681
|
-
|
|
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
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
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
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
4364
|
-
}
|
|
4365
|
+
Readonly<{
|
|
4366
|
+
enforceForIfStatements?: boolean;
|
|
4367
|
+
}>,
|
|
4365
4368
|
]
|
|
4366
|
-
| readonly ['
|
|
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
|
-
|
|
4423
|
-
|
|
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
|
-
|
|
4480
|
-
|
|
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
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
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
|
-
|
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
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
|
-
|
|
4819
|
-
|
|
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
|
-
|
|
4880
|
-
|
|
4879
|
+
| Readonly<{
|
|
4880
|
+
maximum?: number;
|
|
4881
|
+
max?: number;
|
|
4881
4882
|
/** Whether to count a `this` declaration when the type is `void`. */
|
|
4882
|
-
|
|
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
|
-
|
|
4948
|
-
|
|
4949
|
-
}
|
|
4947
|
+
| Readonly<{
|
|
4948
|
+
maximum?: number;
|
|
4949
|
+
max?: number;
|
|
4950
|
+
}>;
|
|
4950
4951
|
|
|
4951
|
-
export type Options1 = {
|
|
4952
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 = '
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5957
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
| '
|
|
6130
|
-
| '
|
|
6127
|
+
| 'setters'
|
|
6128
|
+
| 'constructors'
|
|
6129
|
+
| 'asyncFunctions'
|
|
6130
|
+
| 'asyncMethods'
|
|
6131
6131
|
| 'privateConstructors'
|
|
6132
6132
|
| 'protectedConstructors'
|
|
6133
|
-
| '
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6388
|
+
enforceForInnerExpressions?: boolean;
|
|
6388
6389
|
}
|
|
6389
6390
|
| {
|
|
6390
|
-
|
|
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
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 = '
|
|
6876
|
+
export type Options0 = 'functions' | 'both';
|
|
6875
6877
|
|
|
6876
|
-
export type Options1 = {
|
|
6877
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
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
|
-
|
|
7099
|
-
|
|
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
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
readonly
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
7990
|
+
props?: false;
|
|
7980
7991
|
}
|
|
7981
7992
|
| {
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
8304
|
-
|
|
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
|
-
|
|
8315
|
-
|
|
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
|
-
|
|
8426
|
-
|
|
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
|
-
|
|
8446
|
+
globals: readonly (
|
|
8433
8447
|
| string
|
|
8434
|
-
| {
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
}
|
|
8448
|
+
| Readonly<{
|
|
8449
|
+
name: string;
|
|
8450
|
+
message?: string;
|
|
8451
|
+
}>
|
|
8438
8452
|
)[];
|
|
8439
|
-
|
|
8440
|
-
|
|
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
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
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
|
-
|
|
8692
|
-
}
|
|
8704
|
+
allowTypeImports?: boolean;
|
|
8705
|
+
}>
|
|
8693
8706
|
)[]
|
|
8707
|
+
| readonly []
|
|
8694
8708
|
| readonly [
|
|
8695
|
-
{
|
|
8696
|
-
|
|
8709
|
+
Readonly<{
|
|
8710
|
+
paths?: readonly (
|
|
8697
8711
|
| string
|
|
8698
|
-
| {
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
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
|
-
|
|
8705
|
-
}
|
|
8718
|
+
allowTypeImports?: boolean;
|
|
8719
|
+
}>
|
|
8706
8720
|
)[];
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
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
|
|
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
|
-
|
|
8941
|
-
|
|
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 = '
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
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
|
-
|
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
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
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
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
|
-
|
|
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
|
-
|
|
10534
|
-
|
|
10541
|
+
export type Options = Readonly<{
|
|
10542
|
+
terms?: readonly string[];
|
|
10543
|
+
location?: 'start' | 'anywhere';
|
|
10535
10544
|
/** @minItems 1 */
|
|
10536
|
-
|
|
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
|
-
| '
|
|
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
|
-
|
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
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
|
-
|
|
11526
|
-
|
|
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
|
-
|
|
11576
|
-
|
|
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
|
-
|
|
11666
|
-
|
|
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
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
12539
|
+
export type Options = Readonly<{
|
|
12540
|
+
ignoreCase?: boolean;
|
|
12531
12541
|
/**
|
|
12532
12542
|
* @minItems 4
|
|
12533
12543
|
* @maxItems 4
|
|
12534
12544
|
*/
|
|
12535
|
-
|
|
12536
|
-
'
|
|
12537
|
-
'
|
|
12538
|
-
'
|
|
12539
|
-
'
|
|
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
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
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
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
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 = '
|
|
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
|
-
|
|
13243
|
-
|
|
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
|
-
|
|
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
|
-
|
|
13467
|
-
|
|
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
|
-
|
|
|
13475
|
-
}
|
|
13476
|
-
|
|
13477
|
-
export type EslintRules = {
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
|
|
13562
|
-
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13584
|
-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
13647
|
-
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
|
|
13654
|
-
|
|
13655
|
-
|
|
13656
|
-
|
|
13657
|
-
|
|
13658
|
-
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
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
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
|
|
13687
|
-
|
|
13688
|
-
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
}
|
|
13773
|
-
|
|
13774
|
-
export type EslintRulesOption = {
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
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
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
|
|
13793
|
-
|
|
13794
|
-
|
|
13795
|
-
|
|
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
|
-
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
|
|
13806
|
-
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
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
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
|
|
13852
|
-
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
|
|
13857
|
-
|
|
13858
|
-
|
|
13859
|
-
|
|
13860
|
-
|
|
13861
|
-
|
|
13862
|
-
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
|
|
13872
|
-
|
|
13873
|
-
|
|
13874
|
-
|
|
13875
|
-
|
|
13876
|
-
|
|
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
|
-
|
|
13881
|
-
|
|
13882
|
-
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
|
|
13888
|
-
|
|
13889
|
-
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
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
|
+
}>;
|