@jimmy.codes/eslint-config 1.11.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +962 -952
- package/dist/index.d.mts +962 -952
- package/dist/index.mjs +1 -1
- package/package.json +17 -15
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import * as eslint_plugin_jest from 'eslint-plugin-jest';
|
|
1
2
|
import * as eslint_plugin_jest_dom from 'eslint-plugin-jest-dom';
|
|
2
3
|
import * as eslint_plugin_testing_library from 'eslint-plugin-testing-library';
|
|
3
|
-
import * as _tanstack_eslint_plugin_query from '@tanstack/eslint-plugin-query';
|
|
4
4
|
import * as eslint_plugin_react_refresh from 'eslint-plugin-react-refresh';
|
|
5
|
+
import * as eslint_plugin_jsx_a11y from 'eslint-plugin-jsx-a11y';
|
|
5
6
|
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
7
|
+
import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
6
8
|
import * as eslint from 'eslint';
|
|
7
9
|
import { Linter } from 'eslint';
|
|
8
10
|
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
@@ -18,11 +20,21 @@ interface RuleOptions {
|
|
|
18
20
|
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
19
21
|
*/
|
|
20
22
|
'@tanstack/query/exhaustive-deps'?: Linter.RuleEntry<[]>
|
|
23
|
+
/**
|
|
24
|
+
* Ensure correct order of inference sensitive properties for infinite queries
|
|
25
|
+
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
26
|
+
*/
|
|
27
|
+
'@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>
|
|
21
28
|
/**
|
|
22
29
|
* Disallows rest destructuring in queries
|
|
23
30
|
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
24
31
|
*/
|
|
25
32
|
'@tanstack/query/no-rest-destructuring'?: Linter.RuleEntry<[]>
|
|
33
|
+
/**
|
|
34
|
+
* Disallow putting the result of query hooks directly in a React hook dependency array
|
|
35
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
36
|
+
*/
|
|
37
|
+
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
|
|
26
38
|
/**
|
|
27
39
|
* Makes sure that QueryClient is stable
|
|
28
40
|
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
@@ -53,23 +65,6 @@ interface RuleOptions {
|
|
|
53
65
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
54
66
|
*/
|
|
55
67
|
'@typescript-eslint/ban-tslint-comment'?: Linter.RuleEntry<[]>
|
|
56
|
-
/**
|
|
57
|
-
* Disallow certain types
|
|
58
|
-
* @see https://typescript-eslint.io/rules/ban-types
|
|
59
|
-
*/
|
|
60
|
-
'@typescript-eslint/ban-types'?: Linter.RuleEntry<TypescriptEslintBanTypes>
|
|
61
|
-
/**
|
|
62
|
-
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
63
|
-
* @see https://typescript-eslint.io/rules/block-spacing
|
|
64
|
-
* @deprecated
|
|
65
|
-
*/
|
|
66
|
-
'@typescript-eslint/block-spacing'?: Linter.RuleEntry<TypescriptEslintBlockSpacing>
|
|
67
|
-
/**
|
|
68
|
-
* Enforce consistent brace style for blocks
|
|
69
|
-
* @see https://typescript-eslint.io/rules/brace-style
|
|
70
|
-
* @deprecated
|
|
71
|
-
*/
|
|
72
|
-
'@typescript-eslint/brace-style'?: Linter.RuleEntry<TypescriptEslintBraceStyle>
|
|
73
68
|
/**
|
|
74
69
|
* Enforce that literals on classes are exposed in a consistent style
|
|
75
70
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -80,18 +75,6 @@ interface RuleOptions {
|
|
|
80
75
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
81
76
|
*/
|
|
82
77
|
'@typescript-eslint/class-methods-use-this'?: Linter.RuleEntry<TypescriptEslintClassMethodsUseThis>
|
|
83
|
-
/**
|
|
84
|
-
* Require or disallow trailing commas
|
|
85
|
-
* @see https://typescript-eslint.io/rules/comma-dangle
|
|
86
|
-
* @deprecated
|
|
87
|
-
*/
|
|
88
|
-
'@typescript-eslint/comma-dangle'?: Linter.RuleEntry<TypescriptEslintCommaDangle>
|
|
89
|
-
/**
|
|
90
|
-
* Enforce consistent spacing before and after commas
|
|
91
|
-
* @see https://typescript-eslint.io/rules/comma-spacing
|
|
92
|
-
* @deprecated
|
|
93
|
-
*/
|
|
94
|
-
'@typescript-eslint/comma-spacing'?: Linter.RuleEntry<TypescriptEslintCommaSpacing>
|
|
95
78
|
/**
|
|
96
79
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
97
80
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -152,58 +135,16 @@ interface RuleOptions {
|
|
|
152
135
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
153
136
|
*/
|
|
154
137
|
'@typescript-eslint/explicit-module-boundary-types'?: Linter.RuleEntry<TypescriptEslintExplicitModuleBoundaryTypes>
|
|
155
|
-
/**
|
|
156
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
157
|
-
* @see https://typescript-eslint.io/rules/func-call-spacing
|
|
158
|
-
* @deprecated
|
|
159
|
-
*/
|
|
160
|
-
'@typescript-eslint/func-call-spacing'?: Linter.RuleEntry<TypescriptEslintFuncCallSpacing>
|
|
161
|
-
/**
|
|
162
|
-
* Enforce consistent indentation
|
|
163
|
-
* @see https://typescript-eslint.io/rules/indent
|
|
164
|
-
* @deprecated
|
|
165
|
-
*/
|
|
166
|
-
'@typescript-eslint/indent'?: Linter.RuleEntry<TypescriptEslintIndent>
|
|
167
138
|
/**
|
|
168
139
|
* Require or disallow initialization in variable declarations
|
|
169
140
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
170
141
|
*/
|
|
171
142
|
'@typescript-eslint/init-declarations'?: Linter.RuleEntry<TypescriptEslintInitDeclarations>
|
|
172
|
-
/**
|
|
173
|
-
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
174
|
-
* @see https://typescript-eslint.io/rules/key-spacing
|
|
175
|
-
* @deprecated
|
|
176
|
-
*/
|
|
177
|
-
'@typescript-eslint/key-spacing'?: Linter.RuleEntry<TypescriptEslintKeySpacing>
|
|
178
|
-
/**
|
|
179
|
-
* Enforce consistent spacing before and after keywords
|
|
180
|
-
* @see https://typescript-eslint.io/rules/keyword-spacing
|
|
181
|
-
* @deprecated
|
|
182
|
-
*/
|
|
183
|
-
'@typescript-eslint/keyword-spacing'?: Linter.RuleEntry<TypescriptEslintKeywordSpacing>
|
|
184
|
-
/**
|
|
185
|
-
* Require empty lines around comments
|
|
186
|
-
* @see https://typescript-eslint.io/rules/lines-around-comment
|
|
187
|
-
* @deprecated
|
|
188
|
-
*/
|
|
189
|
-
'@typescript-eslint/lines-around-comment'?: Linter.RuleEntry<TypescriptEslintLinesAroundComment>
|
|
190
|
-
/**
|
|
191
|
-
* Require or disallow an empty line between class members
|
|
192
|
-
* @see https://typescript-eslint.io/rules/lines-between-class-members
|
|
193
|
-
* @deprecated
|
|
194
|
-
*/
|
|
195
|
-
'@typescript-eslint/lines-between-class-members'?: Linter.RuleEntry<TypescriptEslintLinesBetweenClassMembers>
|
|
196
143
|
/**
|
|
197
144
|
* Enforce a maximum number of parameters in function definitions
|
|
198
145
|
* @see https://typescript-eslint.io/rules/max-params
|
|
199
146
|
*/
|
|
200
147
|
'@typescript-eslint/max-params'?: Linter.RuleEntry<TypescriptEslintMaxParams>
|
|
201
|
-
/**
|
|
202
|
-
* Require a specific member delimiter style for interfaces and type literals
|
|
203
|
-
* @see https://typescript-eslint.io/rules/member-delimiter-style
|
|
204
|
-
* @deprecated
|
|
205
|
-
*/
|
|
206
|
-
'@typescript-eslint/member-delimiter-style'?: Linter.RuleEntry<TypescriptEslintMemberDelimiterStyle>
|
|
207
148
|
/**
|
|
208
149
|
* Require a consistent member declaration order
|
|
209
150
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -230,7 +171,7 @@ interface RuleOptions {
|
|
|
230
171
|
*/
|
|
231
172
|
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
232
173
|
/**
|
|
233
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
174
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
234
175
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
235
176
|
*/
|
|
236
177
|
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>
|
|
@@ -244,6 +185,11 @@ interface RuleOptions {
|
|
|
244
185
|
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
245
186
|
*/
|
|
246
187
|
'@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>
|
|
188
|
+
/**
|
|
189
|
+
* Disallow using code marked as `@deprecated`
|
|
190
|
+
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
191
|
+
*/
|
|
192
|
+
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>
|
|
247
193
|
/**
|
|
248
194
|
* Disallow duplicate class members
|
|
249
195
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -272,8 +218,14 @@ interface RuleOptions {
|
|
|
272
218
|
/**
|
|
273
219
|
* Disallow the declaration of empty interfaces
|
|
274
220
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
221
|
+
* @deprecated
|
|
275
222
|
*/
|
|
276
223
|
'@typescript-eslint/no-empty-interface'?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>
|
|
224
|
+
/**
|
|
225
|
+
* Disallow accidentally using the "empty object" type
|
|
226
|
+
* @see https://typescript-eslint.io/rules/no-empty-object-type
|
|
227
|
+
*/
|
|
228
|
+
'@typescript-eslint/no-empty-object-type'?: Linter.RuleEntry<TypescriptEslintNoEmptyObjectType>
|
|
277
229
|
/**
|
|
278
230
|
* Disallow the `any` type
|
|
279
231
|
* @see https://typescript-eslint.io/rules/no-explicit-any
|
|
@@ -284,18 +236,6 @@ interface RuleOptions {
|
|
|
284
236
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
285
237
|
*/
|
|
286
238
|
'@typescript-eslint/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
|
|
287
|
-
/**
|
|
288
|
-
* Disallow unnecessary parentheses
|
|
289
|
-
* @see https://typescript-eslint.io/rules/no-extra-parens
|
|
290
|
-
* @deprecated
|
|
291
|
-
*/
|
|
292
|
-
'@typescript-eslint/no-extra-parens'?: Linter.RuleEntry<TypescriptEslintNoExtraParens>
|
|
293
|
-
/**
|
|
294
|
-
* Disallow unnecessary semicolons
|
|
295
|
-
* @see https://typescript-eslint.io/rules/no-extra-semi
|
|
296
|
-
* @deprecated
|
|
297
|
-
*/
|
|
298
|
-
'@typescript-eslint/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
299
239
|
/**
|
|
300
240
|
* Disallow classes used as namespaces
|
|
301
241
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -344,6 +284,7 @@ interface RuleOptions {
|
|
|
344
284
|
/**
|
|
345
285
|
* Disallow literal numbers that lose precision
|
|
346
286
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
287
|
+
* @deprecated
|
|
347
288
|
*/
|
|
348
289
|
'@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
349
290
|
/**
|
|
@@ -411,6 +352,11 @@ interface RuleOptions {
|
|
|
411
352
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
412
353
|
*/
|
|
413
354
|
'@typescript-eslint/no-restricted-imports'?: Linter.RuleEntry<TypescriptEslintNoRestrictedImports>
|
|
355
|
+
/**
|
|
356
|
+
* Disallow certain types
|
|
357
|
+
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
358
|
+
*/
|
|
359
|
+
'@typescript-eslint/no-restricted-types'?: Linter.RuleEntry<TypescriptEslintNoRestrictedTypes>
|
|
414
360
|
/**
|
|
415
361
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
416
362
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -421,12 +367,6 @@ interface RuleOptions {
|
|
|
421
367
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
422
368
|
*/
|
|
423
369
|
'@typescript-eslint/no-this-alias'?: Linter.RuleEntry<TypescriptEslintNoThisAlias>
|
|
424
|
-
/**
|
|
425
|
-
* Disallow throwing literals as exceptions
|
|
426
|
-
* @see https://typescript-eslint.io/rules/no-throw-literal
|
|
427
|
-
* @deprecated
|
|
428
|
-
*/
|
|
429
|
-
'@typescript-eslint/no-throw-literal'?: Linter.RuleEntry<TypescriptEslintNoThrowLiteral>
|
|
430
370
|
/**
|
|
431
371
|
* Disallow type aliases
|
|
432
372
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -443,11 +383,21 @@ interface RuleOptions {
|
|
|
443
383
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
444
384
|
*/
|
|
445
385
|
'@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>
|
|
386
|
+
/**
|
|
387
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
388
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
389
|
+
*/
|
|
390
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
446
391
|
/**
|
|
447
392
|
* Disallow unnecessary namespace qualifiers
|
|
448
393
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
449
394
|
*/
|
|
450
395
|
'@typescript-eslint/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
|
|
396
|
+
/**
|
|
397
|
+
* Disallow unnecessary template expressions
|
|
398
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
|
|
399
|
+
*/
|
|
400
|
+
'@typescript-eslint/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
|
|
451
401
|
/**
|
|
452
402
|
* Disallow type arguments that are equal to the default
|
|
453
403
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
@@ -463,6 +413,11 @@ interface RuleOptions {
|
|
|
463
413
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
464
414
|
*/
|
|
465
415
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
416
|
+
/**
|
|
417
|
+
* Disallow type parameters that aren't used multiple times
|
|
418
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
419
|
+
*/
|
|
420
|
+
'@typescript-eslint/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
466
421
|
/**
|
|
467
422
|
* Disallow calling a function with a value with type `any`
|
|
468
423
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -488,6 +443,11 @@ interface RuleOptions {
|
|
|
488
443
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
489
444
|
*/
|
|
490
445
|
'@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
446
|
+
/**
|
|
447
|
+
* Disallow using the unsafe built-in Function type
|
|
448
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
449
|
+
*/
|
|
450
|
+
'@typescript-eslint/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
491
451
|
/**
|
|
492
452
|
* Disallow member access on a value with type `any`
|
|
493
453
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -528,38 +488,27 @@ interface RuleOptions {
|
|
|
528
488
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
529
489
|
*/
|
|
530
490
|
'@typescript-eslint/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
531
|
-
/**
|
|
532
|
-
* Disallow unnecessary template literals
|
|
533
|
-
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
534
|
-
*/
|
|
535
|
-
'@typescript-eslint/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
536
491
|
/**
|
|
537
492
|
* Disallow `require` statements except in import statements
|
|
538
493
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
494
|
+
* @deprecated
|
|
539
495
|
*/
|
|
540
496
|
'@typescript-eslint/no-var-requires'?: Linter.RuleEntry<TypescriptEslintNoVarRequires>
|
|
497
|
+
/**
|
|
498
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
499
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
500
|
+
*/
|
|
501
|
+
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
541
502
|
/**
|
|
542
503
|
* Enforce non-null assertions over explicit type casts
|
|
543
504
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
544
505
|
*/
|
|
545
506
|
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
546
|
-
/**
|
|
547
|
-
* Enforce consistent spacing inside braces
|
|
548
|
-
* @see https://typescript-eslint.io/rules/object-curly-spacing
|
|
549
|
-
* @deprecated
|
|
550
|
-
*/
|
|
551
|
-
'@typescript-eslint/object-curly-spacing'?: Linter.RuleEntry<TypescriptEslintObjectCurlySpacing>
|
|
552
507
|
/**
|
|
553
508
|
* Disallow throwing non-`Error` values as exceptions
|
|
554
509
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
555
510
|
*/
|
|
556
511
|
'@typescript-eslint/only-throw-error'?: Linter.RuleEntry<TypescriptEslintOnlyThrowError>
|
|
557
|
-
/**
|
|
558
|
-
* Require or disallow padding lines between statements
|
|
559
|
-
* @see https://typescript-eslint.io/rules/padding-line-between-statements
|
|
560
|
-
* @deprecated
|
|
561
|
-
*/
|
|
562
|
-
'@typescript-eslint/padding-line-between-statements'?: Linter.RuleEntry<TypescriptEslintPaddingLineBetweenStatements>
|
|
563
512
|
/**
|
|
564
513
|
* Require or disallow parameter properties in class constructors
|
|
565
514
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -658,6 +607,7 @@ interface RuleOptions {
|
|
|
658
607
|
/**
|
|
659
608
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
660
609
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
610
|
+
* @deprecated
|
|
661
611
|
*/
|
|
662
612
|
'@typescript-eslint/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
663
613
|
/**
|
|
@@ -665,19 +615,13 @@ interface RuleOptions {
|
|
|
665
615
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
666
616
|
*/
|
|
667
617
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>
|
|
668
|
-
/**
|
|
669
|
-
* Enforce the consistent use of either backticks, double, or single quotes
|
|
670
|
-
* @see https://typescript-eslint.io/rules/quotes
|
|
671
|
-
* @deprecated
|
|
672
|
-
*/
|
|
673
|
-
'@typescript-eslint/quotes'?: Linter.RuleEntry<TypescriptEslintQuotes>
|
|
674
618
|
/**
|
|
675
619
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
676
620
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
677
621
|
*/
|
|
678
622
|
'@typescript-eslint/require-array-sort-compare'?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>
|
|
679
623
|
/**
|
|
680
|
-
* Disallow async functions which have no `await` expression
|
|
624
|
+
* Disallow async functions which do not return promises and have no `await` expression
|
|
681
625
|
* @see https://typescript-eslint.io/rules/require-await
|
|
682
626
|
*/
|
|
683
627
|
'@typescript-eslint/require-await'?: Linter.RuleEntry<[]>
|
|
@@ -692,39 +636,16 @@ interface RuleOptions {
|
|
|
692
636
|
*/
|
|
693
637
|
'@typescript-eslint/restrict-template-expressions'?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>
|
|
694
638
|
/**
|
|
695
|
-
* Enforce consistent
|
|
639
|
+
* Enforce consistent awaiting of returned promises
|
|
696
640
|
* @see https://typescript-eslint.io/rules/return-await
|
|
697
641
|
*/
|
|
698
642
|
'@typescript-eslint/return-await'?: Linter.RuleEntry<TypescriptEslintReturnAwait>
|
|
699
|
-
/**
|
|
700
|
-
* Require or disallow semicolons instead of ASI
|
|
701
|
-
* @see https://typescript-eslint.io/rules/semi
|
|
702
|
-
* @deprecated
|
|
703
|
-
*/
|
|
704
|
-
'@typescript-eslint/semi'?: Linter.RuleEntry<TypescriptEslintSemi>
|
|
705
643
|
/**
|
|
706
644
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
707
645
|
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
708
|
-
*/
|
|
709
|
-
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>
|
|
710
|
-
/**
|
|
711
|
-
* Enforce consistent spacing before blocks
|
|
712
|
-
* @see https://typescript-eslint.io/rules/space-before-blocks
|
|
713
|
-
* @deprecated
|
|
714
|
-
*/
|
|
715
|
-
'@typescript-eslint/space-before-blocks'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeBlocks>
|
|
716
|
-
/**
|
|
717
|
-
* Enforce consistent spacing before function parenthesis
|
|
718
|
-
* @see https://typescript-eslint.io/rules/space-before-function-paren
|
|
719
|
-
* @deprecated
|
|
720
|
-
*/
|
|
721
|
-
'@typescript-eslint/space-before-function-paren'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeFunctionParen>
|
|
722
|
-
/**
|
|
723
|
-
* Require spacing around infix operators
|
|
724
|
-
* @see https://typescript-eslint.io/rules/space-infix-ops
|
|
725
646
|
* @deprecated
|
|
726
647
|
*/
|
|
727
|
-
'@typescript-eslint/
|
|
648
|
+
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>
|
|
728
649
|
/**
|
|
729
650
|
* Disallow certain types in boolean expressions
|
|
730
651
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -740,12 +661,6 @@ interface RuleOptions {
|
|
|
740
661
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
741
662
|
*/
|
|
742
663
|
'@typescript-eslint/triple-slash-reference'?: Linter.RuleEntry<TypescriptEslintTripleSlashReference>
|
|
743
|
-
/**
|
|
744
|
-
* Require consistent spacing around type annotations
|
|
745
|
-
* @see https://typescript-eslint.io/rules/type-annotation-spacing
|
|
746
|
-
* @deprecated
|
|
747
|
-
*/
|
|
748
|
-
'@typescript-eslint/type-annotation-spacing'?: Linter.RuleEntry<TypescriptEslintTypeAnnotationSpacing>
|
|
749
664
|
/**
|
|
750
665
|
* Require type annotations in certain places
|
|
751
666
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -762,7 +677,7 @@ interface RuleOptions {
|
|
|
762
677
|
*/
|
|
763
678
|
'@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>
|
|
764
679
|
/**
|
|
765
|
-
* Enforce typing arguments in
|
|
680
|
+
* Enforce typing arguments in Promise rejection callbacks as `unknown`
|
|
766
681
|
* @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
767
682
|
*/
|
|
768
683
|
'@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
|
|
@@ -1066,6 +981,11 @@ interface RuleOptions {
|
|
|
1066
981
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
|
|
1067
982
|
*/
|
|
1068
983
|
'astro/semi'?: Linter.RuleEntry<AstroSemi>
|
|
984
|
+
/**
|
|
985
|
+
* enforce sorting of attributes
|
|
986
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
|
|
987
|
+
*/
|
|
988
|
+
'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>
|
|
1069
989
|
/**
|
|
1070
990
|
* disallow warnings when compiling.
|
|
1071
991
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
@@ -1598,271 +1518,316 @@ interface RuleOptions {
|
|
|
1598
1518
|
'jest-dom/prefer-to-have-value'?: Linter.RuleEntry<[]>
|
|
1599
1519
|
/**
|
|
1600
1520
|
* Enforce `test` and `it` usage conventions
|
|
1601
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1521
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/consistent-test-it.md
|
|
1602
1522
|
*/
|
|
1603
1523
|
'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>
|
|
1604
1524
|
/**
|
|
1605
1525
|
* Enforce assertion to be made in a test body
|
|
1606
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1526
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/expect-expect.md
|
|
1607
1527
|
*/
|
|
1608
1528
|
'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>
|
|
1609
1529
|
/**
|
|
1610
1530
|
* Enforces a maximum number assertion calls in a test body
|
|
1611
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1531
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/max-expects.md
|
|
1612
1532
|
*/
|
|
1613
1533
|
'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>
|
|
1614
1534
|
/**
|
|
1615
1535
|
* Enforces a maximum depth to nested describe calls
|
|
1616
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1536
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/max-nested-describe.md
|
|
1617
1537
|
*/
|
|
1618
1538
|
'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>
|
|
1619
1539
|
/**
|
|
1620
1540
|
* Disallow alias methods
|
|
1621
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1541
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-alias-methods.md
|
|
1622
1542
|
*/
|
|
1623
1543
|
'jest/no-alias-methods'?: Linter.RuleEntry<[]>
|
|
1624
1544
|
/**
|
|
1625
1545
|
* Disallow commented out tests
|
|
1626
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1546
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-commented-out-tests.md
|
|
1627
1547
|
*/
|
|
1628
1548
|
'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>
|
|
1629
1549
|
/**
|
|
1630
1550
|
* Disallow calling `expect` conditionally
|
|
1631
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1551
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-conditional-expect.md
|
|
1632
1552
|
*/
|
|
1633
1553
|
'jest/no-conditional-expect'?: Linter.RuleEntry<[]>
|
|
1634
1554
|
/**
|
|
1635
1555
|
* Disallow conditional logic in tests
|
|
1636
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1556
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-conditional-in-test.md
|
|
1637
1557
|
*/
|
|
1638
1558
|
'jest/no-conditional-in-test'?: Linter.RuleEntry<[]>
|
|
1639
1559
|
/**
|
|
1640
1560
|
* Disallow confusing usages of jest.setTimeout
|
|
1641
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1561
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-confusing-set-timeout.md
|
|
1642
1562
|
*/
|
|
1643
1563
|
'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>
|
|
1644
1564
|
/**
|
|
1645
1565
|
* Disallow use of deprecated functions
|
|
1646
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1566
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-deprecated-functions.md
|
|
1647
1567
|
*/
|
|
1648
1568
|
'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>
|
|
1649
1569
|
/**
|
|
1650
1570
|
* Disallow disabled tests
|
|
1651
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1571
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-disabled-tests.md
|
|
1652
1572
|
*/
|
|
1653
1573
|
'jest/no-disabled-tests'?: Linter.RuleEntry<[]>
|
|
1654
1574
|
/**
|
|
1655
1575
|
* Disallow using a callback in asynchronous tests and hooks
|
|
1656
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1576
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-done-callback.md
|
|
1657
1577
|
*/
|
|
1658
1578
|
'jest/no-done-callback'?: Linter.RuleEntry<[]>
|
|
1659
1579
|
/**
|
|
1660
1580
|
* Disallow duplicate setup and teardown hooks
|
|
1661
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1581
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-duplicate-hooks.md
|
|
1662
1582
|
*/
|
|
1663
1583
|
'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>
|
|
1664
1584
|
/**
|
|
1665
1585
|
* Disallow using `exports` in files containing tests
|
|
1666
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1586
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-export.md
|
|
1667
1587
|
*/
|
|
1668
1588
|
'jest/no-export'?: Linter.RuleEntry<[]>
|
|
1669
1589
|
/**
|
|
1670
1590
|
* Disallow focused tests
|
|
1671
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1591
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-focused-tests.md
|
|
1672
1592
|
*/
|
|
1673
1593
|
'jest/no-focused-tests'?: Linter.RuleEntry<[]>
|
|
1674
1594
|
/**
|
|
1675
1595
|
* Disallow setup and teardown hooks
|
|
1676
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1596
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-hooks.md
|
|
1677
1597
|
*/
|
|
1678
1598
|
'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>
|
|
1679
1599
|
/**
|
|
1680
1600
|
* Disallow identical titles
|
|
1681
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1601
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-identical-title.md
|
|
1682
1602
|
*/
|
|
1683
1603
|
'jest/no-identical-title'?: Linter.RuleEntry<[]>
|
|
1684
1604
|
/**
|
|
1685
1605
|
* Disallow string interpolation inside snapshots
|
|
1686
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1606
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-interpolation-in-snapshots.md
|
|
1687
1607
|
*/
|
|
1688
1608
|
'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
|
|
1689
1609
|
/**
|
|
1690
1610
|
* Disallow Jasmine globals
|
|
1691
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1611
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-jasmine-globals.md
|
|
1692
1612
|
*/
|
|
1693
1613
|
'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>
|
|
1694
1614
|
/**
|
|
1695
1615
|
* Disallow large snapshots
|
|
1696
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1616
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-large-snapshots.md
|
|
1697
1617
|
*/
|
|
1698
1618
|
'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>
|
|
1699
1619
|
/**
|
|
1700
1620
|
* Disallow manually importing from `__mocks__`
|
|
1701
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1621
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-mocks-import.md
|
|
1702
1622
|
*/
|
|
1703
1623
|
'jest/no-mocks-import'?: Linter.RuleEntry<[]>
|
|
1704
1624
|
/**
|
|
1705
1625
|
* Disallow specific `jest.` methods
|
|
1706
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1626
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-restricted-jest-methods.md
|
|
1707
1627
|
*/
|
|
1708
1628
|
'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>
|
|
1709
1629
|
/**
|
|
1710
1630
|
* Disallow specific matchers & modifiers
|
|
1711
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1631
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-restricted-matchers.md
|
|
1712
1632
|
*/
|
|
1713
1633
|
'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>
|
|
1714
1634
|
/**
|
|
1715
1635
|
* Disallow using `expect` outside of `it` or `test` blocks
|
|
1716
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1636
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-standalone-expect.md
|
|
1717
1637
|
*/
|
|
1718
1638
|
'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>
|
|
1719
1639
|
/**
|
|
1720
1640
|
* Require using `.only` and `.skip` over `f` and `x`
|
|
1721
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1641
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-test-prefixes.md
|
|
1722
1642
|
*/
|
|
1723
1643
|
'jest/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
1724
1644
|
/**
|
|
1725
1645
|
* Disallow explicitly returning from tests
|
|
1726
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1646
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-test-return-statement.md
|
|
1727
1647
|
*/
|
|
1728
1648
|
'jest/no-test-return-statement'?: Linter.RuleEntry<[]>
|
|
1729
1649
|
/**
|
|
1730
1650
|
* Disallow using `jest.mock()` factories without an explicit type parameter
|
|
1731
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1651
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/no-untyped-mock-factory.md
|
|
1732
1652
|
*/
|
|
1733
1653
|
'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>
|
|
1654
|
+
/**
|
|
1655
|
+
* Enforce padding around `afterAll` blocks
|
|
1656
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-after-all-blocks.md
|
|
1657
|
+
*/
|
|
1658
|
+
'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
|
|
1659
|
+
/**
|
|
1660
|
+
* Enforce padding around `afterEach` blocks
|
|
1661
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-after-each-blocks.md
|
|
1662
|
+
*/
|
|
1663
|
+
'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
|
|
1664
|
+
/**
|
|
1665
|
+
* Enforce padding around Jest functions
|
|
1666
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-all.md
|
|
1667
|
+
*/
|
|
1668
|
+
'jest/padding-around-all'?: Linter.RuleEntry<[]>
|
|
1669
|
+
/**
|
|
1670
|
+
* Enforce padding around `beforeAll` blocks
|
|
1671
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-before-all-blocks.md
|
|
1672
|
+
*/
|
|
1673
|
+
'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
|
|
1674
|
+
/**
|
|
1675
|
+
* Enforce padding around `beforeEach` blocks
|
|
1676
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-before-each-blocks.md
|
|
1677
|
+
*/
|
|
1678
|
+
'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
|
|
1679
|
+
/**
|
|
1680
|
+
* Enforce padding around `describe` blocks
|
|
1681
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-describe-blocks.md
|
|
1682
|
+
*/
|
|
1683
|
+
'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
|
|
1684
|
+
/**
|
|
1685
|
+
* Enforce padding around `expect` groups
|
|
1686
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-expect-groups.md
|
|
1687
|
+
*/
|
|
1688
|
+
'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
1689
|
+
/**
|
|
1690
|
+
* Enforce padding around afterAll blocks
|
|
1691
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/padding-around-test-blocks.md
|
|
1692
|
+
*/
|
|
1693
|
+
'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
1734
1694
|
/**
|
|
1735
1695
|
* Suggest using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
1736
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1696
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-called-with.md
|
|
1737
1697
|
*/
|
|
1738
1698
|
'jest/prefer-called-with'?: Linter.RuleEntry<[]>
|
|
1739
1699
|
/**
|
|
1740
1700
|
* Suggest using the built-in comparison matchers
|
|
1741
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1701
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-comparison-matcher.md
|
|
1742
1702
|
*/
|
|
1743
1703
|
'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
1744
1704
|
/**
|
|
1745
1705
|
* Prefer using `.each` rather than manual loops
|
|
1746
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1706
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-each.md
|
|
1747
1707
|
*/
|
|
1748
1708
|
'jest/prefer-each'?: Linter.RuleEntry<[]>
|
|
1749
1709
|
/**
|
|
1750
1710
|
* Suggest using the built-in equality matchers
|
|
1751
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1711
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-equality-matcher.md
|
|
1752
1712
|
*/
|
|
1753
1713
|
'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>
|
|
1754
1714
|
/**
|
|
1755
1715
|
* Suggest using `expect.assertions()` OR `expect.hasAssertions()`
|
|
1756
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1716
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-expect-assertions.md
|
|
1757
1717
|
*/
|
|
1758
1718
|
'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>
|
|
1759
1719
|
/**
|
|
1760
1720
|
* Prefer `await expect(...).resolves` over `expect(await ...)` syntax
|
|
1761
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1721
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-expect-resolves.md
|
|
1762
1722
|
*/
|
|
1763
1723
|
'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>
|
|
1764
1724
|
/**
|
|
1765
1725
|
* Prefer having hooks in a consistent order
|
|
1766
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1726
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-hooks-in-order.md
|
|
1767
1727
|
*/
|
|
1768
1728
|
'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
|
|
1769
1729
|
/**
|
|
1770
1730
|
* Suggest having hooks before any test cases
|
|
1771
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1731
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-hooks-on-top.md
|
|
1772
1732
|
*/
|
|
1773
1733
|
'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
1774
1734
|
/**
|
|
1775
1735
|
* Prefer importing Jest globals
|
|
1776
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1736
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-importing-jest-globals.md
|
|
1737
|
+
*/
|
|
1738
|
+
'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>
|
|
1739
|
+
/**
|
|
1740
|
+
* Prefer `jest.mocked()` over `fn as jest.Mock`
|
|
1741
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-jest-mocked.md
|
|
1777
1742
|
*/
|
|
1778
|
-
'jest/prefer-
|
|
1743
|
+
'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>
|
|
1779
1744
|
/**
|
|
1780
1745
|
* Enforce lowercase test names
|
|
1781
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1746
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-lowercase-title.md
|
|
1782
1747
|
*/
|
|
1783
1748
|
'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>
|
|
1784
1749
|
/**
|
|
1785
1750
|
* Prefer mock resolved/rejected shorthands for promises
|
|
1786
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1751
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-mock-promise-shorthand.md
|
|
1787
1752
|
*/
|
|
1788
1753
|
'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
|
|
1789
1754
|
/**
|
|
1790
1755
|
* Prefer including a hint with external snapshots
|
|
1791
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1756
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-snapshot-hint.md
|
|
1792
1757
|
*/
|
|
1793
1758
|
'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>
|
|
1794
1759
|
/**
|
|
1795
1760
|
* Suggest using `jest.spyOn()`
|
|
1796
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1761
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-spy-on.md
|
|
1797
1762
|
*/
|
|
1798
1763
|
'jest/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
1799
1764
|
/**
|
|
1800
1765
|
* Suggest using `toStrictEqual()`
|
|
1801
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1766
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-strict-equal.md
|
|
1802
1767
|
*/
|
|
1803
1768
|
'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>
|
|
1804
1769
|
/**
|
|
1805
1770
|
* Suggest using `toBe()` for primitive literals
|
|
1806
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1771
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-to-be.md
|
|
1807
1772
|
*/
|
|
1808
1773
|
'jest/prefer-to-be'?: Linter.RuleEntry<[]>
|
|
1809
1774
|
/**
|
|
1810
1775
|
* Suggest using `toContain()`
|
|
1811
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1776
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-to-contain.md
|
|
1812
1777
|
*/
|
|
1813
1778
|
'jest/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
1814
1779
|
/**
|
|
1815
1780
|
* Suggest using `toHaveLength()`
|
|
1816
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1781
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-to-have-length.md
|
|
1817
1782
|
*/
|
|
1818
1783
|
'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>
|
|
1819
1784
|
/**
|
|
1820
1785
|
* Suggest using `test.todo`
|
|
1821
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1786
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/prefer-todo.md
|
|
1822
1787
|
*/
|
|
1823
1788
|
'jest/prefer-todo'?: Linter.RuleEntry<[]>
|
|
1824
1789
|
/**
|
|
1825
1790
|
* Require setup and teardown code to be within a hook
|
|
1826
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1791
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/require-hook.md
|
|
1827
1792
|
*/
|
|
1828
1793
|
'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>
|
|
1829
1794
|
/**
|
|
1830
1795
|
* Require a message for `toThrow()`
|
|
1831
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1796
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/require-to-throw-message.md
|
|
1832
1797
|
*/
|
|
1833
1798
|
'jest/require-to-throw-message'?: Linter.RuleEntry<[]>
|
|
1834
1799
|
/**
|
|
1835
1800
|
* Require test cases and hooks to be inside a `describe` block
|
|
1836
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1801
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/require-top-level-describe.md
|
|
1837
1802
|
*/
|
|
1838
1803
|
'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>
|
|
1839
1804
|
/**
|
|
1840
1805
|
* Enforce unbound methods are called with their expected scope
|
|
1841
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1806
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/unbound-method.md
|
|
1842
1807
|
*/
|
|
1843
1808
|
'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>
|
|
1844
1809
|
/**
|
|
1845
1810
|
* Enforce valid `describe()` callback
|
|
1846
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1811
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/valid-describe-callback.md
|
|
1847
1812
|
*/
|
|
1848
1813
|
'jest/valid-describe-callback'?: Linter.RuleEntry<[]>
|
|
1849
1814
|
/**
|
|
1850
1815
|
* Enforce valid `expect()` usage
|
|
1851
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1816
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/valid-expect.md
|
|
1852
1817
|
*/
|
|
1853
1818
|
'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>
|
|
1854
1819
|
/**
|
|
1855
1820
|
* Require promises that have expectations in their chain to be valid
|
|
1856
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1821
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/valid-expect-in-promise.md
|
|
1857
1822
|
*/
|
|
1858
1823
|
'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
1859
1824
|
/**
|
|
1860
1825
|
* Enforce valid titles
|
|
1861
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.
|
|
1826
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.8.3/docs/rules/valid-title.md
|
|
1862
1827
|
*/
|
|
1863
1828
|
'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>
|
|
1864
1829
|
/**
|
|
1865
|
-
* Enforce emojis are wrapped in `<span>` and provide
|
|
1830
|
+
* Enforce emojis are wrapped in `<span>` and provide screen reader access.
|
|
1866
1831
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
|
|
1867
1832
|
* @deprecated
|
|
1868
1833
|
*/
|
|
@@ -1979,7 +1944,7 @@ interface RuleOptions {
|
|
|
1979
1944
|
*/
|
|
1980
1945
|
'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11yMouseEventsHaveKeyEvents>
|
|
1981
1946
|
/**
|
|
1982
|
-
* Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a
|
|
1947
|
+
* Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screen reader.
|
|
1983
1948
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-access-key.md
|
|
1984
1949
|
*/
|
|
1985
1950
|
'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11yNoAccessKey>
|
|
@@ -3215,6 +3180,11 @@ interface RuleOptions {
|
|
|
3215
3180
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-prop-types.md
|
|
3216
3181
|
*/
|
|
3217
3182
|
'react/forbid-prop-types'?: Linter.RuleEntry<ReactForbidPropTypes>
|
|
3183
|
+
/**
|
|
3184
|
+
* Require all forwardRef components include a ref parameter
|
|
3185
|
+
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forward-ref-uses-ref.md
|
|
3186
|
+
*/
|
|
3187
|
+
'react/forward-ref-uses-ref'?: Linter.RuleEntry<[]>
|
|
3218
3188
|
/**
|
|
3219
3189
|
* Enforce a specific function type for function components
|
|
3220
3190
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/function-component-definition.md
|
|
@@ -3249,7 +3219,7 @@ interface RuleOptions {
|
|
|
3249
3219
|
* Enforce closing tag location for multiline JSX
|
|
3250
3220
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-closing-tag-location.md
|
|
3251
3221
|
*/
|
|
3252
|
-
'react/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
3222
|
+
'react/jsx-closing-tag-location'?: Linter.RuleEntry<ReactJsxClosingTagLocation>
|
|
3253
3223
|
/**
|
|
3254
3224
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3255
3225
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-curly-brace-presence.md
|
|
@@ -3334,7 +3304,7 @@ interface RuleOptions {
|
|
|
3334
3304
|
* Disallows JSX context provider values from taking values that will cause needless rerenders
|
|
3335
3305
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-constructed-context-values.md
|
|
3336
3306
|
*/
|
|
3337
|
-
'react/jsx-no-constructed-context-values'?: Linter.RuleEntry<
|
|
3307
|
+
'react/jsx-no-constructed-context-values'?: Linter.RuleEntry<[]>
|
|
3338
3308
|
/**
|
|
3339
3309
|
* Disallow duplicate properties in JSX
|
|
3340
3310
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-duplicate-props.md
|
|
@@ -3385,6 +3355,11 @@ interface RuleOptions {
|
|
|
3385
3355
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-multi-spaces.md
|
|
3386
3356
|
*/
|
|
3387
3357
|
'react/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
|
|
3358
|
+
/**
|
|
3359
|
+
* Disallow JSX prop spreading the same identifier multiple times
|
|
3360
|
+
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spread-multi.md
|
|
3361
|
+
*/
|
|
3362
|
+
'react/jsx-props-no-spread-multi'?: Linter.RuleEntry<[]>
|
|
3388
3363
|
/**
|
|
3389
3364
|
* Disallow JSX prop spreading
|
|
3390
3365
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spreading.md
|
|
@@ -3456,7 +3431,7 @@ interface RuleOptions {
|
|
|
3456
3431
|
* Disallow usage of dangerous JSX properties
|
|
3457
3432
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger.md
|
|
3458
3433
|
*/
|
|
3459
|
-
'react/no-danger'?: Linter.RuleEntry<
|
|
3434
|
+
'react/no-danger'?: Linter.RuleEntry<ReactNoDanger>
|
|
3460
3435
|
/**
|
|
3461
3436
|
* Disallow when a DOM element is using both children and dangerouslySetInnerHTML
|
|
3462
3437
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger-with-children.md
|
|
@@ -3718,10 +3693,12 @@ interface RuleOptions {
|
|
|
3718
3693
|
*/
|
|
3719
3694
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3720
3695
|
/**
|
|
3696
|
+
* Automatically sort exports.
|
|
3721
3697
|
* @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
|
|
3722
3698
|
*/
|
|
3723
3699
|
'simple-import-sort/exports'?: Linter.RuleEntry<[]>
|
|
3724
3700
|
/**
|
|
3701
|
+
* Automatically sort imports.
|
|
3725
3702
|
* @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
|
|
3726
3703
|
*/
|
|
3727
3704
|
'simple-import-sort/imports'?: Linter.RuleEntry<SimpleImportSortImports>
|
|
@@ -4000,6 +3977,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
4000
3977
|
}]
|
|
4001
3978
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
4002
3979
|
type TypescriptEslintBanTsComment = []|[{
|
|
3980
|
+
|
|
3981
|
+
minimumDescriptionLength?: number
|
|
3982
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
3983
|
+
descriptionFormat?: string
|
|
3984
|
+
})
|
|
4003
3985
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
4004
3986
|
descriptionFormat?: string
|
|
4005
3987
|
})
|
|
@@ -4009,61 +3991,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
4009
3991
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
4010
3992
|
descriptionFormat?: string
|
|
4011
3993
|
})
|
|
4012
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
4013
|
-
descriptionFormat?: string
|
|
4014
|
-
})
|
|
4015
|
-
minimumDescriptionLength?: number
|
|
4016
|
-
}]
|
|
4017
|
-
// ----- @typescript-eslint/ban-types -----
|
|
4018
|
-
type TypescriptEslintBanTypes = []|[{
|
|
4019
|
-
types?: {
|
|
4020
|
-
[k: string]: (null | false | true | string | {
|
|
4021
|
-
|
|
4022
|
-
message?: string
|
|
4023
|
-
|
|
4024
|
-
fixWith?: string
|
|
4025
|
-
|
|
4026
|
-
suggest?: string[]
|
|
4027
|
-
}) | undefined
|
|
4028
|
-
}
|
|
4029
|
-
extendDefaults?: boolean
|
|
4030
|
-
}]
|
|
4031
|
-
// ----- @typescript-eslint/block-spacing -----
|
|
4032
|
-
type TypescriptEslintBlockSpacing = []|[("always" | "never")]
|
|
4033
|
-
// ----- @typescript-eslint/brace-style -----
|
|
4034
|
-
type TypescriptEslintBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
|
|
4035
|
-
allowSingleLine?: boolean
|
|
4036
3994
|
}]
|
|
4037
3995
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
4038
3996
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
4039
3997
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
4040
3998
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
4041
3999
|
|
|
4042
|
-
exceptMethods?: string[]
|
|
4043
|
-
|
|
4044
4000
|
enforceForClassFields?: boolean
|
|
4045
4001
|
|
|
4046
|
-
|
|
4002
|
+
exceptMethods?: string[]
|
|
4047
4003
|
|
|
4048
4004
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
type TypescriptEslintCommaDangle = []|[(_TypescriptEslintCommaDangleValue | {
|
|
4052
|
-
arrays?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4053
|
-
objects?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4054
|
-
imports?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4055
|
-
exports?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4056
|
-
functions?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4057
|
-
enums?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4058
|
-
generics?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4059
|
-
tuples?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4060
|
-
})]
|
|
4061
|
-
type _TypescriptEslintCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
4062
|
-
type _TypescriptEslintCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
4063
|
-
// ----- @typescript-eslint/comma-spacing -----
|
|
4064
|
-
type TypescriptEslintCommaSpacing = []|[{
|
|
4065
|
-
before?: boolean
|
|
4066
|
-
after?: boolean
|
|
4005
|
+
|
|
4006
|
+
ignoreOverrideMethods?: boolean
|
|
4067
4007
|
}]
|
|
4068
4008
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
4069
4009
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -4075,61 +4015,76 @@ type TypescriptEslintConsistentReturn = []|[{
|
|
|
4075
4015
|
}]
|
|
4076
4016
|
// ----- @typescript-eslint/consistent-type-assertions -----
|
|
4077
4017
|
type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
4018
|
+
|
|
4078
4019
|
assertionStyle: "never"
|
|
4079
4020
|
} | {
|
|
4021
|
+
|
|
4080
4022
|
assertionStyle: ("as" | "angle-bracket")
|
|
4023
|
+
|
|
4081
4024
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
4082
4025
|
})]
|
|
4083
4026
|
// ----- @typescript-eslint/consistent-type-definitions -----
|
|
4084
4027
|
type TypescriptEslintConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
4085
4028
|
// ----- @typescript-eslint/consistent-type-exports -----
|
|
4086
4029
|
type TypescriptEslintConsistentTypeExports = []|[{
|
|
4030
|
+
|
|
4087
4031
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
4088
4032
|
}]
|
|
4089
4033
|
// ----- @typescript-eslint/consistent-type-imports -----
|
|
4090
4034
|
type TypescriptEslintConsistentTypeImports = []|[{
|
|
4035
|
+
|
|
4091
4036
|
disallowTypeAnnotations?: boolean
|
|
4037
|
+
|
|
4092
4038
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
4039
|
+
|
|
4093
4040
|
prefer?: ("type-imports" | "no-type-imports")
|
|
4094
4041
|
}]
|
|
4095
4042
|
// ----- @typescript-eslint/dot-notation -----
|
|
4096
4043
|
type TypescriptEslintDotNotation = []|[{
|
|
4044
|
+
|
|
4045
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
4046
|
+
|
|
4097
4047
|
allowKeywords?: boolean
|
|
4048
|
+
|
|
4098
4049
|
allowPattern?: string
|
|
4050
|
+
|
|
4099
4051
|
allowPrivateClassPropertyAccess?: boolean
|
|
4052
|
+
|
|
4100
4053
|
allowProtectedClassPropertyAccess?: boolean
|
|
4101
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
4102
4054
|
}]
|
|
4103
4055
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
4104
4056
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
4105
4057
|
|
|
4106
4058
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
4107
4059
|
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
allowHigherOrderFunctions?: boolean
|
|
4060
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
4111
4061
|
|
|
4112
|
-
|
|
4062
|
+
allowedNames?: string[]
|
|
4113
4063
|
|
|
4114
|
-
|
|
4064
|
+
allowExpressions?: boolean
|
|
4115
4065
|
|
|
4116
4066
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
4117
4067
|
|
|
4118
|
-
|
|
4068
|
+
allowHigherOrderFunctions?: boolean
|
|
4119
4069
|
|
|
4120
4070
|
allowIIFEs?: boolean
|
|
4071
|
+
|
|
4072
|
+
allowTypedFunctionExpressions?: boolean
|
|
4121
4073
|
}]
|
|
4122
4074
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
4123
4075
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
4076
|
+
|
|
4124
4077
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
4078
|
+
|
|
4079
|
+
ignoredMethodNames?: string[]
|
|
4080
|
+
|
|
4125
4081
|
overrides?: {
|
|
4126
4082
|
accessors?: ("explicit" | "no-public" | "off")
|
|
4127
4083
|
constructors?: ("explicit" | "no-public" | "off")
|
|
4128
4084
|
methods?: ("explicit" | "no-public" | "off")
|
|
4129
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
4130
4085
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
4086
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
4131
4087
|
}
|
|
4132
|
-
ignoredMethodNames?: string[]
|
|
4133
4088
|
}]
|
|
4134
4089
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
4135
4090
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -4144,485 +4099,45 @@ type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
|
4144
4099
|
|
|
4145
4100
|
allowTypedFunctionExpressions?: boolean
|
|
4146
4101
|
}]
|
|
4147
|
-
// ----- @typescript-eslint/func-call-spacing -----
|
|
4148
|
-
type TypescriptEslintFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
4149
|
-
allowNewlines?: boolean
|
|
4150
|
-
}])
|
|
4151
|
-
// ----- @typescript-eslint/indent -----
|
|
4152
|
-
type TypescriptEslintIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
4153
|
-
SwitchCase?: number
|
|
4154
|
-
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
4155
|
-
var?: (number | ("first" | "off"))
|
|
4156
|
-
let?: (number | ("first" | "off"))
|
|
4157
|
-
const?: (number | ("first" | "off"))
|
|
4158
|
-
})
|
|
4159
|
-
outerIIFEBody?: (number | "off")
|
|
4160
|
-
MemberExpression?: (number | "off")
|
|
4161
|
-
FunctionDeclaration?: {
|
|
4162
|
-
parameters?: (number | ("first" | "off"))
|
|
4163
|
-
body?: number
|
|
4164
|
-
}
|
|
4165
|
-
FunctionExpression?: {
|
|
4166
|
-
parameters?: (number | ("first" | "off"))
|
|
4167
|
-
body?: number
|
|
4168
|
-
}
|
|
4169
|
-
StaticBlock?: {
|
|
4170
|
-
body?: number
|
|
4171
|
-
}
|
|
4172
|
-
CallExpression?: {
|
|
4173
|
-
arguments?: (number | ("first" | "off"))
|
|
4174
|
-
}
|
|
4175
|
-
ArrayExpression?: (number | ("first" | "off"))
|
|
4176
|
-
ObjectExpression?: (number | ("first" | "off"))
|
|
4177
|
-
ImportDeclaration?: (number | ("first" | "off"))
|
|
4178
|
-
flatTernaryExpressions?: boolean
|
|
4179
|
-
offsetTernaryExpressions?: boolean
|
|
4180
|
-
ignoredNodes?: string[]
|
|
4181
|
-
ignoreComments?: boolean
|
|
4182
|
-
}]
|
|
4183
4102
|
// ----- @typescript-eslint/init-declarations -----
|
|
4184
4103
|
type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
4185
4104
|
ignoreForLoopInit?: boolean
|
|
4186
4105
|
}])
|
|
4187
|
-
// ----- @typescript-eslint/
|
|
4188
|
-
type
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4106
|
+
// ----- @typescript-eslint/max-params -----
|
|
4107
|
+
type TypescriptEslintMaxParams = []|[{
|
|
4108
|
+
|
|
4109
|
+
countVoidThis?: boolean
|
|
4110
|
+
|
|
4111
|
+
max?: number
|
|
4112
|
+
|
|
4113
|
+
maximum?: number
|
|
4114
|
+
}]
|
|
4115
|
+
// ----- @typescript-eslint/member-ordering -----
|
|
4116
|
+
type TypescriptEslintMemberOrdering = []|[{
|
|
4117
|
+
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
4118
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
4119
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
4120
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4194
4121
|
})
|
|
4195
|
-
|
|
4196
|
-
beforeColon?: boolean
|
|
4197
|
-
afterColon?: boolean
|
|
4198
|
-
} | {
|
|
4199
|
-
singleLine?: {
|
|
4200
|
-
mode?: ("strict" | "minimum")
|
|
4201
|
-
beforeColon?: boolean
|
|
4202
|
-
afterColon?: boolean
|
|
4203
|
-
}
|
|
4204
|
-
multiLine?: {
|
|
4205
|
-
align?: (("colon" | "value") | {
|
|
4206
|
-
mode?: ("strict" | "minimum")
|
|
4207
|
-
on?: ("colon" | "value")
|
|
4208
|
-
beforeColon?: boolean
|
|
4209
|
-
afterColon?: boolean
|
|
4210
|
-
})
|
|
4211
|
-
mode?: ("strict" | "minimum")
|
|
4212
|
-
beforeColon?: boolean
|
|
4213
|
-
afterColon?: boolean
|
|
4214
|
-
}
|
|
4215
|
-
} | {
|
|
4216
|
-
singleLine?: {
|
|
4217
|
-
mode?: ("strict" | "minimum")
|
|
4218
|
-
beforeColon?: boolean
|
|
4219
|
-
afterColon?: boolean
|
|
4220
|
-
}
|
|
4221
|
-
multiLine?: {
|
|
4222
|
-
mode?: ("strict" | "minimum")
|
|
4223
|
-
beforeColon?: boolean
|
|
4224
|
-
afterColon?: boolean
|
|
4225
|
-
}
|
|
4226
|
-
align?: {
|
|
4227
|
-
mode?: ("strict" | "minimum")
|
|
4228
|
-
on?: ("colon" | "value")
|
|
4229
|
-
beforeColon?: boolean
|
|
4230
|
-
afterColon?: boolean
|
|
4231
|
-
}
|
|
4232
|
-
})]
|
|
4233
|
-
// ----- @typescript-eslint/keyword-spacing -----
|
|
4234
|
-
type TypescriptEslintKeywordSpacing = []|[{
|
|
4235
|
-
before?: boolean
|
|
4236
|
-
after?: boolean
|
|
4237
|
-
overrides?: {
|
|
4238
|
-
abstract?: {
|
|
4239
|
-
before?: boolean
|
|
4240
|
-
after?: boolean
|
|
4241
|
-
}
|
|
4242
|
-
as?: {
|
|
4243
|
-
before?: boolean
|
|
4244
|
-
after?: boolean
|
|
4245
|
-
}
|
|
4246
|
-
async?: {
|
|
4247
|
-
before?: boolean
|
|
4248
|
-
after?: boolean
|
|
4249
|
-
}
|
|
4250
|
-
await?: {
|
|
4251
|
-
before?: boolean
|
|
4252
|
-
after?: boolean
|
|
4253
|
-
}
|
|
4254
|
-
boolean?: {
|
|
4255
|
-
before?: boolean
|
|
4256
|
-
after?: boolean
|
|
4257
|
-
}
|
|
4258
|
-
break?: {
|
|
4259
|
-
before?: boolean
|
|
4260
|
-
after?: boolean
|
|
4261
|
-
}
|
|
4262
|
-
byte?: {
|
|
4263
|
-
before?: boolean
|
|
4264
|
-
after?: boolean
|
|
4265
|
-
}
|
|
4266
|
-
case?: {
|
|
4267
|
-
before?: boolean
|
|
4268
|
-
after?: boolean
|
|
4269
|
-
}
|
|
4270
|
-
catch?: {
|
|
4271
|
-
before?: boolean
|
|
4272
|
-
after?: boolean
|
|
4273
|
-
}
|
|
4274
|
-
char?: {
|
|
4275
|
-
before?: boolean
|
|
4276
|
-
after?: boolean
|
|
4277
|
-
}
|
|
4278
|
-
class?: {
|
|
4279
|
-
before?: boolean
|
|
4280
|
-
after?: boolean
|
|
4281
|
-
}
|
|
4282
|
-
const?: {
|
|
4283
|
-
before?: boolean
|
|
4284
|
-
after?: boolean
|
|
4285
|
-
}
|
|
4286
|
-
continue?: {
|
|
4287
|
-
before?: boolean
|
|
4288
|
-
after?: boolean
|
|
4289
|
-
}
|
|
4290
|
-
debugger?: {
|
|
4291
|
-
before?: boolean
|
|
4292
|
-
after?: boolean
|
|
4293
|
-
}
|
|
4294
|
-
default?: {
|
|
4295
|
-
before?: boolean
|
|
4296
|
-
after?: boolean
|
|
4297
|
-
}
|
|
4298
|
-
delete?: {
|
|
4299
|
-
before?: boolean
|
|
4300
|
-
after?: boolean
|
|
4301
|
-
}
|
|
4302
|
-
do?: {
|
|
4303
|
-
before?: boolean
|
|
4304
|
-
after?: boolean
|
|
4305
|
-
}
|
|
4306
|
-
double?: {
|
|
4307
|
-
before?: boolean
|
|
4308
|
-
after?: boolean
|
|
4309
|
-
}
|
|
4310
|
-
else?: {
|
|
4311
|
-
before?: boolean
|
|
4312
|
-
after?: boolean
|
|
4313
|
-
}
|
|
4314
|
-
enum?: {
|
|
4315
|
-
before?: boolean
|
|
4316
|
-
after?: boolean
|
|
4317
|
-
}
|
|
4318
|
-
export?: {
|
|
4319
|
-
before?: boolean
|
|
4320
|
-
after?: boolean
|
|
4321
|
-
}
|
|
4322
|
-
extends?: {
|
|
4323
|
-
before?: boolean
|
|
4324
|
-
after?: boolean
|
|
4325
|
-
}
|
|
4326
|
-
false?: {
|
|
4327
|
-
before?: boolean
|
|
4328
|
-
after?: boolean
|
|
4329
|
-
}
|
|
4330
|
-
final?: {
|
|
4331
|
-
before?: boolean
|
|
4332
|
-
after?: boolean
|
|
4333
|
-
}
|
|
4334
|
-
finally?: {
|
|
4335
|
-
before?: boolean
|
|
4336
|
-
after?: boolean
|
|
4337
|
-
}
|
|
4338
|
-
float?: {
|
|
4339
|
-
before?: boolean
|
|
4340
|
-
after?: boolean
|
|
4341
|
-
}
|
|
4342
|
-
for?: {
|
|
4343
|
-
before?: boolean
|
|
4344
|
-
after?: boolean
|
|
4345
|
-
}
|
|
4346
|
-
from?: {
|
|
4347
|
-
before?: boolean
|
|
4348
|
-
after?: boolean
|
|
4349
|
-
}
|
|
4350
|
-
function?: {
|
|
4351
|
-
before?: boolean
|
|
4352
|
-
after?: boolean
|
|
4353
|
-
}
|
|
4354
|
-
get?: {
|
|
4355
|
-
before?: boolean
|
|
4356
|
-
after?: boolean
|
|
4357
|
-
}
|
|
4358
|
-
goto?: {
|
|
4359
|
-
before?: boolean
|
|
4360
|
-
after?: boolean
|
|
4361
|
-
}
|
|
4362
|
-
if?: {
|
|
4363
|
-
before?: boolean
|
|
4364
|
-
after?: boolean
|
|
4365
|
-
}
|
|
4366
|
-
implements?: {
|
|
4367
|
-
before?: boolean
|
|
4368
|
-
after?: boolean
|
|
4369
|
-
}
|
|
4370
|
-
import?: {
|
|
4371
|
-
before?: boolean
|
|
4372
|
-
after?: boolean
|
|
4373
|
-
}
|
|
4374
|
-
in?: {
|
|
4375
|
-
before?: boolean
|
|
4376
|
-
after?: boolean
|
|
4377
|
-
}
|
|
4378
|
-
instanceof?: {
|
|
4379
|
-
before?: boolean
|
|
4380
|
-
after?: boolean
|
|
4381
|
-
}
|
|
4382
|
-
int?: {
|
|
4383
|
-
before?: boolean
|
|
4384
|
-
after?: boolean
|
|
4385
|
-
}
|
|
4386
|
-
interface?: {
|
|
4387
|
-
before?: boolean
|
|
4388
|
-
after?: boolean
|
|
4389
|
-
}
|
|
4390
|
-
let?: {
|
|
4391
|
-
before?: boolean
|
|
4392
|
-
after?: boolean
|
|
4393
|
-
}
|
|
4394
|
-
long?: {
|
|
4395
|
-
before?: boolean
|
|
4396
|
-
after?: boolean
|
|
4397
|
-
}
|
|
4398
|
-
native?: {
|
|
4399
|
-
before?: boolean
|
|
4400
|
-
after?: boolean
|
|
4401
|
-
}
|
|
4402
|
-
new?: {
|
|
4403
|
-
before?: boolean
|
|
4404
|
-
after?: boolean
|
|
4405
|
-
}
|
|
4406
|
-
null?: {
|
|
4407
|
-
before?: boolean
|
|
4408
|
-
after?: boolean
|
|
4409
|
-
}
|
|
4410
|
-
of?: {
|
|
4411
|
-
before?: boolean
|
|
4412
|
-
after?: boolean
|
|
4413
|
-
}
|
|
4414
|
-
package?: {
|
|
4415
|
-
before?: boolean
|
|
4416
|
-
after?: boolean
|
|
4417
|
-
}
|
|
4418
|
-
private?: {
|
|
4419
|
-
before?: boolean
|
|
4420
|
-
after?: boolean
|
|
4421
|
-
}
|
|
4422
|
-
protected?: {
|
|
4423
|
-
before?: boolean
|
|
4424
|
-
after?: boolean
|
|
4425
|
-
}
|
|
4426
|
-
public?: {
|
|
4427
|
-
before?: boolean
|
|
4428
|
-
after?: boolean
|
|
4429
|
-
}
|
|
4430
|
-
return?: {
|
|
4431
|
-
before?: boolean
|
|
4432
|
-
after?: boolean
|
|
4433
|
-
}
|
|
4434
|
-
set?: {
|
|
4435
|
-
before?: boolean
|
|
4436
|
-
after?: boolean
|
|
4437
|
-
}
|
|
4438
|
-
short?: {
|
|
4439
|
-
before?: boolean
|
|
4440
|
-
after?: boolean
|
|
4441
|
-
}
|
|
4442
|
-
static?: {
|
|
4443
|
-
before?: boolean
|
|
4444
|
-
after?: boolean
|
|
4445
|
-
}
|
|
4446
|
-
super?: {
|
|
4447
|
-
before?: boolean
|
|
4448
|
-
after?: boolean
|
|
4449
|
-
}
|
|
4450
|
-
switch?: {
|
|
4451
|
-
before?: boolean
|
|
4452
|
-
after?: boolean
|
|
4453
|
-
}
|
|
4454
|
-
synchronized?: {
|
|
4455
|
-
before?: boolean
|
|
4456
|
-
after?: boolean
|
|
4457
|
-
}
|
|
4458
|
-
this?: {
|
|
4459
|
-
before?: boolean
|
|
4460
|
-
after?: boolean
|
|
4461
|
-
}
|
|
4462
|
-
throw?: {
|
|
4463
|
-
before?: boolean
|
|
4464
|
-
after?: boolean
|
|
4465
|
-
}
|
|
4466
|
-
throws?: {
|
|
4467
|
-
before?: boolean
|
|
4468
|
-
after?: boolean
|
|
4469
|
-
}
|
|
4470
|
-
transient?: {
|
|
4471
|
-
before?: boolean
|
|
4472
|
-
after?: boolean
|
|
4473
|
-
}
|
|
4474
|
-
true?: {
|
|
4475
|
-
before?: boolean
|
|
4476
|
-
after?: boolean
|
|
4477
|
-
}
|
|
4478
|
-
try?: {
|
|
4479
|
-
before?: boolean
|
|
4480
|
-
after?: boolean
|
|
4481
|
-
}
|
|
4482
|
-
typeof?: {
|
|
4483
|
-
before?: boolean
|
|
4484
|
-
after?: boolean
|
|
4485
|
-
}
|
|
4486
|
-
var?: {
|
|
4487
|
-
before?: boolean
|
|
4488
|
-
after?: boolean
|
|
4489
|
-
}
|
|
4490
|
-
void?: {
|
|
4491
|
-
before?: boolean
|
|
4492
|
-
after?: boolean
|
|
4493
|
-
}
|
|
4494
|
-
volatile?: {
|
|
4495
|
-
before?: boolean
|
|
4496
|
-
after?: boolean
|
|
4497
|
-
}
|
|
4498
|
-
while?: {
|
|
4499
|
-
before?: boolean
|
|
4500
|
-
after?: boolean
|
|
4501
|
-
}
|
|
4502
|
-
with?: {
|
|
4503
|
-
before?: boolean
|
|
4504
|
-
after?: boolean
|
|
4505
|
-
}
|
|
4506
|
-
yield?: {
|
|
4507
|
-
before?: boolean
|
|
4508
|
-
after?: boolean
|
|
4509
|
-
}
|
|
4510
|
-
type?: {
|
|
4511
|
-
before?: boolean
|
|
4512
|
-
after?: boolean
|
|
4513
|
-
}
|
|
4514
|
-
}
|
|
4515
|
-
}]
|
|
4516
|
-
// ----- @typescript-eslint/lines-around-comment -----
|
|
4517
|
-
type TypescriptEslintLinesAroundComment = []|[{
|
|
4518
|
-
beforeBlockComment?: boolean
|
|
4519
|
-
afterBlockComment?: boolean
|
|
4520
|
-
beforeLineComment?: boolean
|
|
4521
|
-
afterLineComment?: boolean
|
|
4522
|
-
allowBlockStart?: boolean
|
|
4523
|
-
allowBlockEnd?: boolean
|
|
4524
|
-
allowClassStart?: boolean
|
|
4525
|
-
allowClassEnd?: boolean
|
|
4526
|
-
allowObjectStart?: boolean
|
|
4527
|
-
allowObjectEnd?: boolean
|
|
4528
|
-
allowArrayStart?: boolean
|
|
4529
|
-
allowArrayEnd?: boolean
|
|
4530
|
-
allowInterfaceStart?: boolean
|
|
4531
|
-
allowInterfaceEnd?: boolean
|
|
4532
|
-
allowTypeStart?: boolean
|
|
4533
|
-
allowTypeEnd?: boolean
|
|
4534
|
-
allowEnumStart?: boolean
|
|
4535
|
-
allowEnumEnd?: boolean
|
|
4536
|
-
allowModuleStart?: boolean
|
|
4537
|
-
allowModuleEnd?: boolean
|
|
4538
|
-
ignorePattern?: string
|
|
4539
|
-
applyDefaultIgnorePatterns?: boolean
|
|
4540
|
-
}]
|
|
4541
|
-
// ----- @typescript-eslint/lines-between-class-members -----
|
|
4542
|
-
type TypescriptEslintLinesBetweenClassMembers = []|[({
|
|
4543
|
-
|
|
4544
|
-
enforce: [{
|
|
4545
|
-
blankLine: ("always" | "never")
|
|
4546
|
-
prev: ("method" | "field" | "*")
|
|
4547
|
-
next: ("method" | "field" | "*")
|
|
4548
|
-
}, ...({
|
|
4549
|
-
blankLine: ("always" | "never")
|
|
4550
|
-
prev: ("method" | "field" | "*")
|
|
4551
|
-
next: ("method" | "field" | "*")
|
|
4552
|
-
})[]]
|
|
4553
|
-
} | ("always" | "never"))]|[({
|
|
4554
|
-
|
|
4555
|
-
enforce: [{
|
|
4556
|
-
blankLine: ("always" | "never")
|
|
4557
|
-
prev: ("method" | "field" | "*")
|
|
4558
|
-
next: ("method" | "field" | "*")
|
|
4559
|
-
}, ...({
|
|
4560
|
-
blankLine: ("always" | "never")
|
|
4561
|
-
prev: ("method" | "field" | "*")
|
|
4562
|
-
next: ("method" | "field" | "*")
|
|
4563
|
-
})[]]
|
|
4564
|
-
} | ("always" | "never")), {
|
|
4565
|
-
exceptAfterSingleLine?: boolean
|
|
4566
|
-
exceptAfterOverload?: boolean
|
|
4567
|
-
}]
|
|
4568
|
-
// ----- @typescript-eslint/max-params -----
|
|
4569
|
-
type TypescriptEslintMaxParams = []|[{
|
|
4570
|
-
maximum?: number
|
|
4571
|
-
max?: number
|
|
4572
|
-
countVoidThis?: boolean
|
|
4573
|
-
}]
|
|
4574
|
-
// ----- @typescript-eslint/member-delimiter-style -----
|
|
4575
|
-
type TypescriptEslintMemberDelimiterStyle = []|[{
|
|
4576
|
-
multiline?: {
|
|
4577
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
4578
|
-
requireLast?: boolean
|
|
4579
|
-
}
|
|
4580
|
-
singleline?: {
|
|
4581
|
-
delimiter?: ("semi" | "comma")
|
|
4582
|
-
requireLast?: boolean
|
|
4583
|
-
}
|
|
4584
|
-
overrides?: {
|
|
4585
|
-
interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig
|
|
4586
|
-
typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig
|
|
4587
|
-
}
|
|
4588
|
-
multilineDetection?: ("brackets" | "last-member")
|
|
4589
|
-
}]
|
|
4590
|
-
interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
|
|
4591
|
-
multiline?: {
|
|
4592
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
4593
|
-
requireLast?: boolean
|
|
4594
|
-
}
|
|
4595
|
-
singleline?: {
|
|
4596
|
-
delimiter?: ("semi" | "comma")
|
|
4597
|
-
requireLast?: boolean
|
|
4598
|
-
}
|
|
4599
|
-
}
|
|
4600
|
-
// ----- @typescript-eslint/member-ordering -----
|
|
4601
|
-
type TypescriptEslintMemberOrdering = []|[{
|
|
4602
|
-
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
4122
|
+
classExpressions?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
4603
4123
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
4604
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4605
4124
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4606
|
-
})
|
|
4607
|
-
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
4608
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
4609
4125
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4610
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
4611
4126
|
})
|
|
4612
|
-
|
|
4127
|
+
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
4613
4128
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
4614
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4615
4129
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4130
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4616
4131
|
})
|
|
4617
4132
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4618
4133
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
4619
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4620
4134
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4135
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4621
4136
|
})
|
|
4622
4137
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4623
4138
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
4624
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4625
4139
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4140
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4626
4141
|
})
|
|
4627
4142
|
}]
|
|
4628
4143
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -4634,310 +4149,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
4634
4149
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
4635
4150
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
4636
4151
|
type TypescriptEslintNamingConvention = ({
|
|
4637
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4638
4152
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4153
|
+
failureMessage?: string
|
|
4154
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4639
4155
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4640
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4641
4156
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4642
4157
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4643
|
-
|
|
4158
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4644
4159
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4645
|
-
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
4646
4160
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
4161
|
+
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
4647
4162
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4648
4163
|
} | {
|
|
4649
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4650
4164
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4165
|
+
failureMessage?: string
|
|
4166
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4651
4167
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4652
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4653
4168
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4654
4169
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4655
|
-
|
|
4170
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4656
4171
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4657
4172
|
selector: "default"
|
|
4658
4173
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
4659
4174
|
} | {
|
|
4660
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4661
4175
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4176
|
+
failureMessage?: string
|
|
4177
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4662
4178
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4663
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4664
4179
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4665
4180
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4666
|
-
|
|
4181
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4667
4182
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4668
4183
|
selector: "variableLike"
|
|
4669
4184
|
modifiers?: ("unused" | "async")[]
|
|
4670
4185
|
} | {
|
|
4671
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4672
4186
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4187
|
+
failureMessage?: string
|
|
4188
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4673
4189
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4674
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4675
4190
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4676
4191
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4677
|
-
|
|
4192
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4678
4193
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4679
4194
|
selector: "variable"
|
|
4680
4195
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
4681
4196
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4682
4197
|
} | {
|
|
4683
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4684
4198
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4199
|
+
failureMessage?: string
|
|
4200
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4685
4201
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4686
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4687
4202
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4688
4203
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4689
|
-
|
|
4204
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4690
4205
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4691
4206
|
selector: "function"
|
|
4692
4207
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
4693
4208
|
} | {
|
|
4694
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4695
4209
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4210
|
+
failureMessage?: string
|
|
4211
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4696
4212
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4697
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4698
4213
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4699
4214
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4700
|
-
|
|
4215
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4701
4216
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4702
4217
|
selector: "parameter"
|
|
4703
4218
|
modifiers?: ("destructured" | "unused")[]
|
|
4704
4219
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4705
4220
|
} | {
|
|
4706
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4707
4221
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4222
|
+
failureMessage?: string
|
|
4223
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4708
4224
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4709
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4710
4225
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4711
4226
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4712
|
-
|
|
4227
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4713
4228
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4714
4229
|
selector: "memberLike"
|
|
4715
4230
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4716
4231
|
} | {
|
|
4717
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4718
4232
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4233
|
+
failureMessage?: string
|
|
4234
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4719
4235
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4720
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4721
4236
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4722
4237
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4723
|
-
|
|
4238
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4724
4239
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4725
4240
|
selector: "classProperty"
|
|
4726
4241
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
4727
4242
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4728
4243
|
} | {
|
|
4729
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4730
4244
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4245
|
+
failureMessage?: string
|
|
4246
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4731
4247
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4732
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4733
4248
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4734
4249
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4735
|
-
|
|
4250
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4736
4251
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4737
4252
|
selector: "objectLiteralProperty"
|
|
4738
4253
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4739
4254
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4740
4255
|
} | {
|
|
4741
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4742
4256
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4257
|
+
failureMessage?: string
|
|
4258
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4743
4259
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4744
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4745
4260
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4746
4261
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4747
|
-
|
|
4262
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4748
4263
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4749
4264
|
selector: "typeProperty"
|
|
4750
4265
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
4751
4266
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4752
4267
|
} | {
|
|
4753
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4754
4268
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4269
|
+
failureMessage?: string
|
|
4270
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4755
4271
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4756
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4757
4272
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4758
4273
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4759
|
-
|
|
4274
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4760
4275
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4761
4276
|
selector: "parameterProperty"
|
|
4762
4277
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
4763
4278
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4764
4279
|
} | {
|
|
4765
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4766
4280
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4281
|
+
failureMessage?: string
|
|
4282
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4767
4283
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4768
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4769
4284
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4770
4285
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4771
|
-
|
|
4286
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4772
4287
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4773
4288
|
selector: "property"
|
|
4774
4289
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4775
4290
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4776
4291
|
} | {
|
|
4777
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4778
4292
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4293
|
+
failureMessage?: string
|
|
4294
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4779
4295
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4780
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4781
4296
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4782
4297
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4783
|
-
|
|
4298
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4784
4299
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4785
4300
|
selector: "classMethod"
|
|
4786
4301
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4787
4302
|
} | {
|
|
4788
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4789
4303
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4304
|
+
failureMessage?: string
|
|
4305
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4790
4306
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4791
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4792
4307
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4793
4308
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4794
|
-
|
|
4309
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4795
4310
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4796
4311
|
selector: "objectLiteralMethod"
|
|
4797
4312
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
4798
4313
|
} | {
|
|
4799
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4800
4314
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4315
|
+
failureMessage?: string
|
|
4316
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4801
4317
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4802
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4803
4318
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4804
4319
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4805
|
-
|
|
4320
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4806
4321
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4807
4322
|
selector: "typeMethod"
|
|
4808
4323
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4809
4324
|
} | {
|
|
4810
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4811
4325
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4326
|
+
failureMessage?: string
|
|
4327
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4812
4328
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4813
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4814
4329
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4815
4330
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4816
|
-
|
|
4331
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4817
4332
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4818
4333
|
selector: "method"
|
|
4819
4334
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4820
4335
|
} | {
|
|
4821
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4822
4336
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4337
|
+
failureMessage?: string
|
|
4338
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4823
4339
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4824
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4825
4340
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4826
4341
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4827
|
-
|
|
4342
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4828
4343
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4829
4344
|
selector: "classicAccessor"
|
|
4830
4345
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4831
4346
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4832
4347
|
} | {
|
|
4833
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4834
4348
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4349
|
+
failureMessage?: string
|
|
4350
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4835
4351
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4836
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4837
4352
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4838
4353
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4839
|
-
|
|
4354
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4840
4355
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4841
4356
|
selector: "autoAccessor"
|
|
4842
4357
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4843
4358
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4844
4359
|
} | {
|
|
4845
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4846
4360
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4361
|
+
failureMessage?: string
|
|
4362
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4847
4363
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4848
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4849
4364
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4850
4365
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4851
|
-
|
|
4366
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4852
4367
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4853
4368
|
selector: "accessor"
|
|
4854
4369
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4855
4370
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4856
4371
|
} | {
|
|
4857
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4858
4372
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4373
|
+
failureMessage?: string
|
|
4374
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4859
4375
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4860
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4861
4376
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4862
4377
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4863
|
-
|
|
4378
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4864
4379
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4865
4380
|
selector: "enumMember"
|
|
4866
4381
|
modifiers?: ("requiresQuotes")[]
|
|
4867
4382
|
} | {
|
|
4868
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4869
4383
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4384
|
+
failureMessage?: string
|
|
4385
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4870
4386
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4871
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4872
4387
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4873
4388
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4874
|
-
|
|
4389
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4875
4390
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4876
4391
|
selector: "typeLike"
|
|
4877
4392
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4878
4393
|
} | {
|
|
4879
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4880
4394
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4395
|
+
failureMessage?: string
|
|
4396
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4881
4397
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4882
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4883
4398
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4884
4399
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4885
|
-
|
|
4400
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4886
4401
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4887
4402
|
selector: "class"
|
|
4888
4403
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4889
4404
|
} | {
|
|
4890
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4891
4405
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4406
|
+
failureMessage?: string
|
|
4407
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4892
4408
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4893
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4894
4409
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4895
4410
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4896
|
-
|
|
4411
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4897
4412
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4898
4413
|
selector: "interface"
|
|
4899
4414
|
modifiers?: ("exported" | "unused")[]
|
|
4900
4415
|
} | {
|
|
4901
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4902
4416
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4417
|
+
failureMessage?: string
|
|
4418
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4903
4419
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4904
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4905
4420
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4906
4421
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4907
|
-
|
|
4422
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4908
4423
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4909
4424
|
selector: "typeAlias"
|
|
4910
4425
|
modifiers?: ("exported" | "unused")[]
|
|
4911
4426
|
} | {
|
|
4912
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4913
4427
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4428
|
+
failureMessage?: string
|
|
4429
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4914
4430
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4915
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4916
4431
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4917
4432
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4918
|
-
|
|
4433
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4919
4434
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4920
4435
|
selector: "enum"
|
|
4921
4436
|
modifiers?: ("exported" | "unused")[]
|
|
4922
4437
|
} | {
|
|
4923
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4924
4438
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4439
|
+
failureMessage?: string
|
|
4440
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4925
4441
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4926
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4927
4442
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4928
4443
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4929
|
-
|
|
4444
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4930
4445
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4931
4446
|
selector: "typeParameter"
|
|
4932
4447
|
modifiers?: ("unused")[]
|
|
4933
4448
|
} | {
|
|
4934
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4935
4449
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4450
|
+
failureMessage?: string
|
|
4451
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4936
4452
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4937
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4938
4453
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4939
4454
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4940
|
-
|
|
4455
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4941
4456
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4942
4457
|
selector: "import"
|
|
4943
4458
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -4948,26 +4463,42 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
4948
4463
|
}
|
|
4949
4464
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
4950
4465
|
type TypescriptEslintNoBaseToString = []|[{
|
|
4466
|
+
|
|
4951
4467
|
ignoredTypeNames?: string[]
|
|
4952
4468
|
}]
|
|
4953
4469
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
4954
4470
|
type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
4471
|
+
|
|
4955
4472
|
ignoreArrowShorthand?: boolean
|
|
4473
|
+
|
|
4956
4474
|
ignoreVoidOperator?: boolean
|
|
4957
4475
|
}]
|
|
4958
4476
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
4959
4477
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
4478
|
+
|
|
4960
4479
|
ignoreIntersections?: boolean
|
|
4480
|
+
|
|
4961
4481
|
ignoreUnions?: boolean
|
|
4962
4482
|
}]
|
|
4963
4483
|
// ----- @typescript-eslint/no-empty-function -----
|
|
4964
4484
|
type TypescriptEslintNoEmptyFunction = []|[{
|
|
4485
|
+
|
|
4965
4486
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
4966
4487
|
}]
|
|
4967
4488
|
// ----- @typescript-eslint/no-empty-interface -----
|
|
4968
4489
|
type TypescriptEslintNoEmptyInterface = []|[{
|
|
4490
|
+
|
|
4969
4491
|
allowSingleExtends?: boolean
|
|
4970
4492
|
}]
|
|
4493
|
+
// ----- @typescript-eslint/no-empty-object-type -----
|
|
4494
|
+
type TypescriptEslintNoEmptyObjectType = []|[{
|
|
4495
|
+
|
|
4496
|
+
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
4497
|
+
|
|
4498
|
+
allowObjectTypes?: ("always" | "never")
|
|
4499
|
+
|
|
4500
|
+
allowWithName?: string
|
|
4501
|
+
}]
|
|
4971
4502
|
// ----- @typescript-eslint/no-explicit-any -----
|
|
4972
4503
|
type TypescriptEslintNoExplicitAny = []|[{
|
|
4973
4504
|
|
|
@@ -4975,19 +4506,6 @@ type TypescriptEslintNoExplicitAny = []|[{
|
|
|
4975
4506
|
|
|
4976
4507
|
ignoreRestArgs?: boolean
|
|
4977
4508
|
}]
|
|
4978
|
-
// ----- @typescript-eslint/no-extra-parens -----
|
|
4979
|
-
type TypescriptEslintNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
4980
|
-
conditionalAssign?: boolean
|
|
4981
|
-
ternaryOperandBinaryExpressions?: boolean
|
|
4982
|
-
nestedBinaryExpressions?: boolean
|
|
4983
|
-
returnAssign?: boolean
|
|
4984
|
-
ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
|
|
4985
|
-
enforceForArrowConditionals?: boolean
|
|
4986
|
-
enforceForSequenceExpressions?: boolean
|
|
4987
|
-
enforceForNewInMemberExpressions?: boolean
|
|
4988
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
4989
|
-
allowParensAfterCommentPattern?: string
|
|
4990
|
-
}])
|
|
4991
4509
|
// ----- @typescript-eslint/no-extraneous-class -----
|
|
4992
4510
|
type TypescriptEslintNoExtraneousClass = []|[{
|
|
4993
4511
|
|
|
@@ -4995,20 +4513,50 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
4995
4513
|
|
|
4996
4514
|
allowEmpty?: boolean
|
|
4997
4515
|
|
|
4998
|
-
allowStaticOnly?: boolean
|
|
4516
|
+
allowStaticOnly?: boolean
|
|
4517
|
+
|
|
4518
|
+
allowWithDecorator?: boolean
|
|
4519
|
+
}]
|
|
4520
|
+
// ----- @typescript-eslint/no-floating-promises -----
|
|
4521
|
+
type TypescriptEslintNoFloatingPromises = []|[{
|
|
4522
|
+
|
|
4523
|
+
allowForKnownSafeCalls?: (string | {
|
|
4524
|
+
from: "file"
|
|
4525
|
+
name: (string | [string, ...(string)[]])
|
|
4526
|
+
path?: string
|
|
4527
|
+
} | {
|
|
4528
|
+
from: "lib"
|
|
4529
|
+
name: (string | [string, ...(string)[]])
|
|
4530
|
+
} | {
|
|
4531
|
+
from: "package"
|
|
4532
|
+
name: (string | [string, ...(string)[]])
|
|
4533
|
+
package: string
|
|
4534
|
+
})[]
|
|
4535
|
+
|
|
4536
|
+
allowForKnownSafePromises?: (string | {
|
|
4537
|
+
from: "file"
|
|
4538
|
+
name: (string | [string, ...(string)[]])
|
|
4539
|
+
path?: string
|
|
4540
|
+
} | {
|
|
4541
|
+
from: "lib"
|
|
4542
|
+
name: (string | [string, ...(string)[]])
|
|
4543
|
+
} | {
|
|
4544
|
+
from: "package"
|
|
4545
|
+
name: (string | [string, ...(string)[]])
|
|
4546
|
+
package: string
|
|
4547
|
+
})[]
|
|
4548
|
+
|
|
4549
|
+
checkThenables?: boolean
|
|
4999
4550
|
|
|
5000
|
-
|
|
5001
|
-
}]
|
|
5002
|
-
// ----- @typescript-eslint/no-floating-promises -----
|
|
5003
|
-
type TypescriptEslintNoFloatingPromises = []|[{
|
|
4551
|
+
ignoreIIFE?: boolean
|
|
5004
4552
|
|
|
5005
4553
|
ignoreVoid?: boolean
|
|
5006
|
-
|
|
5007
|
-
ignoreIIFE?: boolean
|
|
5008
4554
|
}]
|
|
5009
4555
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
5010
4556
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
4557
|
+
|
|
5011
4558
|
ignoreParameters?: boolean
|
|
4559
|
+
|
|
5012
4560
|
ignoreProperties?: boolean
|
|
5013
4561
|
}]
|
|
5014
4562
|
// ----- @typescript-eslint/no-invalid-this -----
|
|
@@ -5017,8 +4565,10 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
5017
4565
|
}]
|
|
5018
4566
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
5019
4567
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
5020
|
-
|
|
4568
|
+
|
|
5021
4569
|
allowAsThisParameter?: boolean
|
|
4570
|
+
|
|
4571
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
5022
4572
|
}]
|
|
5023
4573
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
5024
4574
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -5028,26 +4578,41 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
5028
4578
|
ignoreArrayIndexes?: boolean
|
|
5029
4579
|
ignoreDefaultValues?: boolean
|
|
5030
4580
|
ignoreClassFieldInitialValues?: boolean
|
|
5031
|
-
|
|
4581
|
+
|
|
5032
4582
|
ignoreEnums?: boolean
|
|
4583
|
+
|
|
4584
|
+
ignoreNumericLiteralTypes?: boolean
|
|
4585
|
+
|
|
5033
4586
|
ignoreReadonlyClassProperties?: boolean
|
|
4587
|
+
|
|
5034
4588
|
ignoreTypeIndexes?: boolean
|
|
5035
4589
|
}]
|
|
5036
4590
|
// ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
5037
4591
|
type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
4592
|
+
|
|
5038
4593
|
checkNever?: boolean
|
|
5039
4594
|
}]
|
|
5040
4595
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
5041
4596
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
4597
|
+
|
|
5042
4598
|
checksConditionals?: boolean
|
|
4599
|
+
|
|
4600
|
+
checksSpreads?: boolean
|
|
4601
|
+
|
|
5043
4602
|
checksVoidReturn?: (boolean | {
|
|
4603
|
+
|
|
5044
4604
|
arguments?: boolean
|
|
4605
|
+
|
|
5045
4606
|
attributes?: boolean
|
|
4607
|
+
|
|
4608
|
+
inheritedMethods?: boolean
|
|
4609
|
+
|
|
5046
4610
|
properties?: boolean
|
|
4611
|
+
|
|
5047
4612
|
returns?: boolean
|
|
4613
|
+
|
|
5048
4614
|
variables?: boolean
|
|
5049
4615
|
})
|
|
5050
|
-
checksSpreads?: boolean
|
|
5051
4616
|
}]
|
|
5052
4617
|
// ----- @typescript-eslint/no-namespace -----
|
|
5053
4618
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -5058,13 +4623,17 @@ type TypescriptEslintNoNamespace = []|[{
|
|
|
5058
4623
|
}]
|
|
5059
4624
|
// ----- @typescript-eslint/no-redeclare -----
|
|
5060
4625
|
type TypescriptEslintNoRedeclare = []|[{
|
|
4626
|
+
|
|
5061
4627
|
builtinGlobals?: boolean
|
|
4628
|
+
|
|
5062
4629
|
ignoreDeclarationMerge?: boolean
|
|
5063
4630
|
}]
|
|
5064
4631
|
// ----- @typescript-eslint/no-require-imports -----
|
|
5065
4632
|
type TypescriptEslintNoRequireImports = []|[{
|
|
5066
4633
|
|
|
5067
4634
|
allow?: string[]
|
|
4635
|
+
|
|
4636
|
+
allowAsImport?: boolean
|
|
5068
4637
|
}]
|
|
5069
4638
|
// ----- @typescript-eslint/no-restricted-imports -----
|
|
5070
4639
|
type TypescriptEslintNoRestrictedImports = ((string | {
|
|
@@ -5093,14 +4662,34 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
5093
4662
|
allowTypeImports?: boolean
|
|
5094
4663
|
}[])
|
|
5095
4664
|
}])
|
|
4665
|
+
// ----- @typescript-eslint/no-restricted-types -----
|
|
4666
|
+
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
4667
|
+
|
|
4668
|
+
types?: {
|
|
4669
|
+
[k: string]: (true | string | {
|
|
4670
|
+
|
|
4671
|
+
fixWith?: string
|
|
4672
|
+
|
|
4673
|
+
message?: string
|
|
4674
|
+
|
|
4675
|
+
suggest?: string[]
|
|
4676
|
+
}) | undefined
|
|
4677
|
+
}
|
|
4678
|
+
}]
|
|
5096
4679
|
// ----- @typescript-eslint/no-shadow -----
|
|
5097
4680
|
type TypescriptEslintNoShadow = []|[{
|
|
4681
|
+
|
|
4682
|
+
allow?: string[]
|
|
4683
|
+
|
|
5098
4684
|
builtinGlobals?: boolean
|
|
4685
|
+
|
|
5099
4686
|
hoist?: ("all" | "functions" | "never")
|
|
5100
|
-
|
|
4687
|
+
|
|
4688
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
4689
|
+
|
|
5101
4690
|
ignoreOnInitialization?: boolean
|
|
4691
|
+
|
|
5102
4692
|
ignoreTypeValueShadow?: boolean
|
|
5103
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
5104
4693
|
}]
|
|
5105
4694
|
// ----- @typescript-eslint/no-this-alias -----
|
|
5106
4695
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -5109,11 +4698,6 @@ type TypescriptEslintNoThisAlias = []|[{
|
|
|
5109
4698
|
|
|
5110
4699
|
allowedNames?: string[]
|
|
5111
4700
|
}]
|
|
5112
|
-
// ----- @typescript-eslint/no-throw-literal -----
|
|
5113
|
-
type TypescriptEslintNoThrowLiteral = []|[{
|
|
5114
|
-
allowThrowingAny?: boolean
|
|
5115
|
-
allowThrowingUnknown?: boolean
|
|
5116
|
-
}]
|
|
5117
4701
|
// ----- @typescript-eslint/no-type-alias -----
|
|
5118
4702
|
type TypescriptEslintNoTypeAlias = []|[{
|
|
5119
4703
|
|
|
@@ -5125,20 +4709,20 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
5125
4709
|
|
|
5126
4710
|
allowConstructors?: ("always" | "never")
|
|
5127
4711
|
|
|
4712
|
+
allowGenerics?: ("always" | "never")
|
|
4713
|
+
|
|
5128
4714
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5129
4715
|
|
|
5130
4716
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5131
4717
|
|
|
5132
4718
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5133
|
-
|
|
5134
|
-
allowGenerics?: ("always" | "never")
|
|
5135
4719
|
}]
|
|
5136
4720
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
5137
4721
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
5138
4722
|
|
|
5139
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
5140
|
-
|
|
5141
4723
|
allowComparingNullableBooleansToFalse?: boolean
|
|
4724
|
+
|
|
4725
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
5142
4726
|
}]
|
|
5143
4727
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
5144
4728
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
@@ -5146,6 +4730,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
5146
4730
|
allowConstantLoopConditions?: boolean
|
|
5147
4731
|
|
|
5148
4732
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4733
|
+
|
|
4734
|
+
checkTypePredicates?: boolean
|
|
5149
4735
|
}]
|
|
5150
4736
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
5151
4737
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -5161,60 +4747,70 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
5161
4747
|
}]
|
|
5162
4748
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
5163
4749
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
5164
|
-
|
|
5165
|
-
varsIgnorePattern?: string
|
|
4750
|
+
|
|
5166
4751
|
args?: ("all" | "after-used" | "none")
|
|
5167
|
-
|
|
4752
|
+
|
|
5168
4753
|
argsIgnorePattern?: string
|
|
4754
|
+
|
|
5169
4755
|
caughtErrors?: ("all" | "none")
|
|
4756
|
+
|
|
5170
4757
|
caughtErrorsIgnorePattern?: string
|
|
4758
|
+
|
|
5171
4759
|
destructuredArrayIgnorePattern?: string
|
|
4760
|
+
|
|
4761
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
4762
|
+
|
|
4763
|
+
ignoreRestSiblings?: boolean
|
|
4764
|
+
|
|
4765
|
+
reportUsedIgnorePattern?: boolean
|
|
4766
|
+
|
|
4767
|
+
vars?: ("all" | "local")
|
|
4768
|
+
|
|
4769
|
+
varsIgnorePattern?: string
|
|
5172
4770
|
})]
|
|
5173
4771
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
5174
4772
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
5175
|
-
|
|
4773
|
+
|
|
4774
|
+
allowNamedExports?: boolean
|
|
4775
|
+
|
|
5176
4776
|
classes?: boolean
|
|
4777
|
+
|
|
5177
4778
|
enums?: boolean
|
|
5178
|
-
|
|
5179
|
-
|
|
4779
|
+
|
|
4780
|
+
functions?: boolean
|
|
4781
|
+
|
|
5180
4782
|
ignoreTypeReferences?: boolean
|
|
5181
|
-
|
|
4783
|
+
|
|
4784
|
+
typedefs?: boolean
|
|
4785
|
+
|
|
4786
|
+
variables?: boolean
|
|
5182
4787
|
})]
|
|
5183
4788
|
// ----- @typescript-eslint/no-var-requires -----
|
|
5184
4789
|
type TypescriptEslintNoVarRequires = []|[{
|
|
5185
4790
|
|
|
5186
4791
|
allow?: string[]
|
|
5187
4792
|
}]
|
|
5188
|
-
// ----- @typescript-eslint/object-curly-spacing -----
|
|
5189
|
-
type TypescriptEslintObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
5190
|
-
arraysInObjects?: boolean
|
|
5191
|
-
objectsInObjects?: boolean
|
|
5192
|
-
}]
|
|
5193
4793
|
// ----- @typescript-eslint/only-throw-error -----
|
|
5194
4794
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
4795
|
+
|
|
5195
4796
|
allowThrowingAny?: boolean
|
|
4797
|
+
|
|
5196
4798
|
allowThrowingUnknown?: boolean
|
|
5197
4799
|
}]
|
|
5198
|
-
// ----- @typescript-eslint/padding-line-between-statements -----
|
|
5199
|
-
type _TypescriptEslintPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
5200
|
-
type _TypescriptEslintPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
|
|
5201
|
-
type TypescriptEslintPaddingLineBetweenStatements = {
|
|
5202
|
-
blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType
|
|
5203
|
-
prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType
|
|
5204
|
-
next: _TypescriptEslintPaddingLineBetweenStatementsStatementType
|
|
5205
|
-
}[]
|
|
5206
4800
|
// ----- @typescript-eslint/parameter-properties -----
|
|
5207
4801
|
type TypescriptEslintParameterProperties = []|[{
|
|
4802
|
+
|
|
5208
4803
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
4804
|
+
|
|
5209
4805
|
prefer?: ("class-property" | "parameter-property")
|
|
5210
4806
|
}]
|
|
5211
4807
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
5212
4808
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
5213
|
-
|
|
4809
|
+
AssignmentExpression?: {
|
|
5214
4810
|
array?: boolean
|
|
5215
4811
|
object?: boolean
|
|
5216
4812
|
}
|
|
5217
|
-
|
|
4813
|
+
VariableDeclarator?: {
|
|
5218
4814
|
array?: boolean
|
|
5219
4815
|
object?: boolean
|
|
5220
4816
|
}
|
|
@@ -5222,11 +4818,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5222
4818
|
array?: boolean
|
|
5223
4819
|
object?: boolean
|
|
5224
4820
|
})]|[({
|
|
5225
|
-
|
|
4821
|
+
AssignmentExpression?: {
|
|
5226
4822
|
array?: boolean
|
|
5227
4823
|
object?: boolean
|
|
5228
4824
|
}
|
|
5229
|
-
|
|
4825
|
+
VariableDeclarator?: {
|
|
5230
4826
|
array?: boolean
|
|
5231
4827
|
object?: boolean
|
|
5232
4828
|
}
|
|
@@ -5234,57 +4830,72 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5234
4830
|
array?: boolean
|
|
5235
4831
|
object?: boolean
|
|
5236
4832
|
}), {
|
|
5237
|
-
|
|
4833
|
+
|
|
5238
4834
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
4835
|
+
|
|
4836
|
+
enforceForRenamedProperties?: boolean
|
|
5239
4837
|
[k: string]: unknown | undefined
|
|
5240
4838
|
}]
|
|
5241
4839
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
5242
4840
|
type TypescriptEslintPreferLiteralEnumMember = []|[{
|
|
4841
|
+
|
|
5243
4842
|
allowBitwiseExpressions?: boolean
|
|
5244
4843
|
}]
|
|
5245
4844
|
// ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
5246
4845
|
type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
4846
|
+
|
|
5247
4847
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4848
|
+
|
|
5248
4849
|
ignoreConditionalTests?: boolean
|
|
4850
|
+
|
|
5249
4851
|
ignoreMixedLogicalExpressions?: boolean
|
|
4852
|
+
|
|
5250
4853
|
ignorePrimitives?: ({
|
|
4854
|
+
|
|
5251
4855
|
bigint?: boolean
|
|
4856
|
+
|
|
5252
4857
|
boolean?: boolean
|
|
4858
|
+
|
|
5253
4859
|
number?: boolean
|
|
4860
|
+
|
|
5254
4861
|
string?: boolean
|
|
5255
4862
|
[k: string]: unknown | undefined
|
|
5256
4863
|
} | true)
|
|
4864
|
+
|
|
5257
4865
|
ignoreTernaryTests?: boolean
|
|
5258
4866
|
}]
|
|
5259
4867
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
5260
4868
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
5261
4869
|
|
|
4870
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
4871
|
+
|
|
5262
4872
|
checkAny?: boolean
|
|
5263
4873
|
|
|
5264
|
-
|
|
4874
|
+
checkBigInt?: boolean
|
|
5265
4875
|
|
|
5266
|
-
|
|
4876
|
+
checkBoolean?: boolean
|
|
5267
4877
|
|
|
5268
4878
|
checkNumber?: boolean
|
|
5269
4879
|
|
|
5270
|
-
|
|
4880
|
+
checkString?: boolean
|
|
5271
4881
|
|
|
5272
|
-
|
|
4882
|
+
checkUnknown?: boolean
|
|
5273
4883
|
|
|
5274
4884
|
requireNullish?: boolean
|
|
5275
|
-
|
|
5276
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
5277
4885
|
}]
|
|
5278
4886
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
5279
4887
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
4888
|
+
|
|
5280
4889
|
allowEmptyReject?: boolean
|
|
5281
4890
|
}]
|
|
5282
4891
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
5283
4892
|
type TypescriptEslintPreferReadonly = []|[{
|
|
4893
|
+
|
|
5284
4894
|
onlyInlineLambdas?: boolean
|
|
5285
4895
|
}]
|
|
5286
4896
|
// ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
5287
4897
|
type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
4898
|
+
|
|
5288
4899
|
allow?: (string | {
|
|
5289
4900
|
from: "file"
|
|
5290
4901
|
name: (string | [string, ...(string)[]])
|
|
@@ -5297,8 +4908,11 @@ type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
|
5297
4908
|
name: (string | [string, ...(string)[]])
|
|
5298
4909
|
package: string
|
|
5299
4910
|
})[]
|
|
4911
|
+
|
|
5300
4912
|
checkParameterProperties?: boolean
|
|
4913
|
+
|
|
5301
4914
|
ignoreInferredTypes?: boolean
|
|
4915
|
+
|
|
5302
4916
|
treatMethodsAsReadonly?: boolean
|
|
5303
4917
|
}]
|
|
5304
4918
|
// ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
@@ -5312,16 +4926,15 @@ type TypescriptEslintPromiseFunctionAsync = []|[{
|
|
|
5312
4926
|
allowAny?: boolean
|
|
5313
4927
|
|
|
5314
4928
|
allowedPromiseNames?: string[]
|
|
4929
|
+
|
|
5315
4930
|
checkArrowFunctions?: boolean
|
|
4931
|
+
|
|
5316
4932
|
checkFunctionDeclarations?: boolean
|
|
4933
|
+
|
|
5317
4934
|
checkFunctionExpressions?: boolean
|
|
4935
|
+
|
|
5318
4936
|
checkMethodDeclarations?: boolean
|
|
5319
4937
|
}]
|
|
5320
|
-
// ----- @typescript-eslint/quotes -----
|
|
5321
|
-
type TypescriptEslintQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
5322
|
-
avoidEscape?: boolean
|
|
5323
|
-
allowTemplateLiterals?: boolean
|
|
5324
|
-
})]
|
|
5325
4938
|
// ----- @typescript-eslint/require-array-sort-compare -----
|
|
5326
4939
|
type TypescriptEslintRequireArraySortCompare = []|[{
|
|
5327
4940
|
|
|
@@ -5358,92 +4971,89 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
5358
4971
|
allowRegExp?: boolean
|
|
5359
4972
|
|
|
5360
4973
|
allowNever?: boolean
|
|
4974
|
+
|
|
4975
|
+
allow?: (string | {
|
|
4976
|
+
from: "file"
|
|
4977
|
+
name: (string | [string, ...(string)[]])
|
|
4978
|
+
path?: string
|
|
4979
|
+
} | {
|
|
4980
|
+
from: "lib"
|
|
4981
|
+
name: (string | [string, ...(string)[]])
|
|
4982
|
+
} | {
|
|
4983
|
+
from: "package"
|
|
4984
|
+
name: (string | [string, ...(string)[]])
|
|
4985
|
+
package: string
|
|
4986
|
+
})[]
|
|
5361
4987
|
}]
|
|
5362
4988
|
// ----- @typescript-eslint/return-await -----
|
|
5363
|
-
type TypescriptEslintReturnAwait = []|[("
|
|
5364
|
-
// ----- @typescript-eslint/semi -----
|
|
5365
|
-
type TypescriptEslintSemi = ([]|["never"]|["never", {
|
|
5366
|
-
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
5367
|
-
}] | []|["always"]|["always", {
|
|
5368
|
-
omitLastInOneLineBlock?: boolean
|
|
5369
|
-
omitLastInOneLineClassBody?: boolean
|
|
5370
|
-
}])
|
|
4989
|
+
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
5371
4990
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
5372
4991
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
5373
4992
|
|
|
4993
|
+
caseSensitive?: boolean
|
|
4994
|
+
|
|
5374
4995
|
checkIntersections?: boolean
|
|
5375
4996
|
|
|
5376
4997
|
checkUnions?: boolean
|
|
5377
4998
|
|
|
5378
4999
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
5379
5000
|
}]
|
|
5380
|
-
// ----- @typescript-eslint/space-before-blocks -----
|
|
5381
|
-
type TypescriptEslintSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
5382
|
-
keywords?: ("always" | "never" | "off")
|
|
5383
|
-
functions?: ("always" | "never" | "off")
|
|
5384
|
-
classes?: ("always" | "never" | "off")
|
|
5385
|
-
})]
|
|
5386
|
-
// ----- @typescript-eslint/space-before-function-paren -----
|
|
5387
|
-
type TypescriptEslintSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
5388
|
-
anonymous?: ("always" | "never" | "ignore")
|
|
5389
|
-
named?: ("always" | "never" | "ignore")
|
|
5390
|
-
asyncArrow?: ("always" | "never" | "ignore")
|
|
5391
|
-
})]
|
|
5392
|
-
// ----- @typescript-eslint/space-infix-ops -----
|
|
5393
|
-
type TypescriptEslintSpaceInfixOps = []|[{
|
|
5394
|
-
int32Hint?: boolean
|
|
5395
|
-
}]
|
|
5396
5001
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
5397
5002
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5003
|
+
|
|
5004
|
+
allowAny?: boolean
|
|
5005
|
+
|
|
5401
5006
|
allowNullableBoolean?: boolean
|
|
5402
|
-
|
|
5403
|
-
allowNullableNumber?: boolean
|
|
5007
|
+
|
|
5404
5008
|
allowNullableEnum?: boolean
|
|
5405
|
-
|
|
5009
|
+
|
|
5010
|
+
allowNullableNumber?: boolean
|
|
5011
|
+
|
|
5012
|
+
allowNullableObject?: boolean
|
|
5013
|
+
|
|
5014
|
+
allowNullableString?: boolean
|
|
5015
|
+
|
|
5016
|
+
allowNumber?: boolean
|
|
5017
|
+
|
|
5406
5018
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
5019
|
+
|
|
5020
|
+
allowString?: boolean
|
|
5407
5021
|
}]
|
|
5408
5022
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
5409
5023
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
5410
5024
|
|
|
5411
5025
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
5412
5026
|
|
|
5027
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
5028
|
+
|
|
5413
5029
|
requireDefaultForNonUnion?: boolean
|
|
5414
5030
|
}]
|
|
5415
5031
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
5416
5032
|
type TypescriptEslintTripleSlashReference = []|[{
|
|
5033
|
+
|
|
5417
5034
|
lib?: ("always" | "never")
|
|
5035
|
+
|
|
5418
5036
|
path?: ("always" | "never")
|
|
5037
|
+
|
|
5419
5038
|
types?: ("always" | "never" | "prefer-import")
|
|
5420
5039
|
}]
|
|
5421
|
-
// ----- @typescript-eslint/type-annotation-spacing -----
|
|
5422
|
-
type TypescriptEslintTypeAnnotationSpacing = []|[{
|
|
5423
|
-
before?: boolean
|
|
5424
|
-
after?: boolean
|
|
5425
|
-
overrides?: {
|
|
5426
|
-
colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5427
|
-
arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5428
|
-
variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5429
|
-
parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5430
|
-
property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5431
|
-
returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5432
|
-
}
|
|
5433
|
-
}]
|
|
5434
|
-
interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
|
|
5435
|
-
before?: boolean
|
|
5436
|
-
after?: boolean
|
|
5437
|
-
}
|
|
5438
5040
|
// ----- @typescript-eslint/typedef -----
|
|
5439
5041
|
type TypescriptEslintTypedef = []|[{
|
|
5042
|
+
|
|
5440
5043
|
arrayDestructuring?: boolean
|
|
5044
|
+
|
|
5441
5045
|
arrowParameter?: boolean
|
|
5046
|
+
|
|
5442
5047
|
memberVariableDeclaration?: boolean
|
|
5048
|
+
|
|
5443
5049
|
objectDestructuring?: boolean
|
|
5050
|
+
|
|
5444
5051
|
parameter?: boolean
|
|
5052
|
+
|
|
5445
5053
|
propertyDeclaration?: boolean
|
|
5054
|
+
|
|
5446
5055
|
variableDeclaration?: boolean
|
|
5056
|
+
|
|
5447
5057
|
variableDeclarationIgnoreFunction?: boolean
|
|
5448
5058
|
}]
|
|
5449
5059
|
// ----- @typescript-eslint/unbound-method -----
|
|
@@ -5512,6 +5122,12 @@ type AstroSemi = ([]|["never"]|["never", {
|
|
|
5512
5122
|
omitLastInOneLineBlock?: boolean
|
|
5513
5123
|
omitLastInOneLineClassBody?: boolean
|
|
5514
5124
|
}])
|
|
5125
|
+
// ----- astro/sort-attributes -----
|
|
5126
|
+
type AstroSortAttributes = []|[{
|
|
5127
|
+
type?: ("alphabetical" | "line-length")
|
|
5128
|
+
ignoreCase?: boolean
|
|
5129
|
+
order?: ("asc" | "desc")
|
|
5130
|
+
}]
|
|
5515
5131
|
// ----- block-spacing -----
|
|
5516
5132
|
type BlockSpacing = []|[("always" | "never")]
|
|
5517
5133
|
// ----- brace-style -----
|
|
@@ -5982,7 +5598,7 @@ type JestConsistentTestIt = []|[{
|
|
|
5982
5598
|
}]
|
|
5983
5599
|
// ----- jest/expect-expect -----
|
|
5984
5600
|
type JestExpectExpect = []|[{
|
|
5985
|
-
assertFunctionNames?: []
|
|
5601
|
+
assertFunctionNames?: string[]
|
|
5986
5602
|
additionalTestBlockFunctions?: string[]
|
|
5987
5603
|
}]
|
|
5988
5604
|
// ----- jest/max-expects -----
|
|
@@ -6023,6 +5639,10 @@ type JestPreferExpectAssertions = []|[{
|
|
|
6023
5639
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
6024
5640
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
6025
5641
|
}]
|
|
5642
|
+
// ----- jest/prefer-importing-jest-globals -----
|
|
5643
|
+
type JestPreferImportingJestGlobals = []|[{
|
|
5644
|
+
types?: ("hook" | "describe" | "test" | "expect" | "jest" | "unknown")[]
|
|
5645
|
+
}]
|
|
6026
5646
|
// ----- jest/prefer-lowercase-title -----
|
|
6027
5647
|
type JestPreferLowercaseTitle = []|[{
|
|
6028
5648
|
ignore?: ("describe" | "test" | "it")[]
|
|
@@ -7150,13 +6770,22 @@ type ReactForbidComponentProps = []|[{
|
|
|
7150
6770
|
forbid?: (string | {
|
|
7151
6771
|
propName?: string
|
|
7152
6772
|
allowedFor?: string[]
|
|
6773
|
+
allowedForPatterns?: string[]
|
|
7153
6774
|
message?: string
|
|
6775
|
+
} | ({
|
|
6776
|
+
[k: string]: unknown | undefined
|
|
7154
6777
|
} | {
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
6778
|
+
[k: string]: unknown | undefined
|
|
6779
|
+
}) | {
|
|
6780
|
+
propNamePattern?: string
|
|
6781
|
+
allowedFor?: string[]
|
|
6782
|
+
allowedForPatterns?: string[]
|
|
7158
6783
|
message?: string
|
|
7159
|
-
}
|
|
6784
|
+
} | ({
|
|
6785
|
+
[k: string]: unknown | undefined
|
|
6786
|
+
} | {
|
|
6787
|
+
[k: string]: unknown | undefined
|
|
6788
|
+
}))[]
|
|
7160
6789
|
[k: string]: unknown | undefined
|
|
7161
6790
|
}]
|
|
7162
6791
|
// ----- react/forbid-dom-props -----
|
|
@@ -7211,6 +6840,10 @@ type ReactJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "t
|
|
|
7211
6840
|
nonEmpty?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
7212
6841
|
selfClosing?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
7213
6842
|
})]
|
|
6843
|
+
// ----- react/jsx-closing-tag-location -----
|
|
6844
|
+
type ReactJsxClosingTagLocation = []|[(("tag-aligned" | "line-aligned") | {
|
|
6845
|
+
location?: ("tag-aligned" | "line-aligned")
|
|
6846
|
+
})]
|
|
7214
6847
|
// ----- react/jsx-curly-brace-presence -----
|
|
7215
6848
|
type ReactJsxCurlyBracePresence = []|[({
|
|
7216
6849
|
props?: ("always" | "never" | "ignore")
|
|
@@ -7266,20 +6899,26 @@ type ReactJsxHandlerNames = []|[({
|
|
|
7266
6899
|
eventHandlerPropPrefix?: string
|
|
7267
6900
|
checkLocalVariables?: boolean
|
|
7268
6901
|
checkInlineFunction?: boolean
|
|
6902
|
+
ignoreComponentNames?: string[]
|
|
7269
6903
|
} | {
|
|
7270
6904
|
eventHandlerPrefix?: string
|
|
7271
6905
|
eventHandlerPropPrefix?: false
|
|
7272
6906
|
checkLocalVariables?: boolean
|
|
7273
6907
|
checkInlineFunction?: boolean
|
|
6908
|
+
ignoreComponentNames?: string[]
|
|
7274
6909
|
} | {
|
|
7275
6910
|
eventHandlerPrefix?: false
|
|
7276
6911
|
eventHandlerPropPrefix?: string
|
|
7277
6912
|
checkLocalVariables?: boolean
|
|
7278
6913
|
checkInlineFunction?: boolean
|
|
6914
|
+
ignoreComponentNames?: string[]
|
|
7279
6915
|
} | {
|
|
7280
6916
|
checkLocalVariables?: boolean
|
|
7281
6917
|
} | {
|
|
7282
6918
|
checkInlineFunction?: boolean
|
|
6919
|
+
} | {
|
|
6920
|
+
ignoreComponentNames?: string[]
|
|
6921
|
+
[k: string]: unknown | undefined
|
|
7283
6922
|
})]
|
|
7284
6923
|
// ----- react/jsx-indent -----
|
|
7285
6924
|
type ReactJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
@@ -7326,10 +6965,6 @@ type ReactJsxNoBind = []|[{
|
|
|
7326
6965
|
ignoreRefs?: boolean
|
|
7327
6966
|
ignoreDOMComponents?: boolean
|
|
7328
6967
|
}]
|
|
7329
|
-
// ----- react/jsx-no-constructed-context-values -----
|
|
7330
|
-
interface ReactJsxNoConstructedContextValues {
|
|
7331
|
-
[k: string]: unknown | undefined
|
|
7332
|
-
}
|
|
7333
6968
|
// ----- react/jsx-no-duplicate-props -----
|
|
7334
6969
|
type ReactJsxNoDuplicateProps = []|[{
|
|
7335
6970
|
ignoreCase?: boolean
|
|
@@ -7340,6 +6975,16 @@ type ReactJsxNoLeakedRender = []|[{
|
|
|
7340
6975
|
}]
|
|
7341
6976
|
// ----- react/jsx-no-literals -----
|
|
7342
6977
|
type ReactJsxNoLiterals = []|[{
|
|
6978
|
+
elementOverrides?: {
|
|
6979
|
+
[k: string]: {
|
|
6980
|
+
applyToNestedElements?: boolean
|
|
6981
|
+
noStrings?: boolean
|
|
6982
|
+
allowedStrings?: string[]
|
|
6983
|
+
ignoreProps?: boolean
|
|
6984
|
+
noAttributeStrings?: boolean
|
|
6985
|
+
[k: string]: unknown | undefined
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
7343
6988
|
noStrings?: boolean
|
|
7344
6989
|
allowedStrings?: string[]
|
|
7345
6990
|
ignoreProps?: boolean
|
|
@@ -7392,6 +7037,7 @@ type ReactJsxPascalCase = []|[{
|
|
|
7392
7037
|
type ReactJsxPropsNoSpreading = []|[({
|
|
7393
7038
|
html?: ("enforce" | "ignore")
|
|
7394
7039
|
custom?: ("enforce" | "ignore")
|
|
7040
|
+
explicitSpread?: ("enforce" | "ignore")
|
|
7395
7041
|
exceptions?: string[]
|
|
7396
7042
|
[k: string]: unknown | undefined
|
|
7397
7043
|
} & {
|
|
@@ -7435,6 +7081,12 @@ type ReactJsxWrapMultilines = []|[{
|
|
|
7435
7081
|
type ReactNoChildrenProp = []|[{
|
|
7436
7082
|
allowFunctions?: boolean
|
|
7437
7083
|
}]
|
|
7084
|
+
// ----- react/no-danger -----
|
|
7085
|
+
type ReactNoDanger = []|[{
|
|
7086
|
+
|
|
7087
|
+
customComponentNames?: string[]
|
|
7088
|
+
[k: string]: unknown | undefined
|
|
7089
|
+
}]
|
|
7438
7090
|
// ----- react/no-did-mount-set-state -----
|
|
7439
7091
|
type ReactNoDidMountSetState = []|["disallow-in-func"]
|
|
7440
7092
|
// ----- react/no-did-update-set-state -----
|
|
@@ -7470,6 +7122,7 @@ type ReactNoUnsafe = []|[{
|
|
|
7470
7122
|
type ReactNoUnstableNestedComponents = []|[{
|
|
7471
7123
|
customValidators?: string[]
|
|
7472
7124
|
allowAsProps?: boolean
|
|
7125
|
+
propNamePattern?: string
|
|
7473
7126
|
}]
|
|
7474
7127
|
// ----- react/no-unused-prop-types -----
|
|
7475
7128
|
type ReactNoUnusedPropTypes = []|[{
|
|
@@ -7859,7 +7512,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7859
7512
|
'import-x/extensions': readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
7860
7513
|
'import-x/external-module-folders': string[];
|
|
7861
7514
|
'import-x/parsers': {
|
|
7862
|
-
|
|
7515
|
+
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
7863
7516
|
};
|
|
7864
7517
|
};
|
|
7865
7518
|
rules: {
|
|
@@ -7906,11 +7559,380 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7906
7559
|
name: string;
|
|
7907
7560
|
files: string[];
|
|
7908
7561
|
plugins: {
|
|
7909
|
-
react:
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7562
|
+
react: {
|
|
7563
|
+
deprecatedRules: Partial<{
|
|
7564
|
+
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
7565
|
+
'button-has-type': eslint.Rule.RuleModule;
|
|
7566
|
+
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
7567
|
+
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
7568
|
+
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
7569
|
+
'display-name': eslint.Rule.RuleModule;
|
|
7570
|
+
'forbid-component-props': eslint.Rule.RuleModule;
|
|
7571
|
+
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
7572
|
+
'forbid-elements': eslint.Rule.RuleModule;
|
|
7573
|
+
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
7574
|
+
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
7575
|
+
'forward-ref-uses-ref': {
|
|
7576
|
+
meta: {
|
|
7577
|
+
docs: {
|
|
7578
|
+
description: string;
|
|
7579
|
+
category: string;
|
|
7580
|
+
recommended: boolean;
|
|
7581
|
+
url: string;
|
|
7582
|
+
};
|
|
7583
|
+
messages: {
|
|
7584
|
+
missingRefParameter: string;
|
|
7585
|
+
addRefParameter: string;
|
|
7586
|
+
removeForwardRef: string;
|
|
7587
|
+
};
|
|
7588
|
+
schema: undefined[];
|
|
7589
|
+
type: string;
|
|
7590
|
+
hasSuggestions: boolean;
|
|
7591
|
+
};
|
|
7592
|
+
create(context: any): {
|
|
7593
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
7594
|
+
};
|
|
7595
|
+
};
|
|
7596
|
+
'function-component-definition': eslint.Rule.RuleModule;
|
|
7597
|
+
'hook-use-state': eslint.Rule.RuleModule;
|
|
7598
|
+
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
7599
|
+
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
7600
|
+
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
7601
|
+
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
7602
|
+
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
7603
|
+
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
7604
|
+
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
7605
|
+
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
7606
|
+
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
7607
|
+
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
7608
|
+
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
7609
|
+
'jsx-indent': eslint.Rule.RuleModule;
|
|
7610
|
+
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
7611
|
+
'jsx-key': eslint.Rule.RuleModule;
|
|
7612
|
+
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
7613
|
+
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
7614
|
+
'jsx-newline': eslint.Rule.RuleModule;
|
|
7615
|
+
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
7616
|
+
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
7617
|
+
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
7618
|
+
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
7619
|
+
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
7620
|
+
'jsx-no-literals': {
|
|
7621
|
+
meta: eslint.Rule.RuleMetaData;
|
|
7622
|
+
create(context: any): (false & {
|
|
7623
|
+
Literal(node: any): void;
|
|
7624
|
+
JSXAttribute(node: any): void;
|
|
7625
|
+
JSXText(node: any): void;
|
|
7626
|
+
TemplateLiteral(node: any): void;
|
|
7627
|
+
}) | ({
|
|
7628
|
+
ImportDeclaration(node: any): void;
|
|
7629
|
+
VariableDeclaration(node: any): void;
|
|
7630
|
+
} & {
|
|
7631
|
+
Literal(node: any): void;
|
|
7632
|
+
JSXAttribute(node: any): void;
|
|
7633
|
+
JSXText(node: any): void;
|
|
7634
|
+
TemplateLiteral(node: any): void;
|
|
7635
|
+
});
|
|
7636
|
+
};
|
|
7637
|
+
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
7638
|
+
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
7639
|
+
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
7640
|
+
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
7641
|
+
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
7642
|
+
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
7643
|
+
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
7644
|
+
'jsx-fragments': eslint.Rule.RuleModule;
|
|
7645
|
+
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
7646
|
+
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
7647
|
+
'jsx-props-no-spread-multi': {
|
|
7648
|
+
meta: {
|
|
7649
|
+
docs: {
|
|
7650
|
+
description: string;
|
|
7651
|
+
category: string;
|
|
7652
|
+
recommended: boolean;
|
|
7653
|
+
url: string;
|
|
7654
|
+
};
|
|
7655
|
+
messages: {
|
|
7656
|
+
noMultiSpreading: string;
|
|
7657
|
+
};
|
|
7658
|
+
};
|
|
7659
|
+
create(context: any): {
|
|
7660
|
+
JSXOpeningElement(node: any): void;
|
|
7661
|
+
};
|
|
7662
|
+
};
|
|
7663
|
+
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
7664
|
+
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
7665
|
+
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
7666
|
+
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
7667
|
+
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
7668
|
+
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
7669
|
+
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
7670
|
+
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
7671
|
+
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
7672
|
+
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
7673
|
+
'no-array-index-key': eslint.Rule.RuleModule;
|
|
7674
|
+
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
7675
|
+
'no-children-prop': eslint.Rule.RuleModule;
|
|
7676
|
+
'no-danger': eslint.Rule.RuleModule;
|
|
7677
|
+
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
7678
|
+
'no-deprecated': eslint.Rule.RuleModule;
|
|
7679
|
+
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
7680
|
+
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
7681
|
+
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
7682
|
+
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
7683
|
+
'no-is-mounted': eslint.Rule.RuleModule;
|
|
7684
|
+
'no-multi-comp': eslint.Rule.RuleModule;
|
|
7685
|
+
'no-namespace': eslint.Rule.RuleModule;
|
|
7686
|
+
'no-set-state': eslint.Rule.RuleModule;
|
|
7687
|
+
'no-string-refs': eslint.Rule.RuleModule;
|
|
7688
|
+
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
7689
|
+
'no-render-return-value': eslint.Rule.RuleModule;
|
|
7690
|
+
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
7691
|
+
'no-typos': eslint.Rule.RuleModule;
|
|
7692
|
+
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
7693
|
+
'no-unknown-property': eslint.Rule.RuleModule;
|
|
7694
|
+
'no-unsafe': eslint.Rule.RuleModule;
|
|
7695
|
+
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
7696
|
+
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
7697
|
+
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
7698
|
+
'no-unused-state': eslint.Rule.RuleModule;
|
|
7699
|
+
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
7700
|
+
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
7701
|
+
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
7702
|
+
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
7703
|
+
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
7704
|
+
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
7705
|
+
'prop-types': eslint.Rule.RuleModule;
|
|
7706
|
+
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
7707
|
+
'require-default-props': eslint.Rule.RuleModule;
|
|
7708
|
+
'require-optimization': eslint.Rule.RuleModule;
|
|
7709
|
+
'require-render-return': eslint.Rule.RuleModule;
|
|
7710
|
+
'self-closing-comp': eslint.Rule.RuleModule;
|
|
7711
|
+
'sort-comp': eslint.Rule.RuleModule;
|
|
7712
|
+
'sort-default-props': eslint.Rule.RuleModule;
|
|
7713
|
+
'sort-prop-types': eslint.Rule.RuleModule;
|
|
7714
|
+
'state-in-constructor': eslint.Rule.RuleModule;
|
|
7715
|
+
'static-property-placement': eslint.Rule.RuleModule;
|
|
7716
|
+
'style-prop-object': eslint.Rule.RuleModule;
|
|
7717
|
+
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
7718
|
+
}>;
|
|
7719
|
+
rules: {
|
|
7720
|
+
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
7721
|
+
'button-has-type': eslint.Rule.RuleModule;
|
|
7722
|
+
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
7723
|
+
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
7724
|
+
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
7725
|
+
'display-name': eslint.Rule.RuleModule;
|
|
7726
|
+
'forbid-component-props': eslint.Rule.RuleModule;
|
|
7727
|
+
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
7728
|
+
'forbid-elements': eslint.Rule.RuleModule;
|
|
7729
|
+
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
7730
|
+
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
7731
|
+
'forward-ref-uses-ref': {
|
|
7732
|
+
meta: {
|
|
7733
|
+
docs: {
|
|
7734
|
+
description: string;
|
|
7735
|
+
category: string;
|
|
7736
|
+
recommended: boolean;
|
|
7737
|
+
url: string;
|
|
7738
|
+
};
|
|
7739
|
+
messages: {
|
|
7740
|
+
missingRefParameter: string;
|
|
7741
|
+
addRefParameter: string;
|
|
7742
|
+
removeForwardRef: string;
|
|
7743
|
+
};
|
|
7744
|
+
schema: undefined[];
|
|
7745
|
+
type: string;
|
|
7746
|
+
hasSuggestions: boolean;
|
|
7747
|
+
};
|
|
7748
|
+
create(context: any): {
|
|
7749
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
7750
|
+
};
|
|
7751
|
+
};
|
|
7752
|
+
'function-component-definition': eslint.Rule.RuleModule;
|
|
7753
|
+
'hook-use-state': eslint.Rule.RuleModule;
|
|
7754
|
+
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
7755
|
+
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
7756
|
+
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
7757
|
+
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
7758
|
+
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
7759
|
+
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
7760
|
+
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
7761
|
+
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
7762
|
+
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
7763
|
+
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
7764
|
+
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
7765
|
+
'jsx-indent': eslint.Rule.RuleModule;
|
|
7766
|
+
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
7767
|
+
'jsx-key': eslint.Rule.RuleModule;
|
|
7768
|
+
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
7769
|
+
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
7770
|
+
'jsx-newline': eslint.Rule.RuleModule;
|
|
7771
|
+
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
7772
|
+
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
7773
|
+
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
7774
|
+
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
7775
|
+
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
7776
|
+
'jsx-no-literals': {
|
|
7777
|
+
meta: eslint.Rule.RuleMetaData;
|
|
7778
|
+
create(context: any): (false & {
|
|
7779
|
+
Literal(node: any): void;
|
|
7780
|
+
JSXAttribute(node: any): void;
|
|
7781
|
+
JSXText(node: any): void;
|
|
7782
|
+
TemplateLiteral(node: any): void;
|
|
7783
|
+
}) | ({
|
|
7784
|
+
ImportDeclaration(node: any): void;
|
|
7785
|
+
VariableDeclaration(node: any): void;
|
|
7786
|
+
} & {
|
|
7787
|
+
Literal(node: any): void;
|
|
7788
|
+
JSXAttribute(node: any): void;
|
|
7789
|
+
JSXText(node: any): void;
|
|
7790
|
+
TemplateLiteral(node: any): void;
|
|
7791
|
+
});
|
|
7792
|
+
};
|
|
7793
|
+
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
7794
|
+
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
7795
|
+
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
7796
|
+
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
7797
|
+
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
7798
|
+
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
7799
|
+
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
7800
|
+
'jsx-fragments': eslint.Rule.RuleModule;
|
|
7801
|
+
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
7802
|
+
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
7803
|
+
'jsx-props-no-spread-multi': {
|
|
7804
|
+
meta: {
|
|
7805
|
+
docs: {
|
|
7806
|
+
description: string;
|
|
7807
|
+
category: string;
|
|
7808
|
+
recommended: boolean;
|
|
7809
|
+
url: string;
|
|
7810
|
+
};
|
|
7811
|
+
messages: {
|
|
7812
|
+
noMultiSpreading: string;
|
|
7813
|
+
};
|
|
7814
|
+
};
|
|
7815
|
+
create(context: any): {
|
|
7816
|
+
JSXOpeningElement(node: any): void;
|
|
7817
|
+
};
|
|
7818
|
+
};
|
|
7819
|
+
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
7820
|
+
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
7821
|
+
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
7822
|
+
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
7823
|
+
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
7824
|
+
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
7825
|
+
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
7826
|
+
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
7827
|
+
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
7828
|
+
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
7829
|
+
'no-array-index-key': eslint.Rule.RuleModule;
|
|
7830
|
+
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
7831
|
+
'no-children-prop': eslint.Rule.RuleModule;
|
|
7832
|
+
'no-danger': eslint.Rule.RuleModule;
|
|
7833
|
+
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
7834
|
+
'no-deprecated': eslint.Rule.RuleModule;
|
|
7835
|
+
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
7836
|
+
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
7837
|
+
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
7838
|
+
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
7839
|
+
'no-is-mounted': eslint.Rule.RuleModule;
|
|
7840
|
+
'no-multi-comp': eslint.Rule.RuleModule;
|
|
7841
|
+
'no-namespace': eslint.Rule.RuleModule;
|
|
7842
|
+
'no-set-state': eslint.Rule.RuleModule;
|
|
7843
|
+
'no-string-refs': eslint.Rule.RuleModule;
|
|
7844
|
+
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
7845
|
+
'no-render-return-value': eslint.Rule.RuleModule;
|
|
7846
|
+
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
7847
|
+
'no-typos': eslint.Rule.RuleModule;
|
|
7848
|
+
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
7849
|
+
'no-unknown-property': eslint.Rule.RuleModule;
|
|
7850
|
+
'no-unsafe': eslint.Rule.RuleModule;
|
|
7851
|
+
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
7852
|
+
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
7853
|
+
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
7854
|
+
'no-unused-state': eslint.Rule.RuleModule;
|
|
7855
|
+
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
7856
|
+
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
7857
|
+
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
7858
|
+
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
7859
|
+
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
7860
|
+
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
7861
|
+
'prop-types': eslint.Rule.RuleModule;
|
|
7862
|
+
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
7863
|
+
'require-default-props': eslint.Rule.RuleModule;
|
|
7864
|
+
'require-optimization': eslint.Rule.RuleModule;
|
|
7865
|
+
'require-render-return': eslint.Rule.RuleModule;
|
|
7866
|
+
'self-closing-comp': eslint.Rule.RuleModule;
|
|
7867
|
+
'sort-comp': eslint.Rule.RuleModule;
|
|
7868
|
+
'sort-default-props': eslint.Rule.RuleModule;
|
|
7869
|
+
'sort-prop-types': eslint.Rule.RuleModule;
|
|
7870
|
+
'state-in-constructor': eslint.Rule.RuleModule;
|
|
7871
|
+
'static-property-placement': eslint.Rule.RuleModule;
|
|
7872
|
+
'style-prop-object': eslint.Rule.RuleModule;
|
|
7873
|
+
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
7874
|
+
};
|
|
7875
|
+
configs: {
|
|
7876
|
+
recommended: {
|
|
7877
|
+
plugins: ["react"];
|
|
7878
|
+
parserOptions: {
|
|
7879
|
+
ecmaFeatures: {
|
|
7880
|
+
jsx: boolean;
|
|
7881
|
+
};
|
|
7882
|
+
};
|
|
7883
|
+
rules: {
|
|
7884
|
+
"react/display-name": number;
|
|
7885
|
+
"react/jsx-key": number;
|
|
7886
|
+
"react/jsx-no-comment-textnodes": number;
|
|
7887
|
+
"react/jsx-no-duplicate-props": number;
|
|
7888
|
+
"react/jsx-no-target-blank": number;
|
|
7889
|
+
"react/jsx-no-undef": number;
|
|
7890
|
+
"react/jsx-uses-react": number;
|
|
7891
|
+
"react/jsx-uses-vars": number;
|
|
7892
|
+
"react/no-children-prop": number;
|
|
7893
|
+
"react/no-danger-with-children": number;
|
|
7894
|
+
"react/no-deprecated": number;
|
|
7895
|
+
"react/no-direct-mutation-state": number;
|
|
7896
|
+
"react/no-find-dom-node": number;
|
|
7897
|
+
"react/no-is-mounted": number;
|
|
7898
|
+
"react/no-render-return-value": number;
|
|
7899
|
+
"react/no-string-refs": number;
|
|
7900
|
+
"react/no-unescaped-entities": number;
|
|
7901
|
+
"react/no-unknown-property": number;
|
|
7902
|
+
"react/no-unsafe": number;
|
|
7903
|
+
"react/prop-types": number;
|
|
7904
|
+
"react/react-in-jsx-scope": number;
|
|
7905
|
+
"react/require-render-return": number;
|
|
7906
|
+
};
|
|
7907
|
+
};
|
|
7908
|
+
all: {
|
|
7909
|
+
plugins: ["react"];
|
|
7910
|
+
parserOptions: {
|
|
7911
|
+
ecmaFeatures: {
|
|
7912
|
+
jsx: boolean;
|
|
7913
|
+
};
|
|
7914
|
+
};
|
|
7915
|
+
rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
|
|
7916
|
+
};
|
|
7917
|
+
'jsx-runtime': {
|
|
7918
|
+
plugins: ["react"];
|
|
7919
|
+
parserOptions: {
|
|
7920
|
+
ecmaFeatures: {
|
|
7921
|
+
jsx: boolean;
|
|
7922
|
+
};
|
|
7923
|
+
jsxPragma: any;
|
|
7924
|
+
};
|
|
7925
|
+
rules: {
|
|
7926
|
+
"react/react-in-jsx-scope": number;
|
|
7927
|
+
"react/jsx-uses-react": number;
|
|
7928
|
+
};
|
|
7929
|
+
};
|
|
7930
|
+
} & {
|
|
7931
|
+
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
7932
|
+
};
|
|
7913
7933
|
};
|
|
7934
|
+
"react-hooks": typeof eslint_plugin_react_hooks;
|
|
7935
|
+
"jsx-a11y": typeof eslint_plugin_jsx_a11y;
|
|
7914
7936
|
"react-refresh": typeof eslint_plugin_react_refresh;
|
|
7915
7937
|
"@tanstack/query"?: undefined;
|
|
7916
7938
|
};
|
|
@@ -9152,16 +9174,16 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9152
9174
|
name: string;
|
|
9153
9175
|
files: string[];
|
|
9154
9176
|
plugins: {
|
|
9155
|
-
"@tanstack/query":
|
|
9177
|
+
"@tanstack/query": eslint.ESLint.Plugin;
|
|
9156
9178
|
react?: undefined;
|
|
9157
9179
|
"react-hooks"?: undefined;
|
|
9158
9180
|
"jsx-a11y"?: undefined;
|
|
9159
9181
|
"react-refresh"?: undefined;
|
|
9160
9182
|
};
|
|
9161
9183
|
rules: {
|
|
9162
|
-
"@tanstack/query/exhaustive-deps": "error";
|
|
9163
|
-
"@tanstack/query/no-rest-destructuring": "warn";
|
|
9164
|
-
"@tanstack/query/stable-query-client": "error";
|
|
9184
|
+
readonly "@tanstack/query/exhaustive-deps": "error";
|
|
9185
|
+
readonly "@tanstack/query/no-rest-destructuring": "warn";
|
|
9186
|
+
readonly "@tanstack/query/stable-query-client": "error";
|
|
9165
9187
|
};
|
|
9166
9188
|
languageOptions?: undefined;
|
|
9167
9189
|
settings?: undefined;
|
|
@@ -9185,14 +9207,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9185
9207
|
plugins?: undefined;
|
|
9186
9208
|
} | {
|
|
9187
9209
|
plugins: string[];
|
|
9188
|
-
rules:
|
|
9189
|
-
languageOptions:
|
|
9190
|
-
ecmaVersion?: 8 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | "latest" | undefined;
|
|
9191
|
-
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9192
|
-
globals?: eslint.ESLint.Globals | undefined;
|
|
9193
|
-
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|
|
9194
|
-
parserOptions?: eslint.Linter.ParserOptions | undefined;
|
|
9195
|
-
} | undefined;
|
|
9210
|
+
rules: eslint_plugin_jest.Rules;
|
|
9211
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9196
9212
|
name: string;
|
|
9197
9213
|
files: string[];
|
|
9198
9214
|
} | {
|
|
@@ -9232,13 +9248,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9232
9248
|
"jest/unbound-method": "off";
|
|
9233
9249
|
};
|
|
9234
9250
|
plugins: string[];
|
|
9235
|
-
languageOptions:
|
|
9236
|
-
ecmaVersion?: 8 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | "latest" | undefined;
|
|
9237
|
-
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9238
|
-
globals?: eslint.ESLint.Globals | undefined;
|
|
9239
|
-
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|
|
9240
|
-
parserOptions?: eslint.Linter.ParserOptions | undefined;
|
|
9241
|
-
} | undefined;
|
|
9251
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9242
9252
|
name: string;
|
|
9243
9253
|
files: string[];
|
|
9244
9254
|
} | {
|