@jimmy.codes/eslint-config 1.12.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 +452 -903
- package/dist/index.d.mts +452 -903
- package/dist/index.mjs +1 -1
- package/package.json +7 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
5
|
import * as eslint_plugin_jsx_a11y from 'eslint-plugin-jsx-a11y';
|
|
6
6
|
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
@@ -15,6 +15,31 @@ export { TSESLint } from '@typescript-eslint/utils';
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
interface RuleOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Exhaustive deps rule for useQuery
|
|
20
|
+
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
21
|
+
*/
|
|
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<[]>
|
|
28
|
+
/**
|
|
29
|
+
* Disallows rest destructuring in queries
|
|
30
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
31
|
+
*/
|
|
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<[]>
|
|
38
|
+
/**
|
|
39
|
+
* Makes sure that QueryClient is stable
|
|
40
|
+
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
41
|
+
*/
|
|
42
|
+
'@tanstack/query/stable-query-client'?: Linter.RuleEntry<[]>
|
|
18
43
|
/**
|
|
19
44
|
* Require that function overload signatures be consecutive
|
|
20
45
|
* @see https://typescript-eslint.io/rules/adjacent-overload-signatures
|
|
@@ -40,23 +65,6 @@ interface RuleOptions {
|
|
|
40
65
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
41
66
|
*/
|
|
42
67
|
'@typescript-eslint/ban-tslint-comment'?: Linter.RuleEntry<[]>
|
|
43
|
-
/**
|
|
44
|
-
* Disallow certain types
|
|
45
|
-
* @see https://typescript-eslint.io/rules/ban-types
|
|
46
|
-
*/
|
|
47
|
-
'@typescript-eslint/ban-types'?: Linter.RuleEntry<TypescriptEslintBanTypes>
|
|
48
|
-
/**
|
|
49
|
-
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
50
|
-
* @see https://typescript-eslint.io/rules/block-spacing
|
|
51
|
-
* @deprecated
|
|
52
|
-
*/
|
|
53
|
-
'@typescript-eslint/block-spacing'?: Linter.RuleEntry<TypescriptEslintBlockSpacing>
|
|
54
|
-
/**
|
|
55
|
-
* Enforce consistent brace style for blocks
|
|
56
|
-
* @see https://typescript-eslint.io/rules/brace-style
|
|
57
|
-
* @deprecated
|
|
58
|
-
*/
|
|
59
|
-
'@typescript-eslint/brace-style'?: Linter.RuleEntry<TypescriptEslintBraceStyle>
|
|
60
68
|
/**
|
|
61
69
|
* Enforce that literals on classes are exposed in a consistent style
|
|
62
70
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -67,18 +75,6 @@ interface RuleOptions {
|
|
|
67
75
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
68
76
|
*/
|
|
69
77
|
'@typescript-eslint/class-methods-use-this'?: Linter.RuleEntry<TypescriptEslintClassMethodsUseThis>
|
|
70
|
-
/**
|
|
71
|
-
* Require or disallow trailing commas
|
|
72
|
-
* @see https://typescript-eslint.io/rules/comma-dangle
|
|
73
|
-
* @deprecated
|
|
74
|
-
*/
|
|
75
|
-
'@typescript-eslint/comma-dangle'?: Linter.RuleEntry<TypescriptEslintCommaDangle>
|
|
76
|
-
/**
|
|
77
|
-
* Enforce consistent spacing before and after commas
|
|
78
|
-
* @see https://typescript-eslint.io/rules/comma-spacing
|
|
79
|
-
* @deprecated
|
|
80
|
-
*/
|
|
81
|
-
'@typescript-eslint/comma-spacing'?: Linter.RuleEntry<TypescriptEslintCommaSpacing>
|
|
82
78
|
/**
|
|
83
79
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
84
80
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -139,58 +135,16 @@ interface RuleOptions {
|
|
|
139
135
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
140
136
|
*/
|
|
141
137
|
'@typescript-eslint/explicit-module-boundary-types'?: Linter.RuleEntry<TypescriptEslintExplicitModuleBoundaryTypes>
|
|
142
|
-
/**
|
|
143
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
144
|
-
* @see https://typescript-eslint.io/rules/func-call-spacing
|
|
145
|
-
* @deprecated
|
|
146
|
-
*/
|
|
147
|
-
'@typescript-eslint/func-call-spacing'?: Linter.RuleEntry<TypescriptEslintFuncCallSpacing>
|
|
148
|
-
/**
|
|
149
|
-
* Enforce consistent indentation
|
|
150
|
-
* @see https://typescript-eslint.io/rules/indent
|
|
151
|
-
* @deprecated
|
|
152
|
-
*/
|
|
153
|
-
'@typescript-eslint/indent'?: Linter.RuleEntry<TypescriptEslintIndent>
|
|
154
138
|
/**
|
|
155
139
|
* Require or disallow initialization in variable declarations
|
|
156
140
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
157
141
|
*/
|
|
158
142
|
'@typescript-eslint/init-declarations'?: Linter.RuleEntry<TypescriptEslintInitDeclarations>
|
|
159
|
-
/**
|
|
160
|
-
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
161
|
-
* @see https://typescript-eslint.io/rules/key-spacing
|
|
162
|
-
* @deprecated
|
|
163
|
-
*/
|
|
164
|
-
'@typescript-eslint/key-spacing'?: Linter.RuleEntry<TypescriptEslintKeySpacing>
|
|
165
|
-
/**
|
|
166
|
-
* Enforce consistent spacing before and after keywords
|
|
167
|
-
* @see https://typescript-eslint.io/rules/keyword-spacing
|
|
168
|
-
* @deprecated
|
|
169
|
-
*/
|
|
170
|
-
'@typescript-eslint/keyword-spacing'?: Linter.RuleEntry<TypescriptEslintKeywordSpacing>
|
|
171
|
-
/**
|
|
172
|
-
* Require empty lines around comments
|
|
173
|
-
* @see https://typescript-eslint.io/rules/lines-around-comment
|
|
174
|
-
* @deprecated
|
|
175
|
-
*/
|
|
176
|
-
'@typescript-eslint/lines-around-comment'?: Linter.RuleEntry<TypescriptEslintLinesAroundComment>
|
|
177
|
-
/**
|
|
178
|
-
* Require or disallow an empty line between class members
|
|
179
|
-
* @see https://typescript-eslint.io/rules/lines-between-class-members
|
|
180
|
-
* @deprecated
|
|
181
|
-
*/
|
|
182
|
-
'@typescript-eslint/lines-between-class-members'?: Linter.RuleEntry<TypescriptEslintLinesBetweenClassMembers>
|
|
183
143
|
/**
|
|
184
144
|
* Enforce a maximum number of parameters in function definitions
|
|
185
145
|
* @see https://typescript-eslint.io/rules/max-params
|
|
186
146
|
*/
|
|
187
147
|
'@typescript-eslint/max-params'?: Linter.RuleEntry<TypescriptEslintMaxParams>
|
|
188
|
-
/**
|
|
189
|
-
* Require a specific member delimiter style for interfaces and type literals
|
|
190
|
-
* @see https://typescript-eslint.io/rules/member-delimiter-style
|
|
191
|
-
* @deprecated
|
|
192
|
-
*/
|
|
193
|
-
'@typescript-eslint/member-delimiter-style'?: Linter.RuleEntry<TypescriptEslintMemberDelimiterStyle>
|
|
194
148
|
/**
|
|
195
149
|
* Require a consistent member declaration order
|
|
196
150
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -217,7 +171,7 @@ interface RuleOptions {
|
|
|
217
171
|
*/
|
|
218
172
|
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
219
173
|
/**
|
|
220
|
-
* 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
|
|
221
175
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
222
176
|
*/
|
|
223
177
|
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>
|
|
@@ -231,6 +185,11 @@ interface RuleOptions {
|
|
|
231
185
|
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
232
186
|
*/
|
|
233
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<[]>
|
|
234
193
|
/**
|
|
235
194
|
* Disallow duplicate class members
|
|
236
195
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -259,8 +218,14 @@ interface RuleOptions {
|
|
|
259
218
|
/**
|
|
260
219
|
* Disallow the declaration of empty interfaces
|
|
261
220
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
221
|
+
* @deprecated
|
|
262
222
|
*/
|
|
263
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>
|
|
264
229
|
/**
|
|
265
230
|
* Disallow the `any` type
|
|
266
231
|
* @see https://typescript-eslint.io/rules/no-explicit-any
|
|
@@ -271,18 +236,6 @@ interface RuleOptions {
|
|
|
271
236
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
272
237
|
*/
|
|
273
238
|
'@typescript-eslint/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
|
|
274
|
-
/**
|
|
275
|
-
* Disallow unnecessary parentheses
|
|
276
|
-
* @see https://typescript-eslint.io/rules/no-extra-parens
|
|
277
|
-
* @deprecated
|
|
278
|
-
*/
|
|
279
|
-
'@typescript-eslint/no-extra-parens'?: Linter.RuleEntry<TypescriptEslintNoExtraParens>
|
|
280
|
-
/**
|
|
281
|
-
* Disallow unnecessary semicolons
|
|
282
|
-
* @see https://typescript-eslint.io/rules/no-extra-semi
|
|
283
|
-
* @deprecated
|
|
284
|
-
*/
|
|
285
|
-
'@typescript-eslint/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
286
239
|
/**
|
|
287
240
|
* Disallow classes used as namespaces
|
|
288
241
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -331,6 +284,7 @@ interface RuleOptions {
|
|
|
331
284
|
/**
|
|
332
285
|
* Disallow literal numbers that lose precision
|
|
333
286
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
287
|
+
* @deprecated
|
|
334
288
|
*/
|
|
335
289
|
'@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
336
290
|
/**
|
|
@@ -398,6 +352,11 @@ interface RuleOptions {
|
|
|
398
352
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
399
353
|
*/
|
|
400
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>
|
|
401
360
|
/**
|
|
402
361
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
403
362
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -408,12 +367,6 @@ interface RuleOptions {
|
|
|
408
367
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
409
368
|
*/
|
|
410
369
|
'@typescript-eslint/no-this-alias'?: Linter.RuleEntry<TypescriptEslintNoThisAlias>
|
|
411
|
-
/**
|
|
412
|
-
* Disallow throwing literals as exceptions
|
|
413
|
-
* @see https://typescript-eslint.io/rules/no-throw-literal
|
|
414
|
-
* @deprecated
|
|
415
|
-
*/
|
|
416
|
-
'@typescript-eslint/no-throw-literal'?: Linter.RuleEntry<TypescriptEslintNoThrowLiteral>
|
|
417
370
|
/**
|
|
418
371
|
* Disallow type aliases
|
|
419
372
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -430,11 +383,21 @@ interface RuleOptions {
|
|
|
430
383
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
431
384
|
*/
|
|
432
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<[]>
|
|
433
391
|
/**
|
|
434
392
|
* Disallow unnecessary namespace qualifiers
|
|
435
393
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
436
394
|
*/
|
|
437
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<[]>
|
|
438
401
|
/**
|
|
439
402
|
* Disallow type arguments that are equal to the default
|
|
440
403
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
@@ -450,6 +413,11 @@ interface RuleOptions {
|
|
|
450
413
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
451
414
|
*/
|
|
452
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<[]>
|
|
453
421
|
/**
|
|
454
422
|
* Disallow calling a function with a value with type `any`
|
|
455
423
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -475,6 +443,11 @@ interface RuleOptions {
|
|
|
475
443
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
476
444
|
*/
|
|
477
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<[]>
|
|
478
451
|
/**
|
|
479
452
|
* Disallow member access on a value with type `any`
|
|
480
453
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -515,38 +488,27 @@ interface RuleOptions {
|
|
|
515
488
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
516
489
|
*/
|
|
517
490
|
'@typescript-eslint/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
518
|
-
/**
|
|
519
|
-
* Disallow unnecessary template literals
|
|
520
|
-
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
521
|
-
*/
|
|
522
|
-
'@typescript-eslint/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
523
491
|
/**
|
|
524
492
|
* Disallow `require` statements except in import statements
|
|
525
493
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
494
|
+
* @deprecated
|
|
526
495
|
*/
|
|
527
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<[]>
|
|
528
502
|
/**
|
|
529
503
|
* Enforce non-null assertions over explicit type casts
|
|
530
504
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
531
505
|
*/
|
|
532
506
|
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
533
|
-
/**
|
|
534
|
-
* Enforce consistent spacing inside braces
|
|
535
|
-
* @see https://typescript-eslint.io/rules/object-curly-spacing
|
|
536
|
-
* @deprecated
|
|
537
|
-
*/
|
|
538
|
-
'@typescript-eslint/object-curly-spacing'?: Linter.RuleEntry<TypescriptEslintObjectCurlySpacing>
|
|
539
507
|
/**
|
|
540
508
|
* Disallow throwing non-`Error` values as exceptions
|
|
541
509
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
542
510
|
*/
|
|
543
511
|
'@typescript-eslint/only-throw-error'?: Linter.RuleEntry<TypescriptEslintOnlyThrowError>
|
|
544
|
-
/**
|
|
545
|
-
* Require or disallow padding lines between statements
|
|
546
|
-
* @see https://typescript-eslint.io/rules/padding-line-between-statements
|
|
547
|
-
* @deprecated
|
|
548
|
-
*/
|
|
549
|
-
'@typescript-eslint/padding-line-between-statements'?: Linter.RuleEntry<TypescriptEslintPaddingLineBetweenStatements>
|
|
550
512
|
/**
|
|
551
513
|
* Require or disallow parameter properties in class constructors
|
|
552
514
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -645,6 +607,7 @@ interface RuleOptions {
|
|
|
645
607
|
/**
|
|
646
608
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
647
609
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
610
|
+
* @deprecated
|
|
648
611
|
*/
|
|
649
612
|
'@typescript-eslint/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
650
613
|
/**
|
|
@@ -652,19 +615,13 @@ interface RuleOptions {
|
|
|
652
615
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
653
616
|
*/
|
|
654
617
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>
|
|
655
|
-
/**
|
|
656
|
-
* Enforce the consistent use of either backticks, double, or single quotes
|
|
657
|
-
* @see https://typescript-eslint.io/rules/quotes
|
|
658
|
-
* @deprecated
|
|
659
|
-
*/
|
|
660
|
-
'@typescript-eslint/quotes'?: Linter.RuleEntry<TypescriptEslintQuotes>
|
|
661
618
|
/**
|
|
662
619
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
663
620
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
664
621
|
*/
|
|
665
622
|
'@typescript-eslint/require-array-sort-compare'?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>
|
|
666
623
|
/**
|
|
667
|
-
* Disallow async functions which have no `await` expression
|
|
624
|
+
* Disallow async functions which do not return promises and have no `await` expression
|
|
668
625
|
* @see https://typescript-eslint.io/rules/require-await
|
|
669
626
|
*/
|
|
670
627
|
'@typescript-eslint/require-await'?: Linter.RuleEntry<[]>
|
|
@@ -679,39 +636,16 @@ interface RuleOptions {
|
|
|
679
636
|
*/
|
|
680
637
|
'@typescript-eslint/restrict-template-expressions'?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>
|
|
681
638
|
/**
|
|
682
|
-
* Enforce consistent
|
|
639
|
+
* Enforce consistent awaiting of returned promises
|
|
683
640
|
* @see https://typescript-eslint.io/rules/return-await
|
|
684
641
|
*/
|
|
685
642
|
'@typescript-eslint/return-await'?: Linter.RuleEntry<TypescriptEslintReturnAwait>
|
|
686
|
-
/**
|
|
687
|
-
* Require or disallow semicolons instead of ASI
|
|
688
|
-
* @see https://typescript-eslint.io/rules/semi
|
|
689
|
-
* @deprecated
|
|
690
|
-
*/
|
|
691
|
-
'@typescript-eslint/semi'?: Linter.RuleEntry<TypescriptEslintSemi>
|
|
692
643
|
/**
|
|
693
644
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
694
645
|
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
695
|
-
*/
|
|
696
|
-
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>
|
|
697
|
-
/**
|
|
698
|
-
* Enforce consistent spacing before blocks
|
|
699
|
-
* @see https://typescript-eslint.io/rules/space-before-blocks
|
|
700
|
-
* @deprecated
|
|
701
|
-
*/
|
|
702
|
-
'@typescript-eslint/space-before-blocks'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeBlocks>
|
|
703
|
-
/**
|
|
704
|
-
* Enforce consistent spacing before function parenthesis
|
|
705
|
-
* @see https://typescript-eslint.io/rules/space-before-function-paren
|
|
706
|
-
* @deprecated
|
|
707
|
-
*/
|
|
708
|
-
'@typescript-eslint/space-before-function-paren'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeFunctionParen>
|
|
709
|
-
/**
|
|
710
|
-
* Require spacing around infix operators
|
|
711
|
-
* @see https://typescript-eslint.io/rules/space-infix-ops
|
|
712
646
|
* @deprecated
|
|
713
647
|
*/
|
|
714
|
-
'@typescript-eslint/
|
|
648
|
+
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>
|
|
715
649
|
/**
|
|
716
650
|
* Disallow certain types in boolean expressions
|
|
717
651
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -727,12 +661,6 @@ interface RuleOptions {
|
|
|
727
661
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
728
662
|
*/
|
|
729
663
|
'@typescript-eslint/triple-slash-reference'?: Linter.RuleEntry<TypescriptEslintTripleSlashReference>
|
|
730
|
-
/**
|
|
731
|
-
* Require consistent spacing around type annotations
|
|
732
|
-
* @see https://typescript-eslint.io/rules/type-annotation-spacing
|
|
733
|
-
* @deprecated
|
|
734
|
-
*/
|
|
735
|
-
'@typescript-eslint/type-annotation-spacing'?: Linter.RuleEntry<TypescriptEslintTypeAnnotationSpacing>
|
|
736
664
|
/**
|
|
737
665
|
* Require type annotations in certain places
|
|
738
666
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -749,7 +677,7 @@ interface RuleOptions {
|
|
|
749
677
|
*/
|
|
750
678
|
'@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>
|
|
751
679
|
/**
|
|
752
|
-
* Enforce typing arguments in
|
|
680
|
+
* Enforce typing arguments in Promise rejection callbacks as `unknown`
|
|
753
681
|
* @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
754
682
|
*/
|
|
755
683
|
'@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
|
|
@@ -4049,6 +3977,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
4049
3977
|
}]
|
|
4050
3978
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
4051
3979
|
type TypescriptEslintBanTsComment = []|[{
|
|
3980
|
+
|
|
3981
|
+
minimumDescriptionLength?: number
|
|
3982
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
3983
|
+
descriptionFormat?: string
|
|
3984
|
+
})
|
|
4052
3985
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
4053
3986
|
descriptionFormat?: string
|
|
4054
3987
|
})
|
|
@@ -4058,61 +3991,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
4058
3991
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
4059
3992
|
descriptionFormat?: string
|
|
4060
3993
|
})
|
|
4061
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
4062
|
-
descriptionFormat?: string
|
|
4063
|
-
})
|
|
4064
|
-
minimumDescriptionLength?: number
|
|
4065
|
-
}]
|
|
4066
|
-
// ----- @typescript-eslint/ban-types -----
|
|
4067
|
-
type TypescriptEslintBanTypes = []|[{
|
|
4068
|
-
types?: {
|
|
4069
|
-
[k: string]: (null | false | true | string | {
|
|
4070
|
-
|
|
4071
|
-
message?: string
|
|
4072
|
-
|
|
4073
|
-
fixWith?: string
|
|
4074
|
-
|
|
4075
|
-
suggest?: string[]
|
|
4076
|
-
}) | undefined
|
|
4077
|
-
}
|
|
4078
|
-
extendDefaults?: boolean
|
|
4079
|
-
}]
|
|
4080
|
-
// ----- @typescript-eslint/block-spacing -----
|
|
4081
|
-
type TypescriptEslintBlockSpacing = []|[("always" | "never")]
|
|
4082
|
-
// ----- @typescript-eslint/brace-style -----
|
|
4083
|
-
type TypescriptEslintBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
|
|
4084
|
-
allowSingleLine?: boolean
|
|
4085
3994
|
}]
|
|
4086
3995
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
4087
3996
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
4088
3997
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
4089
3998
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
4090
3999
|
|
|
4091
|
-
exceptMethods?: string[]
|
|
4092
|
-
|
|
4093
4000
|
enforceForClassFields?: boolean
|
|
4094
4001
|
|
|
4095
|
-
|
|
4002
|
+
exceptMethods?: string[]
|
|
4096
4003
|
|
|
4097
4004
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
type TypescriptEslintCommaDangle = []|[(_TypescriptEslintCommaDangleValue | {
|
|
4101
|
-
arrays?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4102
|
-
objects?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4103
|
-
imports?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4104
|
-
exports?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4105
|
-
functions?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4106
|
-
enums?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4107
|
-
generics?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4108
|
-
tuples?: _TypescriptEslintCommaDangleValueWithIgnore
|
|
4109
|
-
})]
|
|
4110
|
-
type _TypescriptEslintCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
4111
|
-
type _TypescriptEslintCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
4112
|
-
// ----- @typescript-eslint/comma-spacing -----
|
|
4113
|
-
type TypescriptEslintCommaSpacing = []|[{
|
|
4114
|
-
before?: boolean
|
|
4115
|
-
after?: boolean
|
|
4005
|
+
|
|
4006
|
+
ignoreOverrideMethods?: boolean
|
|
4116
4007
|
}]
|
|
4117
4008
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
4118
4009
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -4124,61 +4015,76 @@ type TypescriptEslintConsistentReturn = []|[{
|
|
|
4124
4015
|
}]
|
|
4125
4016
|
// ----- @typescript-eslint/consistent-type-assertions -----
|
|
4126
4017
|
type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
4018
|
+
|
|
4127
4019
|
assertionStyle: "never"
|
|
4128
4020
|
} | {
|
|
4021
|
+
|
|
4129
4022
|
assertionStyle: ("as" | "angle-bracket")
|
|
4023
|
+
|
|
4130
4024
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
4131
4025
|
})]
|
|
4132
4026
|
// ----- @typescript-eslint/consistent-type-definitions -----
|
|
4133
4027
|
type TypescriptEslintConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
4134
4028
|
// ----- @typescript-eslint/consistent-type-exports -----
|
|
4135
4029
|
type TypescriptEslintConsistentTypeExports = []|[{
|
|
4030
|
+
|
|
4136
4031
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
4137
4032
|
}]
|
|
4138
4033
|
// ----- @typescript-eslint/consistent-type-imports -----
|
|
4139
4034
|
type TypescriptEslintConsistentTypeImports = []|[{
|
|
4035
|
+
|
|
4140
4036
|
disallowTypeAnnotations?: boolean
|
|
4037
|
+
|
|
4141
4038
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
4039
|
+
|
|
4142
4040
|
prefer?: ("type-imports" | "no-type-imports")
|
|
4143
4041
|
}]
|
|
4144
4042
|
// ----- @typescript-eslint/dot-notation -----
|
|
4145
4043
|
type TypescriptEslintDotNotation = []|[{
|
|
4044
|
+
|
|
4045
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
4046
|
+
|
|
4146
4047
|
allowKeywords?: boolean
|
|
4048
|
+
|
|
4147
4049
|
allowPattern?: string
|
|
4050
|
+
|
|
4148
4051
|
allowPrivateClassPropertyAccess?: boolean
|
|
4052
|
+
|
|
4149
4053
|
allowProtectedClassPropertyAccess?: boolean
|
|
4150
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
4151
4054
|
}]
|
|
4152
4055
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
4153
4056
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
4154
4057
|
|
|
4155
4058
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
4156
4059
|
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
allowHigherOrderFunctions?: boolean
|
|
4060
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
4160
4061
|
|
|
4161
|
-
|
|
4062
|
+
allowedNames?: string[]
|
|
4162
4063
|
|
|
4163
|
-
|
|
4064
|
+
allowExpressions?: boolean
|
|
4164
4065
|
|
|
4165
4066
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
4166
4067
|
|
|
4167
|
-
|
|
4068
|
+
allowHigherOrderFunctions?: boolean
|
|
4168
4069
|
|
|
4169
4070
|
allowIIFEs?: boolean
|
|
4071
|
+
|
|
4072
|
+
allowTypedFunctionExpressions?: boolean
|
|
4170
4073
|
}]
|
|
4171
4074
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
4172
4075
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
4076
|
+
|
|
4173
4077
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
4078
|
+
|
|
4079
|
+
ignoredMethodNames?: string[]
|
|
4080
|
+
|
|
4174
4081
|
overrides?: {
|
|
4175
4082
|
accessors?: ("explicit" | "no-public" | "off")
|
|
4176
4083
|
constructors?: ("explicit" | "no-public" | "off")
|
|
4177
4084
|
methods?: ("explicit" | "no-public" | "off")
|
|
4178
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
4179
4085
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
4086
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
4180
4087
|
}
|
|
4181
|
-
ignoredMethodNames?: string[]
|
|
4182
4088
|
}]
|
|
4183
4089
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
4184
4090
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -4193,485 +4099,45 @@ type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
|
4193
4099
|
|
|
4194
4100
|
allowTypedFunctionExpressions?: boolean
|
|
4195
4101
|
}]
|
|
4196
|
-
// ----- @typescript-eslint/func-call-spacing -----
|
|
4197
|
-
type TypescriptEslintFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
4198
|
-
allowNewlines?: boolean
|
|
4199
|
-
}])
|
|
4200
|
-
// ----- @typescript-eslint/indent -----
|
|
4201
|
-
type TypescriptEslintIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
4202
|
-
SwitchCase?: number
|
|
4203
|
-
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
4204
|
-
var?: (number | ("first" | "off"))
|
|
4205
|
-
let?: (number | ("first" | "off"))
|
|
4206
|
-
const?: (number | ("first" | "off"))
|
|
4207
|
-
})
|
|
4208
|
-
outerIIFEBody?: (number | "off")
|
|
4209
|
-
MemberExpression?: (number | "off")
|
|
4210
|
-
FunctionDeclaration?: {
|
|
4211
|
-
parameters?: (number | ("first" | "off"))
|
|
4212
|
-
body?: number
|
|
4213
|
-
}
|
|
4214
|
-
FunctionExpression?: {
|
|
4215
|
-
parameters?: (number | ("first" | "off"))
|
|
4216
|
-
body?: number
|
|
4217
|
-
}
|
|
4218
|
-
StaticBlock?: {
|
|
4219
|
-
body?: number
|
|
4220
|
-
}
|
|
4221
|
-
CallExpression?: {
|
|
4222
|
-
arguments?: (number | ("first" | "off"))
|
|
4223
|
-
}
|
|
4224
|
-
ArrayExpression?: (number | ("first" | "off"))
|
|
4225
|
-
ObjectExpression?: (number | ("first" | "off"))
|
|
4226
|
-
ImportDeclaration?: (number | ("first" | "off"))
|
|
4227
|
-
flatTernaryExpressions?: boolean
|
|
4228
|
-
offsetTernaryExpressions?: boolean
|
|
4229
|
-
ignoredNodes?: string[]
|
|
4230
|
-
ignoreComments?: boolean
|
|
4231
|
-
}]
|
|
4232
4102
|
// ----- @typescript-eslint/init-declarations -----
|
|
4233
4103
|
type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
4234
4104
|
ignoreForLoopInit?: boolean
|
|
4235
4105
|
}])
|
|
4236
|
-
// ----- @typescript-eslint/
|
|
4237
|
-
type
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
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")
|
|
4243
4121
|
})
|
|
4244
|
-
|
|
4245
|
-
beforeColon?: boolean
|
|
4246
|
-
afterColon?: boolean
|
|
4247
|
-
} | {
|
|
4248
|
-
singleLine?: {
|
|
4249
|
-
mode?: ("strict" | "minimum")
|
|
4250
|
-
beforeColon?: boolean
|
|
4251
|
-
afterColon?: boolean
|
|
4252
|
-
}
|
|
4253
|
-
multiLine?: {
|
|
4254
|
-
align?: (("colon" | "value") | {
|
|
4255
|
-
mode?: ("strict" | "minimum")
|
|
4256
|
-
on?: ("colon" | "value")
|
|
4257
|
-
beforeColon?: boolean
|
|
4258
|
-
afterColon?: boolean
|
|
4259
|
-
})
|
|
4260
|
-
mode?: ("strict" | "minimum")
|
|
4261
|
-
beforeColon?: boolean
|
|
4262
|
-
afterColon?: boolean
|
|
4263
|
-
}
|
|
4264
|
-
} | {
|
|
4265
|
-
singleLine?: {
|
|
4266
|
-
mode?: ("strict" | "minimum")
|
|
4267
|
-
beforeColon?: boolean
|
|
4268
|
-
afterColon?: boolean
|
|
4269
|
-
}
|
|
4270
|
-
multiLine?: {
|
|
4271
|
-
mode?: ("strict" | "minimum")
|
|
4272
|
-
beforeColon?: boolean
|
|
4273
|
-
afterColon?: boolean
|
|
4274
|
-
}
|
|
4275
|
-
align?: {
|
|
4276
|
-
mode?: ("strict" | "minimum")
|
|
4277
|
-
on?: ("colon" | "value")
|
|
4278
|
-
beforeColon?: boolean
|
|
4279
|
-
afterColon?: boolean
|
|
4280
|
-
}
|
|
4281
|
-
})]
|
|
4282
|
-
// ----- @typescript-eslint/keyword-spacing -----
|
|
4283
|
-
type TypescriptEslintKeywordSpacing = []|[{
|
|
4284
|
-
before?: boolean
|
|
4285
|
-
after?: boolean
|
|
4286
|
-
overrides?: {
|
|
4287
|
-
abstract?: {
|
|
4288
|
-
before?: boolean
|
|
4289
|
-
after?: boolean
|
|
4290
|
-
}
|
|
4291
|
-
as?: {
|
|
4292
|
-
before?: boolean
|
|
4293
|
-
after?: boolean
|
|
4294
|
-
}
|
|
4295
|
-
async?: {
|
|
4296
|
-
before?: boolean
|
|
4297
|
-
after?: boolean
|
|
4298
|
-
}
|
|
4299
|
-
await?: {
|
|
4300
|
-
before?: boolean
|
|
4301
|
-
after?: boolean
|
|
4302
|
-
}
|
|
4303
|
-
boolean?: {
|
|
4304
|
-
before?: boolean
|
|
4305
|
-
after?: boolean
|
|
4306
|
-
}
|
|
4307
|
-
break?: {
|
|
4308
|
-
before?: boolean
|
|
4309
|
-
after?: boolean
|
|
4310
|
-
}
|
|
4311
|
-
byte?: {
|
|
4312
|
-
before?: boolean
|
|
4313
|
-
after?: boolean
|
|
4314
|
-
}
|
|
4315
|
-
case?: {
|
|
4316
|
-
before?: boolean
|
|
4317
|
-
after?: boolean
|
|
4318
|
-
}
|
|
4319
|
-
catch?: {
|
|
4320
|
-
before?: boolean
|
|
4321
|
-
after?: boolean
|
|
4322
|
-
}
|
|
4323
|
-
char?: {
|
|
4324
|
-
before?: boolean
|
|
4325
|
-
after?: boolean
|
|
4326
|
-
}
|
|
4327
|
-
class?: {
|
|
4328
|
-
before?: boolean
|
|
4329
|
-
after?: boolean
|
|
4330
|
-
}
|
|
4331
|
-
const?: {
|
|
4332
|
-
before?: boolean
|
|
4333
|
-
after?: boolean
|
|
4334
|
-
}
|
|
4335
|
-
continue?: {
|
|
4336
|
-
before?: boolean
|
|
4337
|
-
after?: boolean
|
|
4338
|
-
}
|
|
4339
|
-
debugger?: {
|
|
4340
|
-
before?: boolean
|
|
4341
|
-
after?: boolean
|
|
4342
|
-
}
|
|
4343
|
-
default?: {
|
|
4344
|
-
before?: boolean
|
|
4345
|
-
after?: boolean
|
|
4346
|
-
}
|
|
4347
|
-
delete?: {
|
|
4348
|
-
before?: boolean
|
|
4349
|
-
after?: boolean
|
|
4350
|
-
}
|
|
4351
|
-
do?: {
|
|
4352
|
-
before?: boolean
|
|
4353
|
-
after?: boolean
|
|
4354
|
-
}
|
|
4355
|
-
double?: {
|
|
4356
|
-
before?: boolean
|
|
4357
|
-
after?: boolean
|
|
4358
|
-
}
|
|
4359
|
-
else?: {
|
|
4360
|
-
before?: boolean
|
|
4361
|
-
after?: boolean
|
|
4362
|
-
}
|
|
4363
|
-
enum?: {
|
|
4364
|
-
before?: boolean
|
|
4365
|
-
after?: boolean
|
|
4366
|
-
}
|
|
4367
|
-
export?: {
|
|
4368
|
-
before?: boolean
|
|
4369
|
-
after?: boolean
|
|
4370
|
-
}
|
|
4371
|
-
extends?: {
|
|
4372
|
-
before?: boolean
|
|
4373
|
-
after?: boolean
|
|
4374
|
-
}
|
|
4375
|
-
false?: {
|
|
4376
|
-
before?: boolean
|
|
4377
|
-
after?: boolean
|
|
4378
|
-
}
|
|
4379
|
-
final?: {
|
|
4380
|
-
before?: boolean
|
|
4381
|
-
after?: boolean
|
|
4382
|
-
}
|
|
4383
|
-
finally?: {
|
|
4384
|
-
before?: boolean
|
|
4385
|
-
after?: boolean
|
|
4386
|
-
}
|
|
4387
|
-
float?: {
|
|
4388
|
-
before?: boolean
|
|
4389
|
-
after?: boolean
|
|
4390
|
-
}
|
|
4391
|
-
for?: {
|
|
4392
|
-
before?: boolean
|
|
4393
|
-
after?: boolean
|
|
4394
|
-
}
|
|
4395
|
-
from?: {
|
|
4396
|
-
before?: boolean
|
|
4397
|
-
after?: boolean
|
|
4398
|
-
}
|
|
4399
|
-
function?: {
|
|
4400
|
-
before?: boolean
|
|
4401
|
-
after?: boolean
|
|
4402
|
-
}
|
|
4403
|
-
get?: {
|
|
4404
|
-
before?: boolean
|
|
4405
|
-
after?: boolean
|
|
4406
|
-
}
|
|
4407
|
-
goto?: {
|
|
4408
|
-
before?: boolean
|
|
4409
|
-
after?: boolean
|
|
4410
|
-
}
|
|
4411
|
-
if?: {
|
|
4412
|
-
before?: boolean
|
|
4413
|
-
after?: boolean
|
|
4414
|
-
}
|
|
4415
|
-
implements?: {
|
|
4416
|
-
before?: boolean
|
|
4417
|
-
after?: boolean
|
|
4418
|
-
}
|
|
4419
|
-
import?: {
|
|
4420
|
-
before?: boolean
|
|
4421
|
-
after?: boolean
|
|
4422
|
-
}
|
|
4423
|
-
in?: {
|
|
4424
|
-
before?: boolean
|
|
4425
|
-
after?: boolean
|
|
4426
|
-
}
|
|
4427
|
-
instanceof?: {
|
|
4428
|
-
before?: boolean
|
|
4429
|
-
after?: boolean
|
|
4430
|
-
}
|
|
4431
|
-
int?: {
|
|
4432
|
-
before?: boolean
|
|
4433
|
-
after?: boolean
|
|
4434
|
-
}
|
|
4435
|
-
interface?: {
|
|
4436
|
-
before?: boolean
|
|
4437
|
-
after?: boolean
|
|
4438
|
-
}
|
|
4439
|
-
let?: {
|
|
4440
|
-
before?: boolean
|
|
4441
|
-
after?: boolean
|
|
4442
|
-
}
|
|
4443
|
-
long?: {
|
|
4444
|
-
before?: boolean
|
|
4445
|
-
after?: boolean
|
|
4446
|
-
}
|
|
4447
|
-
native?: {
|
|
4448
|
-
before?: boolean
|
|
4449
|
-
after?: boolean
|
|
4450
|
-
}
|
|
4451
|
-
new?: {
|
|
4452
|
-
before?: boolean
|
|
4453
|
-
after?: boolean
|
|
4454
|
-
}
|
|
4455
|
-
null?: {
|
|
4456
|
-
before?: boolean
|
|
4457
|
-
after?: boolean
|
|
4458
|
-
}
|
|
4459
|
-
of?: {
|
|
4460
|
-
before?: boolean
|
|
4461
|
-
after?: boolean
|
|
4462
|
-
}
|
|
4463
|
-
package?: {
|
|
4464
|
-
before?: boolean
|
|
4465
|
-
after?: boolean
|
|
4466
|
-
}
|
|
4467
|
-
private?: {
|
|
4468
|
-
before?: boolean
|
|
4469
|
-
after?: boolean
|
|
4470
|
-
}
|
|
4471
|
-
protected?: {
|
|
4472
|
-
before?: boolean
|
|
4473
|
-
after?: boolean
|
|
4474
|
-
}
|
|
4475
|
-
public?: {
|
|
4476
|
-
before?: boolean
|
|
4477
|
-
after?: boolean
|
|
4478
|
-
}
|
|
4479
|
-
return?: {
|
|
4480
|
-
before?: boolean
|
|
4481
|
-
after?: boolean
|
|
4482
|
-
}
|
|
4483
|
-
set?: {
|
|
4484
|
-
before?: boolean
|
|
4485
|
-
after?: boolean
|
|
4486
|
-
}
|
|
4487
|
-
short?: {
|
|
4488
|
-
before?: boolean
|
|
4489
|
-
after?: boolean
|
|
4490
|
-
}
|
|
4491
|
-
static?: {
|
|
4492
|
-
before?: boolean
|
|
4493
|
-
after?: boolean
|
|
4494
|
-
}
|
|
4495
|
-
super?: {
|
|
4496
|
-
before?: boolean
|
|
4497
|
-
after?: boolean
|
|
4498
|
-
}
|
|
4499
|
-
switch?: {
|
|
4500
|
-
before?: boolean
|
|
4501
|
-
after?: boolean
|
|
4502
|
-
}
|
|
4503
|
-
synchronized?: {
|
|
4504
|
-
before?: boolean
|
|
4505
|
-
after?: boolean
|
|
4506
|
-
}
|
|
4507
|
-
this?: {
|
|
4508
|
-
before?: boolean
|
|
4509
|
-
after?: boolean
|
|
4510
|
-
}
|
|
4511
|
-
throw?: {
|
|
4512
|
-
before?: boolean
|
|
4513
|
-
after?: boolean
|
|
4514
|
-
}
|
|
4515
|
-
throws?: {
|
|
4516
|
-
before?: boolean
|
|
4517
|
-
after?: boolean
|
|
4518
|
-
}
|
|
4519
|
-
transient?: {
|
|
4520
|
-
before?: boolean
|
|
4521
|
-
after?: boolean
|
|
4522
|
-
}
|
|
4523
|
-
true?: {
|
|
4524
|
-
before?: boolean
|
|
4525
|
-
after?: boolean
|
|
4526
|
-
}
|
|
4527
|
-
try?: {
|
|
4528
|
-
before?: boolean
|
|
4529
|
-
after?: boolean
|
|
4530
|
-
}
|
|
4531
|
-
typeof?: {
|
|
4532
|
-
before?: boolean
|
|
4533
|
-
after?: boolean
|
|
4534
|
-
}
|
|
4535
|
-
var?: {
|
|
4536
|
-
before?: boolean
|
|
4537
|
-
after?: boolean
|
|
4538
|
-
}
|
|
4539
|
-
void?: {
|
|
4540
|
-
before?: boolean
|
|
4541
|
-
after?: boolean
|
|
4542
|
-
}
|
|
4543
|
-
volatile?: {
|
|
4544
|
-
before?: boolean
|
|
4545
|
-
after?: boolean
|
|
4546
|
-
}
|
|
4547
|
-
while?: {
|
|
4548
|
-
before?: boolean
|
|
4549
|
-
after?: boolean
|
|
4550
|
-
}
|
|
4551
|
-
with?: {
|
|
4552
|
-
before?: boolean
|
|
4553
|
-
after?: boolean
|
|
4554
|
-
}
|
|
4555
|
-
yield?: {
|
|
4556
|
-
before?: boolean
|
|
4557
|
-
after?: boolean
|
|
4558
|
-
}
|
|
4559
|
-
type?: {
|
|
4560
|
-
before?: boolean
|
|
4561
|
-
after?: boolean
|
|
4562
|
-
}
|
|
4563
|
-
}
|
|
4564
|
-
}]
|
|
4565
|
-
// ----- @typescript-eslint/lines-around-comment -----
|
|
4566
|
-
type TypescriptEslintLinesAroundComment = []|[{
|
|
4567
|
-
beforeBlockComment?: boolean
|
|
4568
|
-
afterBlockComment?: boolean
|
|
4569
|
-
beforeLineComment?: boolean
|
|
4570
|
-
afterLineComment?: boolean
|
|
4571
|
-
allowBlockStart?: boolean
|
|
4572
|
-
allowBlockEnd?: boolean
|
|
4573
|
-
allowClassStart?: boolean
|
|
4574
|
-
allowClassEnd?: boolean
|
|
4575
|
-
allowObjectStart?: boolean
|
|
4576
|
-
allowObjectEnd?: boolean
|
|
4577
|
-
allowArrayStart?: boolean
|
|
4578
|
-
allowArrayEnd?: boolean
|
|
4579
|
-
allowInterfaceStart?: boolean
|
|
4580
|
-
allowInterfaceEnd?: boolean
|
|
4581
|
-
allowTypeStart?: boolean
|
|
4582
|
-
allowTypeEnd?: boolean
|
|
4583
|
-
allowEnumStart?: boolean
|
|
4584
|
-
allowEnumEnd?: boolean
|
|
4585
|
-
allowModuleStart?: boolean
|
|
4586
|
-
allowModuleEnd?: boolean
|
|
4587
|
-
ignorePattern?: string
|
|
4588
|
-
applyDefaultIgnorePatterns?: boolean
|
|
4589
|
-
}]
|
|
4590
|
-
// ----- @typescript-eslint/lines-between-class-members -----
|
|
4591
|
-
type TypescriptEslintLinesBetweenClassMembers = []|[({
|
|
4592
|
-
|
|
4593
|
-
enforce: [{
|
|
4594
|
-
blankLine: ("always" | "never")
|
|
4595
|
-
prev: ("method" | "field" | "*")
|
|
4596
|
-
next: ("method" | "field" | "*")
|
|
4597
|
-
}, ...({
|
|
4598
|
-
blankLine: ("always" | "never")
|
|
4599
|
-
prev: ("method" | "field" | "*")
|
|
4600
|
-
next: ("method" | "field" | "*")
|
|
4601
|
-
})[]]
|
|
4602
|
-
} | ("always" | "never"))]|[({
|
|
4603
|
-
|
|
4604
|
-
enforce: [{
|
|
4605
|
-
blankLine: ("always" | "never")
|
|
4606
|
-
prev: ("method" | "field" | "*")
|
|
4607
|
-
next: ("method" | "field" | "*")
|
|
4608
|
-
}, ...({
|
|
4609
|
-
blankLine: ("always" | "never")
|
|
4610
|
-
prev: ("method" | "field" | "*")
|
|
4611
|
-
next: ("method" | "field" | "*")
|
|
4612
|
-
})[]]
|
|
4613
|
-
} | ("always" | "never")), {
|
|
4614
|
-
exceptAfterSingleLine?: boolean
|
|
4615
|
-
exceptAfterOverload?: boolean
|
|
4616
|
-
}]
|
|
4617
|
-
// ----- @typescript-eslint/max-params -----
|
|
4618
|
-
type TypescriptEslintMaxParams = []|[{
|
|
4619
|
-
maximum?: number
|
|
4620
|
-
max?: number
|
|
4621
|
-
countVoidThis?: boolean
|
|
4622
|
-
}]
|
|
4623
|
-
// ----- @typescript-eslint/member-delimiter-style -----
|
|
4624
|
-
type TypescriptEslintMemberDelimiterStyle = []|[{
|
|
4625
|
-
multiline?: {
|
|
4626
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
4627
|
-
requireLast?: boolean
|
|
4628
|
-
}
|
|
4629
|
-
singleline?: {
|
|
4630
|
-
delimiter?: ("semi" | "comma")
|
|
4631
|
-
requireLast?: boolean
|
|
4632
|
-
}
|
|
4633
|
-
overrides?: {
|
|
4634
|
-
interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig
|
|
4635
|
-
typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig
|
|
4636
|
-
}
|
|
4637
|
-
multilineDetection?: ("brackets" | "last-member")
|
|
4638
|
-
}]
|
|
4639
|
-
interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
|
|
4640
|
-
multiline?: {
|
|
4641
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
4642
|
-
requireLast?: boolean
|
|
4643
|
-
}
|
|
4644
|
-
singleline?: {
|
|
4645
|
-
delimiter?: ("semi" | "comma")
|
|
4646
|
-
requireLast?: boolean
|
|
4647
|
-
}
|
|
4648
|
-
}
|
|
4649
|
-
// ----- @typescript-eslint/member-ordering -----
|
|
4650
|
-
type TypescriptEslintMemberOrdering = []|[{
|
|
4651
|
-
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")[])[] | {
|
|
4652
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")
|
|
4653
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4654
4124
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4655
|
-
})
|
|
4656
|
-
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")[])[] | {
|
|
4657
|
-
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")
|
|
4658
4125
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4659
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
4660
4126
|
})
|
|
4661
|
-
|
|
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")[])[] | {
|
|
4662
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")
|
|
4663
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4664
4129
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4130
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4665
4131
|
})
|
|
4666
4132
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4667
4133
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
4668
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4669
4134
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4135
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4670
4136
|
})
|
|
4671
4137
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4672
4138
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
4673
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4674
4139
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4140
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4675
4141
|
})
|
|
4676
4142
|
}]
|
|
4677
4143
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -4683,310 +4149,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
4683
4149
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
4684
4150
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
4685
4151
|
type TypescriptEslintNamingConvention = ({
|
|
4686
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4687
4152
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4153
|
+
failureMessage?: string
|
|
4154
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4688
4155
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4689
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4690
4156
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4691
4157
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4692
|
-
|
|
4158
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4693
4159
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4694
|
-
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")[]
|
|
4695
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")[]
|
|
4696
4162
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4697
4163
|
} | {
|
|
4698
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4699
4164
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4165
|
+
failureMessage?: string
|
|
4166
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4700
4167
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4701
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4702
4168
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4703
4169
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4704
|
-
|
|
4170
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4705
4171
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4706
4172
|
selector: "default"
|
|
4707
4173
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
4708
4174
|
} | {
|
|
4709
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4710
4175
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4176
|
+
failureMessage?: string
|
|
4177
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4711
4178
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4712
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4713
4179
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4714
4180
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4715
|
-
|
|
4181
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4716
4182
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4717
4183
|
selector: "variableLike"
|
|
4718
4184
|
modifiers?: ("unused" | "async")[]
|
|
4719
4185
|
} | {
|
|
4720
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4721
4186
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4187
|
+
failureMessage?: string
|
|
4188
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4722
4189
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4723
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4724
4190
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4725
4191
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4726
|
-
|
|
4192
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4727
4193
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4728
4194
|
selector: "variable"
|
|
4729
4195
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
4730
4196
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4731
4197
|
} | {
|
|
4732
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4733
4198
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4199
|
+
failureMessage?: string
|
|
4200
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4734
4201
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4735
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4736
4202
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4737
4203
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4738
|
-
|
|
4204
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4739
4205
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4740
4206
|
selector: "function"
|
|
4741
4207
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
4742
4208
|
} | {
|
|
4743
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4744
4209
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4210
|
+
failureMessage?: string
|
|
4211
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4745
4212
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4746
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4747
4213
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4748
4214
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4749
|
-
|
|
4215
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4750
4216
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4751
4217
|
selector: "parameter"
|
|
4752
4218
|
modifiers?: ("destructured" | "unused")[]
|
|
4753
4219
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4754
4220
|
} | {
|
|
4755
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4756
4221
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4222
|
+
failureMessage?: string
|
|
4223
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4757
4224
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4758
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4759
4225
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4760
4226
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4761
|
-
|
|
4227
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4762
4228
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4763
4229
|
selector: "memberLike"
|
|
4764
4230
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4765
4231
|
} | {
|
|
4766
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4767
4232
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4233
|
+
failureMessage?: string
|
|
4234
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4768
4235
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4769
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4770
4236
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4771
4237
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4772
|
-
|
|
4238
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4773
4239
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4774
4240
|
selector: "classProperty"
|
|
4775
4241
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
4776
4242
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4777
4243
|
} | {
|
|
4778
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4779
4244
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4245
|
+
failureMessage?: string
|
|
4246
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4780
4247
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4781
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4782
4248
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4783
4249
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4784
|
-
|
|
4250
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4785
4251
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4786
4252
|
selector: "objectLiteralProperty"
|
|
4787
4253
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4788
4254
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4789
4255
|
} | {
|
|
4790
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4791
4256
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4257
|
+
failureMessage?: string
|
|
4258
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4792
4259
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4793
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4794
4260
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4795
4261
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4796
|
-
|
|
4262
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4797
4263
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4798
4264
|
selector: "typeProperty"
|
|
4799
4265
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
4800
4266
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4801
4267
|
} | {
|
|
4802
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4803
4268
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4269
|
+
failureMessage?: string
|
|
4270
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4804
4271
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4805
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4806
4272
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4807
4273
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4808
|
-
|
|
4274
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4809
4275
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4810
4276
|
selector: "parameterProperty"
|
|
4811
4277
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
4812
4278
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4813
4279
|
} | {
|
|
4814
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4815
4280
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4281
|
+
failureMessage?: string
|
|
4282
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4816
4283
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4817
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4818
4284
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4819
4285
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4820
|
-
|
|
4286
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4821
4287
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4822
4288
|
selector: "property"
|
|
4823
4289
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4824
4290
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4825
4291
|
} | {
|
|
4826
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4827
4292
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4293
|
+
failureMessage?: string
|
|
4294
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4828
4295
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4829
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4830
4296
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4831
4297
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4832
|
-
|
|
4298
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4833
4299
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4834
4300
|
selector: "classMethod"
|
|
4835
4301
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4836
4302
|
} | {
|
|
4837
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4838
4303
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4304
|
+
failureMessage?: string
|
|
4305
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4839
4306
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4840
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4841
4307
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4842
4308
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4843
|
-
|
|
4309
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4844
4310
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4845
4311
|
selector: "objectLiteralMethod"
|
|
4846
4312
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
4847
4313
|
} | {
|
|
4848
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4849
4314
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4315
|
+
failureMessage?: string
|
|
4316
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4850
4317
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4851
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4852
4318
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4853
4319
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4854
|
-
|
|
4320
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4855
4321
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4856
4322
|
selector: "typeMethod"
|
|
4857
4323
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4858
4324
|
} | {
|
|
4859
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4860
4325
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4326
|
+
failureMessage?: string
|
|
4327
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4861
4328
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4862
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4863
4329
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4864
4330
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4865
|
-
|
|
4331
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4866
4332
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4867
4333
|
selector: "method"
|
|
4868
4334
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4869
4335
|
} | {
|
|
4870
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4871
4336
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4337
|
+
failureMessage?: string
|
|
4338
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4872
4339
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4873
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4874
4340
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4875
4341
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4876
|
-
|
|
4342
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4877
4343
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4878
4344
|
selector: "classicAccessor"
|
|
4879
4345
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4880
4346
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4881
4347
|
} | {
|
|
4882
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4883
4348
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4349
|
+
failureMessage?: string
|
|
4350
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4884
4351
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4885
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4886
4352
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4887
4353
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4888
|
-
|
|
4354
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4889
4355
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4890
4356
|
selector: "autoAccessor"
|
|
4891
4357
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4892
4358
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4893
4359
|
} | {
|
|
4894
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4895
4360
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4361
|
+
failureMessage?: string
|
|
4362
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4896
4363
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4897
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4898
4364
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4899
4365
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4900
|
-
|
|
4366
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4901
4367
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4902
4368
|
selector: "accessor"
|
|
4903
4369
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4904
4370
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4905
4371
|
} | {
|
|
4906
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4907
4372
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4373
|
+
failureMessage?: string
|
|
4374
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4908
4375
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4909
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4910
4376
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4911
4377
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4912
|
-
|
|
4378
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4913
4379
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4914
4380
|
selector: "enumMember"
|
|
4915
4381
|
modifiers?: ("requiresQuotes")[]
|
|
4916
4382
|
} | {
|
|
4917
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4918
4383
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4384
|
+
failureMessage?: string
|
|
4385
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4919
4386
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4920
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4921
4387
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4922
4388
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4923
|
-
|
|
4389
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4924
4390
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4925
4391
|
selector: "typeLike"
|
|
4926
4392
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4927
4393
|
} | {
|
|
4928
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4929
4394
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4395
|
+
failureMessage?: string
|
|
4396
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4930
4397
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4931
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4932
4398
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4933
4399
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4934
|
-
|
|
4400
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4935
4401
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4936
4402
|
selector: "class"
|
|
4937
4403
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4938
4404
|
} | {
|
|
4939
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4940
4405
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4406
|
+
failureMessage?: string
|
|
4407
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4941
4408
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4942
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4943
4409
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4944
4410
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4945
|
-
|
|
4411
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4946
4412
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4947
4413
|
selector: "interface"
|
|
4948
4414
|
modifiers?: ("exported" | "unused")[]
|
|
4949
4415
|
} | {
|
|
4950
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4951
4416
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4417
|
+
failureMessage?: string
|
|
4418
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4952
4419
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4953
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4954
4420
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4955
4421
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4956
|
-
|
|
4422
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4957
4423
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4958
4424
|
selector: "typeAlias"
|
|
4959
4425
|
modifiers?: ("exported" | "unused")[]
|
|
4960
4426
|
} | {
|
|
4961
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4962
4427
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4428
|
+
failureMessage?: string
|
|
4429
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4963
4430
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4964
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4965
4431
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4966
4432
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4967
|
-
|
|
4433
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4968
4434
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4969
4435
|
selector: "enum"
|
|
4970
4436
|
modifiers?: ("exported" | "unused")[]
|
|
4971
4437
|
} | {
|
|
4972
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4973
4438
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4439
|
+
failureMessage?: string
|
|
4440
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4974
4441
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4975
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4976
4442
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4977
4443
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4978
|
-
|
|
4444
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4979
4445
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4980
4446
|
selector: "typeParameter"
|
|
4981
4447
|
modifiers?: ("unused")[]
|
|
4982
4448
|
} | {
|
|
4983
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4984
4449
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4450
|
+
failureMessage?: string
|
|
4451
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4985
4452
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4986
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4987
4453
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4988
4454
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4989
|
-
|
|
4455
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4990
4456
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4991
4457
|
selector: "import"
|
|
4992
4458
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -4997,46 +4463,49 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
4997
4463
|
}
|
|
4998
4464
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
4999
4465
|
type TypescriptEslintNoBaseToString = []|[{
|
|
4466
|
+
|
|
5000
4467
|
ignoredTypeNames?: string[]
|
|
5001
4468
|
}]
|
|
5002
4469
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
5003
4470
|
type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
4471
|
+
|
|
5004
4472
|
ignoreArrowShorthand?: boolean
|
|
4473
|
+
|
|
5005
4474
|
ignoreVoidOperator?: boolean
|
|
5006
4475
|
}]
|
|
5007
4476
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
5008
4477
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
4478
|
+
|
|
5009
4479
|
ignoreIntersections?: boolean
|
|
4480
|
+
|
|
5010
4481
|
ignoreUnions?: boolean
|
|
5011
4482
|
}]
|
|
5012
4483
|
// ----- @typescript-eslint/no-empty-function -----
|
|
5013
4484
|
type TypescriptEslintNoEmptyFunction = []|[{
|
|
4485
|
+
|
|
5014
4486
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
5015
4487
|
}]
|
|
5016
4488
|
// ----- @typescript-eslint/no-empty-interface -----
|
|
5017
4489
|
type TypescriptEslintNoEmptyInterface = []|[{
|
|
4490
|
+
|
|
5018
4491
|
allowSingleExtends?: boolean
|
|
5019
4492
|
}]
|
|
5020
|
-
// ----- @typescript-eslint/no-
|
|
5021
|
-
type
|
|
4493
|
+
// ----- @typescript-eslint/no-empty-object-type -----
|
|
4494
|
+
type TypescriptEslintNoEmptyObjectType = []|[{
|
|
5022
4495
|
|
|
5023
|
-
|
|
4496
|
+
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
5024
4497
|
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
enforceForNewInMemberExpressions?: boolean
|
|
5037
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
5038
|
-
allowParensAfterCommentPattern?: string
|
|
5039
|
-
}])
|
|
4498
|
+
allowObjectTypes?: ("always" | "never")
|
|
4499
|
+
|
|
4500
|
+
allowWithName?: string
|
|
4501
|
+
}]
|
|
4502
|
+
// ----- @typescript-eslint/no-explicit-any -----
|
|
4503
|
+
type TypescriptEslintNoExplicitAny = []|[{
|
|
4504
|
+
|
|
4505
|
+
fixToUnknown?: boolean
|
|
4506
|
+
|
|
4507
|
+
ignoreRestArgs?: boolean
|
|
4508
|
+
}]
|
|
5040
4509
|
// ----- @typescript-eslint/no-extraneous-class -----
|
|
5041
4510
|
type TypescriptEslintNoExtraneousClass = []|[{
|
|
5042
4511
|
|
|
@@ -5051,13 +4520,43 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
5051
4520
|
// ----- @typescript-eslint/no-floating-promises -----
|
|
5052
4521
|
type TypescriptEslintNoFloatingPromises = []|[{
|
|
5053
4522
|
|
|
5054
|
-
|
|
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
|
|
5055
4550
|
|
|
5056
4551
|
ignoreIIFE?: boolean
|
|
4552
|
+
|
|
4553
|
+
ignoreVoid?: boolean
|
|
5057
4554
|
}]
|
|
5058
4555
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
5059
4556
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
4557
|
+
|
|
5060
4558
|
ignoreParameters?: boolean
|
|
4559
|
+
|
|
5061
4560
|
ignoreProperties?: boolean
|
|
5062
4561
|
}]
|
|
5063
4562
|
// ----- @typescript-eslint/no-invalid-this -----
|
|
@@ -5066,8 +4565,10 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
5066
4565
|
}]
|
|
5067
4566
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
5068
4567
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
5069
|
-
|
|
4568
|
+
|
|
5070
4569
|
allowAsThisParameter?: boolean
|
|
4570
|
+
|
|
4571
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
5071
4572
|
}]
|
|
5072
4573
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
5073
4574
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -5077,26 +4578,41 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
5077
4578
|
ignoreArrayIndexes?: boolean
|
|
5078
4579
|
ignoreDefaultValues?: boolean
|
|
5079
4580
|
ignoreClassFieldInitialValues?: boolean
|
|
5080
|
-
|
|
4581
|
+
|
|
5081
4582
|
ignoreEnums?: boolean
|
|
4583
|
+
|
|
4584
|
+
ignoreNumericLiteralTypes?: boolean
|
|
4585
|
+
|
|
5082
4586
|
ignoreReadonlyClassProperties?: boolean
|
|
4587
|
+
|
|
5083
4588
|
ignoreTypeIndexes?: boolean
|
|
5084
4589
|
}]
|
|
5085
4590
|
// ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
5086
4591
|
type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
4592
|
+
|
|
5087
4593
|
checkNever?: boolean
|
|
5088
4594
|
}]
|
|
5089
4595
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
5090
4596
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
4597
|
+
|
|
5091
4598
|
checksConditionals?: boolean
|
|
4599
|
+
|
|
4600
|
+
checksSpreads?: boolean
|
|
4601
|
+
|
|
5092
4602
|
checksVoidReturn?: (boolean | {
|
|
4603
|
+
|
|
5093
4604
|
arguments?: boolean
|
|
4605
|
+
|
|
5094
4606
|
attributes?: boolean
|
|
4607
|
+
|
|
4608
|
+
inheritedMethods?: boolean
|
|
4609
|
+
|
|
5095
4610
|
properties?: boolean
|
|
4611
|
+
|
|
5096
4612
|
returns?: boolean
|
|
4613
|
+
|
|
5097
4614
|
variables?: boolean
|
|
5098
4615
|
})
|
|
5099
|
-
checksSpreads?: boolean
|
|
5100
4616
|
}]
|
|
5101
4617
|
// ----- @typescript-eslint/no-namespace -----
|
|
5102
4618
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -5107,13 +4623,17 @@ type TypescriptEslintNoNamespace = []|[{
|
|
|
5107
4623
|
}]
|
|
5108
4624
|
// ----- @typescript-eslint/no-redeclare -----
|
|
5109
4625
|
type TypescriptEslintNoRedeclare = []|[{
|
|
4626
|
+
|
|
5110
4627
|
builtinGlobals?: boolean
|
|
4628
|
+
|
|
5111
4629
|
ignoreDeclarationMerge?: boolean
|
|
5112
4630
|
}]
|
|
5113
4631
|
// ----- @typescript-eslint/no-require-imports -----
|
|
5114
4632
|
type TypescriptEslintNoRequireImports = []|[{
|
|
5115
4633
|
|
|
5116
4634
|
allow?: string[]
|
|
4635
|
+
|
|
4636
|
+
allowAsImport?: boolean
|
|
5117
4637
|
}]
|
|
5118
4638
|
// ----- @typescript-eslint/no-restricted-imports -----
|
|
5119
4639
|
type TypescriptEslintNoRestrictedImports = ((string | {
|
|
@@ -5142,14 +4662,34 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
5142
4662
|
allowTypeImports?: boolean
|
|
5143
4663
|
}[])
|
|
5144
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
|
+
}]
|
|
5145
4679
|
// ----- @typescript-eslint/no-shadow -----
|
|
5146
4680
|
type TypescriptEslintNoShadow = []|[{
|
|
4681
|
+
|
|
4682
|
+
allow?: string[]
|
|
4683
|
+
|
|
5147
4684
|
builtinGlobals?: boolean
|
|
4685
|
+
|
|
5148
4686
|
hoist?: ("all" | "functions" | "never")
|
|
5149
|
-
|
|
4687
|
+
|
|
4688
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
4689
|
+
|
|
5150
4690
|
ignoreOnInitialization?: boolean
|
|
4691
|
+
|
|
5151
4692
|
ignoreTypeValueShadow?: boolean
|
|
5152
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
5153
4693
|
}]
|
|
5154
4694
|
// ----- @typescript-eslint/no-this-alias -----
|
|
5155
4695
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -5158,11 +4698,6 @@ type TypescriptEslintNoThisAlias = []|[{
|
|
|
5158
4698
|
|
|
5159
4699
|
allowedNames?: string[]
|
|
5160
4700
|
}]
|
|
5161
|
-
// ----- @typescript-eslint/no-throw-literal -----
|
|
5162
|
-
type TypescriptEslintNoThrowLiteral = []|[{
|
|
5163
|
-
allowThrowingAny?: boolean
|
|
5164
|
-
allowThrowingUnknown?: boolean
|
|
5165
|
-
}]
|
|
5166
4701
|
// ----- @typescript-eslint/no-type-alias -----
|
|
5167
4702
|
type TypescriptEslintNoTypeAlias = []|[{
|
|
5168
4703
|
|
|
@@ -5174,20 +4709,20 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
5174
4709
|
|
|
5175
4710
|
allowConstructors?: ("always" | "never")
|
|
5176
4711
|
|
|
4712
|
+
allowGenerics?: ("always" | "never")
|
|
4713
|
+
|
|
5177
4714
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5178
4715
|
|
|
5179
4716
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5180
4717
|
|
|
5181
4718
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5182
|
-
|
|
5183
|
-
allowGenerics?: ("always" | "never")
|
|
5184
4719
|
}]
|
|
5185
4720
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
5186
4721
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
5187
4722
|
|
|
5188
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
5189
|
-
|
|
5190
4723
|
allowComparingNullableBooleansToFalse?: boolean
|
|
4724
|
+
|
|
4725
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
5191
4726
|
}]
|
|
5192
4727
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
5193
4728
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
@@ -5195,6 +4730,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
5195
4730
|
allowConstantLoopConditions?: boolean
|
|
5196
4731
|
|
|
5197
4732
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4733
|
+
|
|
4734
|
+
checkTypePredicates?: boolean
|
|
5198
4735
|
}]
|
|
5199
4736
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
5200
4737
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -5210,60 +4747,70 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
5210
4747
|
}]
|
|
5211
4748
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
5212
4749
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
5213
|
-
|
|
5214
|
-
varsIgnorePattern?: string
|
|
4750
|
+
|
|
5215
4751
|
args?: ("all" | "after-used" | "none")
|
|
5216
|
-
|
|
4752
|
+
|
|
5217
4753
|
argsIgnorePattern?: string
|
|
4754
|
+
|
|
5218
4755
|
caughtErrors?: ("all" | "none")
|
|
4756
|
+
|
|
5219
4757
|
caughtErrorsIgnorePattern?: string
|
|
4758
|
+
|
|
5220
4759
|
destructuredArrayIgnorePattern?: string
|
|
4760
|
+
|
|
4761
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
4762
|
+
|
|
4763
|
+
ignoreRestSiblings?: boolean
|
|
4764
|
+
|
|
4765
|
+
reportUsedIgnorePattern?: boolean
|
|
4766
|
+
|
|
4767
|
+
vars?: ("all" | "local")
|
|
4768
|
+
|
|
4769
|
+
varsIgnorePattern?: string
|
|
5221
4770
|
})]
|
|
5222
4771
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
5223
4772
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
5224
|
-
|
|
4773
|
+
|
|
4774
|
+
allowNamedExports?: boolean
|
|
4775
|
+
|
|
5225
4776
|
classes?: boolean
|
|
4777
|
+
|
|
5226
4778
|
enums?: boolean
|
|
5227
|
-
|
|
5228
|
-
|
|
4779
|
+
|
|
4780
|
+
functions?: boolean
|
|
4781
|
+
|
|
5229
4782
|
ignoreTypeReferences?: boolean
|
|
5230
|
-
|
|
4783
|
+
|
|
4784
|
+
typedefs?: boolean
|
|
4785
|
+
|
|
4786
|
+
variables?: boolean
|
|
5231
4787
|
})]
|
|
5232
4788
|
// ----- @typescript-eslint/no-var-requires -----
|
|
5233
4789
|
type TypescriptEslintNoVarRequires = []|[{
|
|
5234
4790
|
|
|
5235
4791
|
allow?: string[]
|
|
5236
4792
|
}]
|
|
5237
|
-
// ----- @typescript-eslint/object-curly-spacing -----
|
|
5238
|
-
type TypescriptEslintObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
5239
|
-
arraysInObjects?: boolean
|
|
5240
|
-
objectsInObjects?: boolean
|
|
5241
|
-
}]
|
|
5242
4793
|
// ----- @typescript-eslint/only-throw-error -----
|
|
5243
4794
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
4795
|
+
|
|
5244
4796
|
allowThrowingAny?: boolean
|
|
4797
|
+
|
|
5245
4798
|
allowThrowingUnknown?: boolean
|
|
5246
4799
|
}]
|
|
5247
|
-
// ----- @typescript-eslint/padding-line-between-statements -----
|
|
5248
|
-
type _TypescriptEslintPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
5249
|
-
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"))[]])
|
|
5250
|
-
type TypescriptEslintPaddingLineBetweenStatements = {
|
|
5251
|
-
blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType
|
|
5252
|
-
prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType
|
|
5253
|
-
next: _TypescriptEslintPaddingLineBetweenStatementsStatementType
|
|
5254
|
-
}[]
|
|
5255
4800
|
// ----- @typescript-eslint/parameter-properties -----
|
|
5256
4801
|
type TypescriptEslintParameterProperties = []|[{
|
|
4802
|
+
|
|
5257
4803
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
4804
|
+
|
|
5258
4805
|
prefer?: ("class-property" | "parameter-property")
|
|
5259
4806
|
}]
|
|
5260
4807
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
5261
4808
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
5262
|
-
|
|
4809
|
+
AssignmentExpression?: {
|
|
5263
4810
|
array?: boolean
|
|
5264
4811
|
object?: boolean
|
|
5265
4812
|
}
|
|
5266
|
-
|
|
4813
|
+
VariableDeclarator?: {
|
|
5267
4814
|
array?: boolean
|
|
5268
4815
|
object?: boolean
|
|
5269
4816
|
}
|
|
@@ -5271,11 +4818,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5271
4818
|
array?: boolean
|
|
5272
4819
|
object?: boolean
|
|
5273
4820
|
})]|[({
|
|
5274
|
-
|
|
4821
|
+
AssignmentExpression?: {
|
|
5275
4822
|
array?: boolean
|
|
5276
4823
|
object?: boolean
|
|
5277
4824
|
}
|
|
5278
|
-
|
|
4825
|
+
VariableDeclarator?: {
|
|
5279
4826
|
array?: boolean
|
|
5280
4827
|
object?: boolean
|
|
5281
4828
|
}
|
|
@@ -5283,57 +4830,72 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5283
4830
|
array?: boolean
|
|
5284
4831
|
object?: boolean
|
|
5285
4832
|
}), {
|
|
5286
|
-
|
|
4833
|
+
|
|
5287
4834
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
4835
|
+
|
|
4836
|
+
enforceForRenamedProperties?: boolean
|
|
5288
4837
|
[k: string]: unknown | undefined
|
|
5289
4838
|
}]
|
|
5290
4839
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
5291
4840
|
type TypescriptEslintPreferLiteralEnumMember = []|[{
|
|
4841
|
+
|
|
5292
4842
|
allowBitwiseExpressions?: boolean
|
|
5293
4843
|
}]
|
|
5294
4844
|
// ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
5295
4845
|
type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
4846
|
+
|
|
5296
4847
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4848
|
+
|
|
5297
4849
|
ignoreConditionalTests?: boolean
|
|
4850
|
+
|
|
5298
4851
|
ignoreMixedLogicalExpressions?: boolean
|
|
4852
|
+
|
|
5299
4853
|
ignorePrimitives?: ({
|
|
4854
|
+
|
|
5300
4855
|
bigint?: boolean
|
|
4856
|
+
|
|
5301
4857
|
boolean?: boolean
|
|
4858
|
+
|
|
5302
4859
|
number?: boolean
|
|
4860
|
+
|
|
5303
4861
|
string?: boolean
|
|
5304
4862
|
[k: string]: unknown | undefined
|
|
5305
4863
|
} | true)
|
|
4864
|
+
|
|
5306
4865
|
ignoreTernaryTests?: boolean
|
|
5307
4866
|
}]
|
|
5308
4867
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
5309
4868
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
5310
4869
|
|
|
4870
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
4871
|
+
|
|
5311
4872
|
checkAny?: boolean
|
|
5312
4873
|
|
|
5313
|
-
|
|
4874
|
+
checkBigInt?: boolean
|
|
5314
4875
|
|
|
5315
|
-
|
|
4876
|
+
checkBoolean?: boolean
|
|
5316
4877
|
|
|
5317
4878
|
checkNumber?: boolean
|
|
5318
4879
|
|
|
5319
|
-
|
|
4880
|
+
checkString?: boolean
|
|
5320
4881
|
|
|
5321
|
-
|
|
4882
|
+
checkUnknown?: boolean
|
|
5322
4883
|
|
|
5323
4884
|
requireNullish?: boolean
|
|
5324
|
-
|
|
5325
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
5326
4885
|
}]
|
|
5327
4886
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
5328
4887
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
4888
|
+
|
|
5329
4889
|
allowEmptyReject?: boolean
|
|
5330
4890
|
}]
|
|
5331
4891
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
5332
4892
|
type TypescriptEslintPreferReadonly = []|[{
|
|
4893
|
+
|
|
5333
4894
|
onlyInlineLambdas?: boolean
|
|
5334
4895
|
}]
|
|
5335
4896
|
// ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
5336
4897
|
type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
4898
|
+
|
|
5337
4899
|
allow?: (string | {
|
|
5338
4900
|
from: "file"
|
|
5339
4901
|
name: (string | [string, ...(string)[]])
|
|
@@ -5346,8 +4908,11 @@ type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
|
5346
4908
|
name: (string | [string, ...(string)[]])
|
|
5347
4909
|
package: string
|
|
5348
4910
|
})[]
|
|
4911
|
+
|
|
5349
4912
|
checkParameterProperties?: boolean
|
|
4913
|
+
|
|
5350
4914
|
ignoreInferredTypes?: boolean
|
|
4915
|
+
|
|
5351
4916
|
treatMethodsAsReadonly?: boolean
|
|
5352
4917
|
}]
|
|
5353
4918
|
// ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
@@ -5361,16 +4926,15 @@ type TypescriptEslintPromiseFunctionAsync = []|[{
|
|
|
5361
4926
|
allowAny?: boolean
|
|
5362
4927
|
|
|
5363
4928
|
allowedPromiseNames?: string[]
|
|
4929
|
+
|
|
5364
4930
|
checkArrowFunctions?: boolean
|
|
4931
|
+
|
|
5365
4932
|
checkFunctionDeclarations?: boolean
|
|
4933
|
+
|
|
5366
4934
|
checkFunctionExpressions?: boolean
|
|
4935
|
+
|
|
5367
4936
|
checkMethodDeclarations?: boolean
|
|
5368
4937
|
}]
|
|
5369
|
-
// ----- @typescript-eslint/quotes -----
|
|
5370
|
-
type TypescriptEslintQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
5371
|
-
avoidEscape?: boolean
|
|
5372
|
-
allowTemplateLiterals?: boolean
|
|
5373
|
-
})]
|
|
5374
4938
|
// ----- @typescript-eslint/require-array-sort-compare -----
|
|
5375
4939
|
type TypescriptEslintRequireArraySortCompare = []|[{
|
|
5376
4940
|
|
|
@@ -5407,92 +4971,89 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
5407
4971
|
allowRegExp?: boolean
|
|
5408
4972
|
|
|
5409
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
|
+
})[]
|
|
5410
4987
|
}]
|
|
5411
4988
|
// ----- @typescript-eslint/return-await -----
|
|
5412
|
-
type TypescriptEslintReturnAwait = []|[("
|
|
5413
|
-
// ----- @typescript-eslint/semi -----
|
|
5414
|
-
type TypescriptEslintSemi = ([]|["never"]|["never", {
|
|
5415
|
-
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
5416
|
-
}] | []|["always"]|["always", {
|
|
5417
|
-
omitLastInOneLineBlock?: boolean
|
|
5418
|
-
omitLastInOneLineClassBody?: boolean
|
|
5419
|
-
}])
|
|
4989
|
+
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
5420
4990
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
5421
4991
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
5422
4992
|
|
|
4993
|
+
caseSensitive?: boolean
|
|
4994
|
+
|
|
5423
4995
|
checkIntersections?: boolean
|
|
5424
4996
|
|
|
5425
4997
|
checkUnions?: boolean
|
|
5426
4998
|
|
|
5427
4999
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
5428
5000
|
}]
|
|
5429
|
-
// ----- @typescript-eslint/space-before-blocks -----
|
|
5430
|
-
type TypescriptEslintSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
5431
|
-
keywords?: ("always" | "never" | "off")
|
|
5432
|
-
functions?: ("always" | "never" | "off")
|
|
5433
|
-
classes?: ("always" | "never" | "off")
|
|
5434
|
-
})]
|
|
5435
|
-
// ----- @typescript-eslint/space-before-function-paren -----
|
|
5436
|
-
type TypescriptEslintSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
5437
|
-
anonymous?: ("always" | "never" | "ignore")
|
|
5438
|
-
named?: ("always" | "never" | "ignore")
|
|
5439
|
-
asyncArrow?: ("always" | "never" | "ignore")
|
|
5440
|
-
})]
|
|
5441
|
-
// ----- @typescript-eslint/space-infix-ops -----
|
|
5442
|
-
type TypescriptEslintSpaceInfixOps = []|[{
|
|
5443
|
-
int32Hint?: boolean
|
|
5444
|
-
}]
|
|
5445
5001
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
5446
5002
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5003
|
+
|
|
5004
|
+
allowAny?: boolean
|
|
5005
|
+
|
|
5450
5006
|
allowNullableBoolean?: boolean
|
|
5451
|
-
|
|
5452
|
-
allowNullableNumber?: boolean
|
|
5007
|
+
|
|
5453
5008
|
allowNullableEnum?: boolean
|
|
5454
|
-
|
|
5009
|
+
|
|
5010
|
+
allowNullableNumber?: boolean
|
|
5011
|
+
|
|
5012
|
+
allowNullableObject?: boolean
|
|
5013
|
+
|
|
5014
|
+
allowNullableString?: boolean
|
|
5015
|
+
|
|
5016
|
+
allowNumber?: boolean
|
|
5017
|
+
|
|
5455
5018
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
5019
|
+
|
|
5020
|
+
allowString?: boolean
|
|
5456
5021
|
}]
|
|
5457
5022
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
5458
5023
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
5459
5024
|
|
|
5460
5025
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
5461
5026
|
|
|
5027
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
5028
|
+
|
|
5462
5029
|
requireDefaultForNonUnion?: boolean
|
|
5463
5030
|
}]
|
|
5464
5031
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
5465
5032
|
type TypescriptEslintTripleSlashReference = []|[{
|
|
5033
|
+
|
|
5466
5034
|
lib?: ("always" | "never")
|
|
5035
|
+
|
|
5467
5036
|
path?: ("always" | "never")
|
|
5037
|
+
|
|
5468
5038
|
types?: ("always" | "never" | "prefer-import")
|
|
5469
5039
|
}]
|
|
5470
|
-
// ----- @typescript-eslint/type-annotation-spacing -----
|
|
5471
|
-
type TypescriptEslintTypeAnnotationSpacing = []|[{
|
|
5472
|
-
before?: boolean
|
|
5473
|
-
after?: boolean
|
|
5474
|
-
overrides?: {
|
|
5475
|
-
colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5476
|
-
arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5477
|
-
variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5478
|
-
parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5479
|
-
property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5480
|
-
returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig
|
|
5481
|
-
}
|
|
5482
|
-
}]
|
|
5483
|
-
interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
|
|
5484
|
-
before?: boolean
|
|
5485
|
-
after?: boolean
|
|
5486
|
-
}
|
|
5487
5040
|
// ----- @typescript-eslint/typedef -----
|
|
5488
5041
|
type TypescriptEslintTypedef = []|[{
|
|
5042
|
+
|
|
5489
5043
|
arrayDestructuring?: boolean
|
|
5044
|
+
|
|
5490
5045
|
arrowParameter?: boolean
|
|
5046
|
+
|
|
5491
5047
|
memberVariableDeclaration?: boolean
|
|
5048
|
+
|
|
5492
5049
|
objectDestructuring?: boolean
|
|
5050
|
+
|
|
5493
5051
|
parameter?: boolean
|
|
5052
|
+
|
|
5494
5053
|
propertyDeclaration?: boolean
|
|
5054
|
+
|
|
5495
5055
|
variableDeclaration?: boolean
|
|
5056
|
+
|
|
5496
5057
|
variableDeclarationIgnoreFunction?: boolean
|
|
5497
5058
|
}]
|
|
5498
5059
|
// ----- @typescript-eslint/unbound-method -----
|
|
@@ -7951,7 +7512,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7951
7512
|
'import-x/extensions': readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
7952
7513
|
'import-x/external-module-folders': string[];
|
|
7953
7514
|
'import-x/parsers': {
|
|
7954
|
-
|
|
7515
|
+
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
7955
7516
|
};
|
|
7956
7517
|
};
|
|
7957
7518
|
rules: {
|
|
@@ -8029,7 +7590,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8029
7590
|
hasSuggestions: boolean;
|
|
8030
7591
|
};
|
|
8031
7592
|
create(context: any): {
|
|
8032
|
-
|
|
7593
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8033
7594
|
};
|
|
8034
7595
|
};
|
|
8035
7596
|
'function-component-definition': eslint.Rule.RuleModule;
|
|
@@ -8185,7 +7746,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8185
7746
|
hasSuggestions: boolean;
|
|
8186
7747
|
};
|
|
8187
7748
|
create(context: any): {
|
|
8188
|
-
|
|
7749
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8189
7750
|
};
|
|
8190
7751
|
};
|
|
8191
7752
|
'function-component-definition': eslint.Rule.RuleModule;
|
|
@@ -8320,28 +7881,28 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8320
7881
|
};
|
|
8321
7882
|
};
|
|
8322
7883
|
rules: {
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
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;
|
|
8345
7906
|
};
|
|
8346
7907
|
};
|
|
8347
7908
|
all: {
|
|
@@ -8362,12 +7923,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8362
7923
|
jsxPragma: any;
|
|
8363
7924
|
};
|
|
8364
7925
|
rules: {
|
|
8365
|
-
|
|
8366
|
-
|
|
7926
|
+
"react/react-in-jsx-scope": number;
|
|
7927
|
+
"react/jsx-uses-react": number;
|
|
8367
7928
|
};
|
|
8368
7929
|
};
|
|
8369
7930
|
} & {
|
|
8370
|
-
flat?: Record<string, eslint_plugin_react.ReactFlatConfig
|
|
7931
|
+
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
8371
7932
|
};
|
|
8372
7933
|
};
|
|
8373
7934
|
"react-hooks": typeof eslint_plugin_react_hooks;
|
|
@@ -9613,7 +9174,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9613
9174
|
name: string;
|
|
9614
9175
|
files: string[];
|
|
9615
9176
|
plugins: {
|
|
9616
|
-
"@tanstack/query":
|
|
9177
|
+
"@tanstack/query": eslint.ESLint.Plugin;
|
|
9617
9178
|
react?: undefined;
|
|
9618
9179
|
"react-hooks"?: undefined;
|
|
9619
9180
|
"jsx-a11y"?: undefined;
|
|
@@ -9646,14 +9207,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9646
9207
|
plugins?: undefined;
|
|
9647
9208
|
} | {
|
|
9648
9209
|
plugins: string[];
|
|
9649
|
-
rules:
|
|
9650
|
-
languageOptions:
|
|
9651
|
-
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;
|
|
9652
|
-
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9653
|
-
globals?: eslint.ESLint.Globals | undefined;
|
|
9654
|
-
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|
|
9655
|
-
parserOptions?: eslint.Linter.ParserOptions | undefined;
|
|
9656
|
-
} | undefined;
|
|
9210
|
+
rules: eslint_plugin_jest.Rules;
|
|
9211
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9657
9212
|
name: string;
|
|
9658
9213
|
files: string[];
|
|
9659
9214
|
} | {
|
|
@@ -9693,13 +9248,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9693
9248
|
"jest/unbound-method": "off";
|
|
9694
9249
|
};
|
|
9695
9250
|
plugins: string[];
|
|
9696
|
-
languageOptions:
|
|
9697
|
-
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;
|
|
9698
|
-
sourceType?: "module" | "script" | "commonjs" | undefined;
|
|
9699
|
-
globals?: eslint.ESLint.Globals | undefined;
|
|
9700
|
-
parser?: eslint.Linter.FlatConfigParserModule | undefined;
|
|
9701
|
-
parserOptions?: eslint.Linter.ParserOptions | undefined;
|
|
9702
|
-
} | undefined;
|
|
9251
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9703
9252
|
name: string;
|
|
9704
9253
|
files: string[];
|
|
9705
9254
|
} | {
|