@jimmy.codes/eslint-config 1.12.0 → 3.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/README.md +35 -23
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1003 -1051
- package/dist/index.d.mts +1003 -1051
- package/dist/index.mjs +1 -1
- package/package.json +10 -8
package/dist/index.d.mts
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';
|
|
@@ -8,13 +8,37 @@ import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
|
8
8
|
import * as eslint from 'eslint';
|
|
9
9
|
import { Linter } from 'eslint';
|
|
10
10
|
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
11
|
-
export { TSESLint } from '@typescript-eslint/utils';
|
|
12
11
|
|
|
13
12
|
/* eslint-disable */
|
|
14
13
|
/* prettier-ignore */
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
interface RuleOptions {
|
|
17
|
+
/**
|
|
18
|
+
* Exhaustive deps rule for useQuery
|
|
19
|
+
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
20
|
+
*/
|
|
21
|
+
'@tanstack/query/exhaustive-deps'?: Linter.RuleEntry<[]>
|
|
22
|
+
/**
|
|
23
|
+
* Ensure correct order of inference sensitive properties for infinite queries
|
|
24
|
+
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
25
|
+
*/
|
|
26
|
+
'@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>
|
|
27
|
+
/**
|
|
28
|
+
* Disallows rest destructuring in queries
|
|
29
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
30
|
+
*/
|
|
31
|
+
'@tanstack/query/no-rest-destructuring'?: Linter.RuleEntry<[]>
|
|
32
|
+
/**
|
|
33
|
+
* Disallow putting the result of query hooks directly in a React hook dependency array
|
|
34
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
35
|
+
*/
|
|
36
|
+
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
|
|
37
|
+
/**
|
|
38
|
+
* Makes sure that QueryClient is stable
|
|
39
|
+
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
40
|
+
*/
|
|
41
|
+
'@tanstack/query/stable-query-client'?: Linter.RuleEntry<[]>
|
|
18
42
|
/**
|
|
19
43
|
* Require that function overload signatures be consecutive
|
|
20
44
|
* @see https://typescript-eslint.io/rules/adjacent-overload-signatures
|
|
@@ -40,23 +64,6 @@ interface RuleOptions {
|
|
|
40
64
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
41
65
|
*/
|
|
42
66
|
'@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
67
|
/**
|
|
61
68
|
* Enforce that literals on classes are exposed in a consistent style
|
|
62
69
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -67,18 +74,6 @@ interface RuleOptions {
|
|
|
67
74
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
68
75
|
*/
|
|
69
76
|
'@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
77
|
/**
|
|
83
78
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
84
79
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -139,58 +134,16 @@ interface RuleOptions {
|
|
|
139
134
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
140
135
|
*/
|
|
141
136
|
'@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
137
|
/**
|
|
155
138
|
* Require or disallow initialization in variable declarations
|
|
156
139
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
157
140
|
*/
|
|
158
141
|
'@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
142
|
/**
|
|
184
143
|
* Enforce a maximum number of parameters in function definitions
|
|
185
144
|
* @see https://typescript-eslint.io/rules/max-params
|
|
186
145
|
*/
|
|
187
146
|
'@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
147
|
/**
|
|
195
148
|
* Require a consistent member declaration order
|
|
196
149
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -217,7 +170,7 @@ interface RuleOptions {
|
|
|
217
170
|
*/
|
|
218
171
|
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
219
172
|
/**
|
|
220
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
173
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
221
174
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
222
175
|
*/
|
|
223
176
|
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>
|
|
@@ -231,6 +184,11 @@ interface RuleOptions {
|
|
|
231
184
|
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
232
185
|
*/
|
|
233
186
|
'@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>
|
|
187
|
+
/**
|
|
188
|
+
* Disallow using code marked as `@deprecated`
|
|
189
|
+
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
190
|
+
*/
|
|
191
|
+
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>
|
|
234
192
|
/**
|
|
235
193
|
* Disallow duplicate class members
|
|
236
194
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -259,8 +217,14 @@ interface RuleOptions {
|
|
|
259
217
|
/**
|
|
260
218
|
* Disallow the declaration of empty interfaces
|
|
261
219
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
220
|
+
* @deprecated
|
|
262
221
|
*/
|
|
263
222
|
'@typescript-eslint/no-empty-interface'?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>
|
|
223
|
+
/**
|
|
224
|
+
* Disallow accidentally using the "empty object" type
|
|
225
|
+
* @see https://typescript-eslint.io/rules/no-empty-object-type
|
|
226
|
+
*/
|
|
227
|
+
'@typescript-eslint/no-empty-object-type'?: Linter.RuleEntry<TypescriptEslintNoEmptyObjectType>
|
|
264
228
|
/**
|
|
265
229
|
* Disallow the `any` type
|
|
266
230
|
* @see https://typescript-eslint.io/rules/no-explicit-any
|
|
@@ -271,18 +235,6 @@ interface RuleOptions {
|
|
|
271
235
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
272
236
|
*/
|
|
273
237
|
'@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
238
|
/**
|
|
287
239
|
* Disallow classes used as namespaces
|
|
288
240
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -331,6 +283,7 @@ interface RuleOptions {
|
|
|
331
283
|
/**
|
|
332
284
|
* Disallow literal numbers that lose precision
|
|
333
285
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
286
|
+
* @deprecated
|
|
334
287
|
*/
|
|
335
288
|
'@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
336
289
|
/**
|
|
@@ -398,6 +351,11 @@ interface RuleOptions {
|
|
|
398
351
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
399
352
|
*/
|
|
400
353
|
'@typescript-eslint/no-restricted-imports'?: Linter.RuleEntry<TypescriptEslintNoRestrictedImports>
|
|
354
|
+
/**
|
|
355
|
+
* Disallow certain types
|
|
356
|
+
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
357
|
+
*/
|
|
358
|
+
'@typescript-eslint/no-restricted-types'?: Linter.RuleEntry<TypescriptEslintNoRestrictedTypes>
|
|
401
359
|
/**
|
|
402
360
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
403
361
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -408,12 +366,6 @@ interface RuleOptions {
|
|
|
408
366
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
409
367
|
*/
|
|
410
368
|
'@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
369
|
/**
|
|
418
370
|
* Disallow type aliases
|
|
419
371
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -430,11 +382,21 @@ interface RuleOptions {
|
|
|
430
382
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
431
383
|
*/
|
|
432
384
|
'@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>
|
|
385
|
+
/**
|
|
386
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
387
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
388
|
+
*/
|
|
389
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
433
390
|
/**
|
|
434
391
|
* Disallow unnecessary namespace qualifiers
|
|
435
392
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
436
393
|
*/
|
|
437
394
|
'@typescript-eslint/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
|
|
395
|
+
/**
|
|
396
|
+
* Disallow unnecessary template expressions
|
|
397
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
|
|
398
|
+
*/
|
|
399
|
+
'@typescript-eslint/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
|
|
438
400
|
/**
|
|
439
401
|
* Disallow type arguments that are equal to the default
|
|
440
402
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
@@ -450,6 +412,11 @@ interface RuleOptions {
|
|
|
450
412
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
451
413
|
*/
|
|
452
414
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
415
|
+
/**
|
|
416
|
+
* Disallow type parameters that aren't used multiple times
|
|
417
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
418
|
+
*/
|
|
419
|
+
'@typescript-eslint/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
453
420
|
/**
|
|
454
421
|
* Disallow calling a function with a value with type `any`
|
|
455
422
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -475,6 +442,11 @@ interface RuleOptions {
|
|
|
475
442
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
476
443
|
*/
|
|
477
444
|
'@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
445
|
+
/**
|
|
446
|
+
* Disallow using the unsafe built-in Function type
|
|
447
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
448
|
+
*/
|
|
449
|
+
'@typescript-eslint/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
478
450
|
/**
|
|
479
451
|
* Disallow member access on a value with type `any`
|
|
480
452
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -515,38 +487,27 @@ interface RuleOptions {
|
|
|
515
487
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
516
488
|
*/
|
|
517
489
|
'@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
490
|
/**
|
|
524
491
|
* Disallow `require` statements except in import statements
|
|
525
492
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
493
|
+
* @deprecated
|
|
526
494
|
*/
|
|
527
495
|
'@typescript-eslint/no-var-requires'?: Linter.RuleEntry<TypescriptEslintNoVarRequires>
|
|
496
|
+
/**
|
|
497
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
498
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
499
|
+
*/
|
|
500
|
+
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
528
501
|
/**
|
|
529
502
|
* Enforce non-null assertions over explicit type casts
|
|
530
503
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
531
504
|
*/
|
|
532
505
|
'@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
506
|
/**
|
|
540
507
|
* Disallow throwing non-`Error` values as exceptions
|
|
541
508
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
542
509
|
*/
|
|
543
510
|
'@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
511
|
/**
|
|
551
512
|
* Require or disallow parameter properties in class constructors
|
|
552
513
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -645,6 +606,7 @@ interface RuleOptions {
|
|
|
645
606
|
/**
|
|
646
607
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
647
608
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
609
|
+
* @deprecated
|
|
648
610
|
*/
|
|
649
611
|
'@typescript-eslint/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
650
612
|
/**
|
|
@@ -652,19 +614,13 @@ interface RuleOptions {
|
|
|
652
614
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
653
615
|
*/
|
|
654
616
|
'@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
617
|
/**
|
|
662
618
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
663
619
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
664
620
|
*/
|
|
665
621
|
'@typescript-eslint/require-array-sort-compare'?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>
|
|
666
622
|
/**
|
|
667
|
-
* Disallow async functions which have no `await` expression
|
|
623
|
+
* Disallow async functions which do not return promises and have no `await` expression
|
|
668
624
|
* @see https://typescript-eslint.io/rules/require-await
|
|
669
625
|
*/
|
|
670
626
|
'@typescript-eslint/require-await'?: Linter.RuleEntry<[]>
|
|
@@ -679,39 +635,16 @@ interface RuleOptions {
|
|
|
679
635
|
*/
|
|
680
636
|
'@typescript-eslint/restrict-template-expressions'?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>
|
|
681
637
|
/**
|
|
682
|
-
* Enforce consistent
|
|
638
|
+
* Enforce consistent awaiting of returned promises
|
|
683
639
|
* @see https://typescript-eslint.io/rules/return-await
|
|
684
640
|
*/
|
|
685
641
|
'@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
642
|
/**
|
|
693
643
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
694
644
|
* @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
645
|
* @deprecated
|
|
713
646
|
*/
|
|
714
|
-
'@typescript-eslint/
|
|
647
|
+
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>
|
|
715
648
|
/**
|
|
716
649
|
* Disallow certain types in boolean expressions
|
|
717
650
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -727,12 +660,6 @@ interface RuleOptions {
|
|
|
727
660
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
728
661
|
*/
|
|
729
662
|
'@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
663
|
/**
|
|
737
664
|
* Require type annotations in certain places
|
|
738
665
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -749,7 +676,7 @@ interface RuleOptions {
|
|
|
749
676
|
*/
|
|
750
677
|
'@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>
|
|
751
678
|
/**
|
|
752
|
-
* Enforce typing arguments in
|
|
679
|
+
* Enforce typing arguments in Promise rejection callbacks as `unknown`
|
|
753
680
|
* @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
754
681
|
*/
|
|
755
682
|
'@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
|
|
@@ -802,182 +729,182 @@ interface RuleOptions {
|
|
|
802
729
|
* apply `jsx-a11y/alt-text` rule to Astro components
|
|
803
730
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/alt-text/
|
|
804
731
|
*/
|
|
805
|
-
'astro/jsx-a11y/alt-text'?: Linter.RuleEntry<
|
|
732
|
+
'astro/jsx-a11y/alt-text'?: Linter.RuleEntry<AstroJsxA11YAltText>
|
|
806
733
|
/**
|
|
807
734
|
* apply `jsx-a11y/anchor-ambiguous-text` rule to Astro components
|
|
808
735
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-ambiguous-text/
|
|
809
736
|
*/
|
|
810
|
-
'astro/jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<
|
|
737
|
+
'astro/jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<AstroJsxA11YAnchorAmbiguousText>
|
|
811
738
|
/**
|
|
812
739
|
* apply `jsx-a11y/anchor-has-content` rule to Astro components
|
|
813
740
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-has-content/
|
|
814
741
|
*/
|
|
815
|
-
'astro/jsx-a11y/anchor-has-content'?: Linter.RuleEntry<
|
|
742
|
+
'astro/jsx-a11y/anchor-has-content'?: Linter.RuleEntry<AstroJsxA11YAnchorHasContent>
|
|
816
743
|
/**
|
|
817
744
|
* apply `jsx-a11y/anchor-is-valid` rule to Astro components
|
|
818
745
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-is-valid/
|
|
819
746
|
*/
|
|
820
|
-
'astro/jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<
|
|
747
|
+
'astro/jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<AstroJsxA11YAnchorIsValid>
|
|
821
748
|
/**
|
|
822
749
|
* apply `jsx-a11y/aria-activedescendant-has-tabindex` rule to Astro components
|
|
823
750
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-activedescendant-has-tabindex/
|
|
824
751
|
*/
|
|
825
|
-
'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<
|
|
752
|
+
'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<AstroJsxA11YAriaActivedescendantHasTabindex>
|
|
826
753
|
/**
|
|
827
754
|
* apply `jsx-a11y/aria-props` rule to Astro components
|
|
828
755
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-props/
|
|
829
756
|
*/
|
|
830
|
-
'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<
|
|
757
|
+
'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<AstroJsxA11YAriaProps>
|
|
831
758
|
/**
|
|
832
759
|
* apply `jsx-a11y/aria-proptypes` rule to Astro components
|
|
833
760
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-proptypes/
|
|
834
761
|
*/
|
|
835
|
-
'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<
|
|
762
|
+
'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<AstroJsxA11YAriaProptypes>
|
|
836
763
|
/**
|
|
837
764
|
* apply `jsx-a11y/aria-role` rule to Astro components
|
|
838
765
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-role/
|
|
839
766
|
*/
|
|
840
|
-
'astro/jsx-a11y/aria-role'?: Linter.RuleEntry<
|
|
767
|
+
'astro/jsx-a11y/aria-role'?: Linter.RuleEntry<AstroJsxA11YAriaRole>
|
|
841
768
|
/**
|
|
842
769
|
* apply `jsx-a11y/aria-unsupported-elements` rule to Astro components
|
|
843
770
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-unsupported-elements/
|
|
844
771
|
*/
|
|
845
|
-
'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<
|
|
772
|
+
'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<AstroJsxA11YAriaUnsupportedElements>
|
|
846
773
|
/**
|
|
847
774
|
* apply `jsx-a11y/autocomplete-valid` rule to Astro components
|
|
848
775
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/autocomplete-valid/
|
|
849
776
|
*/
|
|
850
|
-
'astro/jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<
|
|
777
|
+
'astro/jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<AstroJsxA11YAutocompleteValid>
|
|
851
778
|
/**
|
|
852
779
|
* apply `jsx-a11y/click-events-have-key-events` rule to Astro components
|
|
853
780
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/click-events-have-key-events/
|
|
854
781
|
*/
|
|
855
|
-
'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<
|
|
782
|
+
'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YClickEventsHaveKeyEvents>
|
|
856
783
|
/**
|
|
857
784
|
* apply `jsx-a11y/control-has-associated-label` rule to Astro components
|
|
858
785
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/control-has-associated-label/
|
|
859
786
|
*/
|
|
860
|
-
'astro/jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<
|
|
787
|
+
'astro/jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<AstroJsxA11YControlHasAssociatedLabel>
|
|
861
788
|
/**
|
|
862
789
|
* apply `jsx-a11y/heading-has-content` rule to Astro components
|
|
863
790
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/heading-has-content/
|
|
864
791
|
*/
|
|
865
|
-
'astro/jsx-a11y/heading-has-content'?: Linter.RuleEntry<
|
|
792
|
+
'astro/jsx-a11y/heading-has-content'?: Linter.RuleEntry<AstroJsxA11YHeadingHasContent>
|
|
866
793
|
/**
|
|
867
794
|
* apply `jsx-a11y/html-has-lang` rule to Astro components
|
|
868
795
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/html-has-lang/
|
|
869
796
|
*/
|
|
870
|
-
'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<
|
|
797
|
+
'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<AstroJsxA11YHtmlHasLang>
|
|
871
798
|
/**
|
|
872
799
|
* apply `jsx-a11y/iframe-has-title` rule to Astro components
|
|
873
800
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/iframe-has-title/
|
|
874
801
|
*/
|
|
875
|
-
'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<
|
|
802
|
+
'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<AstroJsxA11YIframeHasTitle>
|
|
876
803
|
/**
|
|
877
804
|
* apply `jsx-a11y/img-redundant-alt` rule to Astro components
|
|
878
805
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/img-redundant-alt/
|
|
879
806
|
*/
|
|
880
|
-
'astro/jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<
|
|
807
|
+
'astro/jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<AstroJsxA11YImgRedundantAlt>
|
|
881
808
|
/**
|
|
882
809
|
* apply `jsx-a11y/interactive-supports-focus` rule to Astro components
|
|
883
810
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/interactive-supports-focus/
|
|
884
811
|
*/
|
|
885
|
-
'astro/jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<
|
|
812
|
+
'astro/jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<AstroJsxA11YInteractiveSupportsFocus>
|
|
886
813
|
/**
|
|
887
814
|
* apply `jsx-a11y/label-has-associated-control` rule to Astro components
|
|
888
815
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/label-has-associated-control/
|
|
889
816
|
*/
|
|
890
|
-
'astro/jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<
|
|
817
|
+
'astro/jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<AstroJsxA11YLabelHasAssociatedControl>
|
|
891
818
|
/**
|
|
892
819
|
* apply `jsx-a11y/lang` rule to Astro components
|
|
893
820
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/lang/
|
|
894
821
|
*/
|
|
895
|
-
'astro/jsx-a11y/lang'?: Linter.RuleEntry<
|
|
822
|
+
'astro/jsx-a11y/lang'?: Linter.RuleEntry<AstroJsxA11YLang>
|
|
896
823
|
/**
|
|
897
824
|
* apply `jsx-a11y/media-has-caption` rule to Astro components
|
|
898
825
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/media-has-caption/
|
|
899
826
|
*/
|
|
900
|
-
'astro/jsx-a11y/media-has-caption'?: Linter.RuleEntry<
|
|
827
|
+
'astro/jsx-a11y/media-has-caption'?: Linter.RuleEntry<AstroJsxA11YMediaHasCaption>
|
|
901
828
|
/**
|
|
902
829
|
* apply `jsx-a11y/mouse-events-have-key-events` rule to Astro components
|
|
903
830
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/mouse-events-have-key-events/
|
|
904
831
|
*/
|
|
905
|
-
'astro/jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<
|
|
832
|
+
'astro/jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YMouseEventsHaveKeyEvents>
|
|
906
833
|
/**
|
|
907
834
|
* apply `jsx-a11y/no-access-key` rule to Astro components
|
|
908
835
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-access-key/
|
|
909
836
|
*/
|
|
910
|
-
'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<
|
|
837
|
+
'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<AstroJsxA11YNoAccessKey>
|
|
911
838
|
/**
|
|
912
839
|
* apply `jsx-a11y/no-aria-hidden-on-focusable` rule to Astro components
|
|
913
840
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-aria-hidden-on-focusable/
|
|
914
841
|
*/
|
|
915
|
-
'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<
|
|
842
|
+
'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<AstroJsxA11YNoAriaHiddenOnFocusable>
|
|
916
843
|
/**
|
|
917
844
|
* apply `jsx-a11y/no-autofocus` rule to Astro components
|
|
918
845
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-autofocus/
|
|
919
846
|
*/
|
|
920
|
-
'astro/jsx-a11y/no-autofocus'?: Linter.RuleEntry<
|
|
847
|
+
'astro/jsx-a11y/no-autofocus'?: Linter.RuleEntry<AstroJsxA11YNoAutofocus>
|
|
921
848
|
/**
|
|
922
849
|
* apply `jsx-a11y/no-distracting-elements` rule to Astro components
|
|
923
850
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-distracting-elements/
|
|
924
851
|
*/
|
|
925
|
-
'astro/jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<
|
|
852
|
+
'astro/jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<AstroJsxA11YNoDistractingElements>
|
|
926
853
|
/**
|
|
927
854
|
* apply `jsx-a11y/no-interactive-element-to-noninteractive-role` rule to Astro components
|
|
928
855
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-interactive-element-to-noninteractive-role/
|
|
929
856
|
*/
|
|
930
|
-
'astro/jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<
|
|
857
|
+
'astro/jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<AstroJsxA11YNoInteractiveElementToNoninteractiveRole>
|
|
931
858
|
/**
|
|
932
859
|
* apply `jsx-a11y/no-noninteractive-element-interactions` rule to Astro components
|
|
933
860
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-interactions/
|
|
934
861
|
*/
|
|
935
|
-
'astro/jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<
|
|
862
|
+
'astro/jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveElementInteractions>
|
|
936
863
|
/**
|
|
937
864
|
* apply `jsx-a11y/no-noninteractive-element-to-interactive-role` rule to Astro components
|
|
938
865
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-to-interactive-role/
|
|
939
866
|
*/
|
|
940
|
-
'astro/jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<
|
|
867
|
+
'astro/jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveElementToInteractiveRole>
|
|
941
868
|
/**
|
|
942
869
|
* apply `jsx-a11y/no-noninteractive-tabindex` rule to Astro components
|
|
943
870
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-tabindex/
|
|
944
871
|
*/
|
|
945
|
-
'astro/jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<
|
|
872
|
+
'astro/jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveTabindex>
|
|
946
873
|
/**
|
|
947
874
|
* apply `jsx-a11y/no-redundant-roles` rule to Astro components
|
|
948
875
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-redundant-roles/
|
|
949
876
|
*/
|
|
950
|
-
'astro/jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<
|
|
877
|
+
'astro/jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<AstroJsxA11YNoRedundantRoles>
|
|
951
878
|
/**
|
|
952
879
|
* apply `jsx-a11y/no-static-element-interactions` rule to Astro components
|
|
953
880
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-static-element-interactions/
|
|
954
881
|
*/
|
|
955
|
-
'astro/jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<
|
|
882
|
+
'astro/jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<AstroJsxA11YNoStaticElementInteractions>
|
|
956
883
|
/**
|
|
957
884
|
* apply `jsx-a11y/prefer-tag-over-role` rule to Astro components
|
|
958
885
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/prefer-tag-over-role/
|
|
959
886
|
*/
|
|
960
|
-
'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<
|
|
887
|
+
'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<AstroJsxA11YPreferTagOverRole>
|
|
961
888
|
/**
|
|
962
889
|
* apply `jsx-a11y/role-has-required-aria-props` rule to Astro components
|
|
963
890
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-has-required-aria-props/
|
|
964
891
|
*/
|
|
965
|
-
'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<
|
|
892
|
+
'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleHasRequiredAriaProps>
|
|
966
893
|
/**
|
|
967
894
|
* apply `jsx-a11y/role-supports-aria-props` rule to Astro components
|
|
968
895
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-supports-aria-props/
|
|
969
896
|
*/
|
|
970
|
-
'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<
|
|
897
|
+
'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleSupportsAriaProps>
|
|
971
898
|
/**
|
|
972
899
|
* apply `jsx-a11y/scope` rule to Astro components
|
|
973
900
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/scope/
|
|
974
901
|
*/
|
|
975
|
-
'astro/jsx-a11y/scope'?: Linter.RuleEntry<
|
|
902
|
+
'astro/jsx-a11y/scope'?: Linter.RuleEntry<AstroJsxA11YScope>
|
|
976
903
|
/**
|
|
977
904
|
* apply `jsx-a11y/tabindex-no-positive` rule to Astro components
|
|
978
905
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/tabindex-no-positive/
|
|
979
906
|
*/
|
|
980
|
-
'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<
|
|
907
|
+
'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<AstroJsxA11YTabindexNoPositive>
|
|
981
908
|
/**
|
|
982
909
|
* the client:only directive is missing the correct component's framework value
|
|
983
910
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/missing-client-only-directive-value/
|
|
@@ -1209,7 +1136,7 @@ interface RuleOptions {
|
|
|
1209
1136
|
*/
|
|
1210
1137
|
'func-names'?: Linter.RuleEntry<FuncNames>
|
|
1211
1138
|
/**
|
|
1212
|
-
* Enforce the consistent use of either `function` declarations or expressions
|
|
1139
|
+
* Enforce the consistent use of either `function` declarations or expressions assigned to variables
|
|
1213
1140
|
* @see https://eslint.org/docs/latest/rules/func-style
|
|
1214
1141
|
*/
|
|
1215
1142
|
'func-style'?: Linter.RuleEntry<FuncStyle>
|
|
@@ -1903,199 +1830,199 @@ interface RuleOptions {
|
|
|
1903
1830
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
|
|
1904
1831
|
* @deprecated
|
|
1905
1832
|
*/
|
|
1906
|
-
'jsx-a11y/accessible-emoji'?: Linter.RuleEntry<
|
|
1833
|
+
'jsx-a11y/accessible-emoji'?: Linter.RuleEntry<JsxA11YAccessibleEmoji>
|
|
1907
1834
|
/**
|
|
1908
1835
|
* Enforce all elements that require alternative text have meaningful information to relay back to end user.
|
|
1909
1836
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md
|
|
1910
1837
|
*/
|
|
1911
|
-
'jsx-a11y/alt-text'?: Linter.RuleEntry<
|
|
1838
|
+
'jsx-a11y/alt-text'?: Linter.RuleEntry<JsxA11YAltText>
|
|
1912
1839
|
/**
|
|
1913
1840
|
* Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link".
|
|
1914
1841
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md
|
|
1915
1842
|
*/
|
|
1916
|
-
'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<
|
|
1843
|
+
'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YAnchorAmbiguousText>
|
|
1917
1844
|
/**
|
|
1918
1845
|
* Enforce all anchors to contain accessible content.
|
|
1919
1846
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md
|
|
1920
1847
|
*/
|
|
1921
|
-
'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<
|
|
1848
|
+
'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<JsxA11YAnchorHasContent>
|
|
1922
1849
|
/**
|
|
1923
1850
|
* Enforce all anchors are valid, navigable elements.
|
|
1924
1851
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md
|
|
1925
1852
|
*/
|
|
1926
|
-
'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<
|
|
1853
|
+
'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<JsxA11YAnchorIsValid>
|
|
1927
1854
|
/**
|
|
1928
1855
|
* Enforce elements with aria-activedescendant are tabbable.
|
|
1929
1856
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
|
|
1930
1857
|
*/
|
|
1931
|
-
'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<
|
|
1858
|
+
'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<JsxA11YAriaActivedescendantHasTabindex>
|
|
1932
1859
|
/**
|
|
1933
1860
|
* Enforce all `aria-*` props are valid.
|
|
1934
1861
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md
|
|
1935
1862
|
*/
|
|
1936
|
-
'jsx-a11y/aria-props'?: Linter.RuleEntry<
|
|
1863
|
+
'jsx-a11y/aria-props'?: Linter.RuleEntry<JsxA11YAriaProps>
|
|
1937
1864
|
/**
|
|
1938
1865
|
* Enforce ARIA state and property values are valid.
|
|
1939
1866
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md
|
|
1940
1867
|
*/
|
|
1941
|
-
'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<
|
|
1868
|
+
'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<JsxA11YAriaProptypes>
|
|
1942
1869
|
/**
|
|
1943
1870
|
* Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role.
|
|
1944
1871
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md
|
|
1945
1872
|
*/
|
|
1946
|
-
'jsx-a11y/aria-role'?: Linter.RuleEntry<
|
|
1873
|
+
'jsx-a11y/aria-role'?: Linter.RuleEntry<JsxA11YAriaRole>
|
|
1947
1874
|
/**
|
|
1948
1875
|
* Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
|
|
1949
1876
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md
|
|
1950
1877
|
*/
|
|
1951
|
-
'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<
|
|
1878
|
+
'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<JsxA11YAriaUnsupportedElements>
|
|
1952
1879
|
/**
|
|
1953
1880
|
* Enforce that autocomplete attributes are used correctly.
|
|
1954
1881
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md
|
|
1955
1882
|
*/
|
|
1956
|
-
'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<
|
|
1883
|
+
'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<JsxA11YAutocompleteValid>
|
|
1957
1884
|
/**
|
|
1958
1885
|
* Enforce a clickable non-interactive element has at least one keyboard event listener.
|
|
1959
1886
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md
|
|
1960
1887
|
*/
|
|
1961
|
-
'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<
|
|
1888
|
+
'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<JsxA11YClickEventsHaveKeyEvents>
|
|
1962
1889
|
/**
|
|
1963
1890
|
* Enforce that a control (an interactive element) has a text label.
|
|
1964
1891
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md
|
|
1965
1892
|
*/
|
|
1966
|
-
'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<
|
|
1893
|
+
'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<JsxA11YControlHasAssociatedLabel>
|
|
1967
1894
|
/**
|
|
1968
1895
|
* Enforce heading (`h1`, `h2`, etc) elements contain accessible content.
|
|
1969
1896
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md
|
|
1970
1897
|
*/
|
|
1971
|
-
'jsx-a11y/heading-has-content'?: Linter.RuleEntry<
|
|
1898
|
+
'jsx-a11y/heading-has-content'?: Linter.RuleEntry<JsxA11YHeadingHasContent>
|
|
1972
1899
|
/**
|
|
1973
1900
|
* Enforce `<html>` element has `lang` prop.
|
|
1974
1901
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md
|
|
1975
1902
|
*/
|
|
1976
|
-
'jsx-a11y/html-has-lang'?: Linter.RuleEntry<
|
|
1903
|
+
'jsx-a11y/html-has-lang'?: Linter.RuleEntry<JsxA11YHtmlHasLang>
|
|
1977
1904
|
/**
|
|
1978
1905
|
* Enforce iframe elements have a title attribute.
|
|
1979
1906
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md
|
|
1980
1907
|
*/
|
|
1981
|
-
'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<
|
|
1908
|
+
'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<JsxA11YIframeHasTitle>
|
|
1982
1909
|
/**
|
|
1983
1910
|
* Enforce `<img>` alt prop does not contain the word "image", "picture", or "photo".
|
|
1984
1911
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md
|
|
1985
1912
|
*/
|
|
1986
|
-
'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<
|
|
1913
|
+
'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<JsxA11YImgRedundantAlt>
|
|
1987
1914
|
/**
|
|
1988
1915
|
* Enforce that elements with interactive handlers like `onClick` must be focusable.
|
|
1989
1916
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md
|
|
1990
1917
|
*/
|
|
1991
|
-
'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<
|
|
1918
|
+
'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YInteractiveSupportsFocus>
|
|
1992
1919
|
/**
|
|
1993
1920
|
* Enforce that a `label` tag has a text label and an associated control.
|
|
1994
1921
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md
|
|
1995
1922
|
*/
|
|
1996
|
-
'jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<
|
|
1923
|
+
'jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<JsxA11YLabelHasAssociatedControl>
|
|
1997
1924
|
/**
|
|
1998
1925
|
* Enforce that `<label>` elements have the `htmlFor` prop.
|
|
1999
1926
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/label-has-for.md
|
|
2000
1927
|
* @deprecated
|
|
2001
1928
|
*/
|
|
2002
|
-
'jsx-a11y/label-has-for'?: Linter.RuleEntry<
|
|
1929
|
+
'jsx-a11y/label-has-for'?: Linter.RuleEntry<JsxA11YLabelHasFor>
|
|
2003
1930
|
/**
|
|
2004
1931
|
* Enforce lang attribute has a valid value.
|
|
2005
1932
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/lang.md
|
|
2006
1933
|
*/
|
|
2007
|
-
'jsx-a11y/lang'?: Linter.RuleEntry<
|
|
1934
|
+
'jsx-a11y/lang'?: Linter.RuleEntry<JsxA11YLang>
|
|
2008
1935
|
/**
|
|
2009
1936
|
* Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions.
|
|
2010
1937
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/media-has-caption.md
|
|
2011
1938
|
*/
|
|
2012
|
-
'jsx-a11y/media-has-caption'?: Linter.RuleEntry<
|
|
1939
|
+
'jsx-a11y/media-has-caption'?: Linter.RuleEntry<JsxA11YMediaHasCaption>
|
|
2013
1940
|
/**
|
|
2014
1941
|
* Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users.
|
|
2015
1942
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/mouse-events-have-key-events.md
|
|
2016
1943
|
*/
|
|
2017
|
-
'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<
|
|
1944
|
+
'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YMouseEventsHaveKeyEvents>
|
|
2018
1945
|
/**
|
|
2019
1946
|
* Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screen reader.
|
|
2020
1947
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-access-key.md
|
|
2021
1948
|
*/
|
|
2022
|
-
'jsx-a11y/no-access-key'?: Linter.RuleEntry<
|
|
1949
|
+
'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11YNoAccessKey>
|
|
2023
1950
|
/**
|
|
2024
1951
|
* Disallow `aria-hidden="true"` from being set on focusable elements.
|
|
2025
1952
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
|
|
2026
1953
|
*/
|
|
2027
|
-
'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<
|
|
1954
|
+
'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<JsxA11YNoAriaHiddenOnFocusable>
|
|
2028
1955
|
/**
|
|
2029
1956
|
* Enforce autoFocus prop is not used.
|
|
2030
1957
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-autofocus.md
|
|
2031
1958
|
*/
|
|
2032
|
-
'jsx-a11y/no-autofocus'?: Linter.RuleEntry<
|
|
1959
|
+
'jsx-a11y/no-autofocus'?: Linter.RuleEntry<JsxA11YNoAutofocus>
|
|
2033
1960
|
/**
|
|
2034
1961
|
* Enforce distracting elements are not used.
|
|
2035
1962
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-distracting-elements.md
|
|
2036
1963
|
*/
|
|
2037
|
-
'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<
|
|
1964
|
+
'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<JsxA11YNoDistractingElements>
|
|
2038
1965
|
/**
|
|
2039
1966
|
* Interactive elements should not be assigned non-interactive roles.
|
|
2040
1967
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
|
|
2041
1968
|
*/
|
|
2042
|
-
'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<
|
|
1969
|
+
'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YNoInteractiveElementToNoninteractiveRole>
|
|
2043
1970
|
/**
|
|
2044
1971
|
* Non-interactive elements should not be assigned mouse or keyboard event listeners.
|
|
2045
1972
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
|
|
2046
1973
|
*/
|
|
2047
|
-
'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<
|
|
1974
|
+
'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementInteractions>
|
|
2048
1975
|
/**
|
|
2049
1976
|
* Non-interactive elements should not be assigned interactive roles.
|
|
2050
1977
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
|
|
2051
1978
|
*/
|
|
2052
|
-
'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<
|
|
1979
|
+
'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementToInteractiveRole>
|
|
2053
1980
|
/**
|
|
2054
1981
|
* `tabIndex` should only be declared on interactive elements.
|
|
2055
1982
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
|
|
2056
1983
|
*/
|
|
2057
|
-
'jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<
|
|
1984
|
+
'jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11YNoNoninteractiveTabindex>
|
|
2058
1985
|
/**
|
|
2059
1986
|
* Enforce usage of `onBlur` over `onChange` on select menus for accessibility.
|
|
2060
1987
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-onchange.md
|
|
2061
1988
|
* @deprecated
|
|
2062
1989
|
*/
|
|
2063
|
-
'jsx-a11y/no-onchange'?: Linter.RuleEntry<
|
|
1990
|
+
'jsx-a11y/no-onchange'?: Linter.RuleEntry<JsxA11YNoOnchange>
|
|
2064
1991
|
/**
|
|
2065
1992
|
* Enforce explicit role property is not the same as implicit/default role property on element.
|
|
2066
1993
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-redundant-roles.md
|
|
2067
1994
|
*/
|
|
2068
|
-
'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<
|
|
1995
|
+
'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<JsxA11YNoRedundantRoles>
|
|
2069
1996
|
/**
|
|
2070
1997
|
* Enforce that non-interactive, visible elements (such as `<div>`) that have click handlers use the role attribute.
|
|
2071
1998
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-static-element-interactions.md
|
|
2072
1999
|
*/
|
|
2073
|
-
'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<
|
|
2000
|
+
'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YNoStaticElementInteractions>
|
|
2074
2001
|
/**
|
|
2075
2002
|
* Enforces using semantic DOM elements over the ARIA `role` property.
|
|
2076
2003
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/prefer-tag-over-role.md
|
|
2077
2004
|
*/
|
|
2078
|
-
'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<
|
|
2005
|
+
'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<JsxA11YPreferTagOverRole>
|
|
2079
2006
|
/**
|
|
2080
2007
|
* Enforce that elements with ARIA roles must have all required attributes for that role.
|
|
2081
2008
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-has-required-aria-props.md
|
|
2082
2009
|
*/
|
|
2083
|
-
'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<
|
|
2010
|
+
'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<JsxA11YRoleHasRequiredAriaProps>
|
|
2084
2011
|
/**
|
|
2085
2012
|
* Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`.
|
|
2086
2013
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-supports-aria-props.md
|
|
2087
2014
|
*/
|
|
2088
|
-
'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<
|
|
2015
|
+
'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<JsxA11YRoleSupportsAriaProps>
|
|
2089
2016
|
/**
|
|
2090
2017
|
* Enforce `scope` prop is only used on `<th>` elements.
|
|
2091
2018
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/scope.md
|
|
2092
2019
|
*/
|
|
2093
|
-
'jsx-a11y/scope'?: Linter.RuleEntry<
|
|
2020
|
+
'jsx-a11y/scope'?: Linter.RuleEntry<JsxA11YScope>
|
|
2094
2021
|
/**
|
|
2095
2022
|
* Enforce `tabIndex` value is not greater than zero.
|
|
2096
2023
|
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/tabindex-no-positive.md
|
|
2097
2024
|
*/
|
|
2098
|
-
'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<
|
|
2025
|
+
'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<JsxA11YTabindexNoPositive>
|
|
2099
2026
|
/**
|
|
2100
2027
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
2101
2028
|
* @see https://eslint.org/docs/latest/rules/jsx-quotes
|
|
@@ -2117,6 +2044,7 @@ interface RuleOptions {
|
|
|
2117
2044
|
/**
|
|
2118
2045
|
* Enforce position of line comments
|
|
2119
2046
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
2047
|
+
* @deprecated
|
|
2120
2048
|
*/
|
|
2121
2049
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
2122
2050
|
/**
|
|
@@ -2198,6 +2126,7 @@ interface RuleOptions {
|
|
|
2198
2126
|
/**
|
|
2199
2127
|
* Enforce a particular style for multiline comments
|
|
2200
2128
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
2129
|
+
* @deprecated
|
|
2201
2130
|
*/
|
|
2202
2131
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
2203
2132
|
/**
|
|
@@ -2327,7 +2256,7 @@ interface RuleOptions {
|
|
|
2327
2256
|
* Disallow returning value from constructor
|
|
2328
2257
|
* @see https://eslint.org/docs/latest/rules/no-constructor-return
|
|
2329
2258
|
*/
|
|
2330
|
-
'no-constructor-return'?: Linter.RuleEntry<
|
|
2259
|
+
'no-constructor-return'?: Linter.RuleEntry<[]>
|
|
2331
2260
|
/**
|
|
2332
2261
|
* Disallow `continue` statements
|
|
2333
2262
|
* @see https://eslint.org/docs/latest/rules/no-continue
|
|
@@ -2570,7 +2499,7 @@ interface RuleOptions {
|
|
|
2570
2499
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
2571
2500
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
2572
2501
|
*/
|
|
2573
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
2502
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
2574
2503
|
/**
|
|
2575
2504
|
* Disallow mixed binary operators
|
|
2576
2505
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2663,6 +2592,7 @@ interface RuleOptions {
|
|
|
2663
2592
|
/**
|
|
2664
2593
|
* Disallow `new` operators with the `Symbol` object
|
|
2665
2594
|
* @see https://eslint.org/docs/latest/rules/no-new-symbol
|
|
2595
|
+
* @deprecated
|
|
2666
2596
|
*/
|
|
2667
2597
|
'no-new-symbol'?: Linter.RuleEntry<[]>
|
|
2668
2598
|
/**
|
|
@@ -2959,6 +2889,11 @@ interface RuleOptions {
|
|
|
2959
2889
|
* @see https://eslint.org/docs/latest/rules/no-use-before-define
|
|
2960
2890
|
*/
|
|
2961
2891
|
'no-use-before-define'?: Linter.RuleEntry<NoUseBeforeDefine>
|
|
2892
|
+
/**
|
|
2893
|
+
* Disallow variable assignments when the value is not used
|
|
2894
|
+
* @see https://eslint.org/docs/latest/rules/no-useless-assignment
|
|
2895
|
+
*/
|
|
2896
|
+
'no-useless-assignment'?: Linter.RuleEntry<[]>
|
|
2962
2897
|
/**
|
|
2963
2898
|
* Disallow useless backreferences in regular expressions
|
|
2964
2899
|
* @see https://eslint.org/docs/latest/rules/no-useless-backreference
|
|
@@ -3724,17 +3659,11 @@ interface RuleOptions {
|
|
|
3724
3659
|
* @see https://eslint.org/docs/latest/rules/require-await
|
|
3725
3660
|
*/
|
|
3726
3661
|
'require-await'?: Linter.RuleEntry<[]>
|
|
3727
|
-
/**
|
|
3728
|
-
* Require JSDoc comments
|
|
3729
|
-
* @see https://eslint.org/docs/latest/rules/require-jsdoc
|
|
3730
|
-
* @deprecated
|
|
3731
|
-
*/
|
|
3732
|
-
'require-jsdoc'?: Linter.RuleEntry<RequireJsdoc>
|
|
3733
3662
|
/**
|
|
3734
3663
|
* Enforce the use of `u` or `v` flag on RegExp
|
|
3735
3664
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3736
3665
|
*/
|
|
3737
|
-
'require-unicode-regexp'?: Linter.RuleEntry<
|
|
3666
|
+
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
3738
3667
|
/**
|
|
3739
3668
|
* Require generator functions to contain `yield`
|
|
3740
3669
|
* @see https://eslint.org/docs/latest/rules/require-yield
|
|
@@ -3998,12 +3927,6 @@ interface RuleOptions {
|
|
|
3998
3927
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
3999
3928
|
*/
|
|
4000
3929
|
'use-isnan'?: Linter.RuleEntry<UseIsnan>
|
|
4001
|
-
/**
|
|
4002
|
-
* Enforce valid JSDoc comments
|
|
4003
|
-
* @see https://eslint.org/docs/latest/rules/valid-jsdoc
|
|
4004
|
-
* @deprecated
|
|
4005
|
-
*/
|
|
4006
|
-
'valid-jsdoc'?: Linter.RuleEntry<ValidJsdoc>
|
|
4007
3930
|
/**
|
|
4008
3931
|
* Enforce comparing `typeof` expressions against valid strings
|
|
4009
3932
|
* @see https://eslint.org/docs/latest/rules/valid-typeof
|
|
@@ -4049,6 +3972,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
4049
3972
|
}]
|
|
4050
3973
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
4051
3974
|
type TypescriptEslintBanTsComment = []|[{
|
|
3975
|
+
|
|
3976
|
+
minimumDescriptionLength?: number
|
|
3977
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
3978
|
+
descriptionFormat?: string
|
|
3979
|
+
})
|
|
4052
3980
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
4053
3981
|
descriptionFormat?: string
|
|
4054
3982
|
})
|
|
@@ -4058,61 +3986,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
4058
3986
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
4059
3987
|
descriptionFormat?: string
|
|
4060
3988
|
})
|
|
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
3989
|
}]
|
|
4086
3990
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
4087
3991
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
4088
3992
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
4089
3993
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
4090
3994
|
|
|
4091
|
-
exceptMethods?: string[]
|
|
4092
|
-
|
|
4093
3995
|
enforceForClassFields?: boolean
|
|
4094
3996
|
|
|
4095
|
-
|
|
3997
|
+
exceptMethods?: string[]
|
|
4096
3998
|
|
|
4097
3999
|
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
|
|
4000
|
+
|
|
4001
|
+
ignoreOverrideMethods?: boolean
|
|
4116
4002
|
}]
|
|
4117
4003
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
4118
4004
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -4124,61 +4010,76 @@ type TypescriptEslintConsistentReturn = []|[{
|
|
|
4124
4010
|
}]
|
|
4125
4011
|
// ----- @typescript-eslint/consistent-type-assertions -----
|
|
4126
4012
|
type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
4013
|
+
|
|
4127
4014
|
assertionStyle: "never"
|
|
4128
4015
|
} | {
|
|
4016
|
+
|
|
4129
4017
|
assertionStyle: ("as" | "angle-bracket")
|
|
4018
|
+
|
|
4130
4019
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
4131
4020
|
})]
|
|
4132
4021
|
// ----- @typescript-eslint/consistent-type-definitions -----
|
|
4133
4022
|
type TypescriptEslintConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
4134
4023
|
// ----- @typescript-eslint/consistent-type-exports -----
|
|
4135
4024
|
type TypescriptEslintConsistentTypeExports = []|[{
|
|
4025
|
+
|
|
4136
4026
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
4137
4027
|
}]
|
|
4138
4028
|
// ----- @typescript-eslint/consistent-type-imports -----
|
|
4139
4029
|
type TypescriptEslintConsistentTypeImports = []|[{
|
|
4030
|
+
|
|
4140
4031
|
disallowTypeAnnotations?: boolean
|
|
4032
|
+
|
|
4141
4033
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
4034
|
+
|
|
4142
4035
|
prefer?: ("type-imports" | "no-type-imports")
|
|
4143
4036
|
}]
|
|
4144
4037
|
// ----- @typescript-eslint/dot-notation -----
|
|
4145
4038
|
type TypescriptEslintDotNotation = []|[{
|
|
4039
|
+
|
|
4040
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
4041
|
+
|
|
4146
4042
|
allowKeywords?: boolean
|
|
4043
|
+
|
|
4147
4044
|
allowPattern?: string
|
|
4045
|
+
|
|
4148
4046
|
allowPrivateClassPropertyAccess?: boolean
|
|
4047
|
+
|
|
4149
4048
|
allowProtectedClassPropertyAccess?: boolean
|
|
4150
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
4151
4049
|
}]
|
|
4152
4050
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
4153
4051
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
4154
4052
|
|
|
4155
4053
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
4156
4054
|
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
allowHigherOrderFunctions?: boolean
|
|
4055
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
4160
4056
|
|
|
4161
|
-
|
|
4057
|
+
allowedNames?: string[]
|
|
4162
4058
|
|
|
4163
|
-
|
|
4059
|
+
allowExpressions?: boolean
|
|
4164
4060
|
|
|
4165
4061
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
4166
4062
|
|
|
4167
|
-
|
|
4063
|
+
allowHigherOrderFunctions?: boolean
|
|
4168
4064
|
|
|
4169
4065
|
allowIIFEs?: boolean
|
|
4066
|
+
|
|
4067
|
+
allowTypedFunctionExpressions?: boolean
|
|
4170
4068
|
}]
|
|
4171
4069
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
4172
4070
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
4071
|
+
|
|
4173
4072
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
4073
|
+
|
|
4074
|
+
ignoredMethodNames?: string[]
|
|
4075
|
+
|
|
4174
4076
|
overrides?: {
|
|
4175
4077
|
accessors?: ("explicit" | "no-public" | "off")
|
|
4176
4078
|
constructors?: ("explicit" | "no-public" | "off")
|
|
4177
4079
|
methods?: ("explicit" | "no-public" | "off")
|
|
4178
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
4179
4080
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
4081
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
4180
4082
|
}
|
|
4181
|
-
ignoredMethodNames?: string[]
|
|
4182
4083
|
}]
|
|
4183
4084
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
4184
4085
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -4193,485 +4094,45 @@ type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
|
4193
4094
|
|
|
4194
4095
|
allowTypedFunctionExpressions?: boolean
|
|
4195
4096
|
}]
|
|
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
4097
|
// ----- @typescript-eslint/init-declarations -----
|
|
4233
4098
|
type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
4234
4099
|
ignoreForLoopInit?: boolean
|
|
4235
4100
|
}])
|
|
4236
|
-
// ----- @typescript-eslint/
|
|
4237
|
-
type
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4101
|
+
// ----- @typescript-eslint/max-params -----
|
|
4102
|
+
type TypescriptEslintMaxParams = []|[{
|
|
4103
|
+
|
|
4104
|
+
countVoidThis?: boolean
|
|
4105
|
+
|
|
4106
|
+
max?: number
|
|
4107
|
+
|
|
4108
|
+
maximum?: number
|
|
4109
|
+
}]
|
|
4110
|
+
// ----- @typescript-eslint/member-ordering -----
|
|
4111
|
+
type TypescriptEslintMemberOrdering = []|[{
|
|
4112
|
+
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")[])[] | {
|
|
4113
|
+
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")
|
|
4114
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
4115
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4243
4116
|
})
|
|
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")[])[] | {
|
|
4117
|
+
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
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")
|
|
4653
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4654
4119
|
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
4120
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4659
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
4660
4121
|
})
|
|
4661
|
-
|
|
4122
|
+
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
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")
|
|
4663
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4664
4124
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4125
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4665
4126
|
})
|
|
4666
4127
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4667
4128
|
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
4129
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4130
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4670
4131
|
})
|
|
4671
4132
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
4672
4133
|
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
4134
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
4135
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
4675
4136
|
})
|
|
4676
4137
|
}]
|
|
4677
4138
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -4683,310 +4144,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
4683
4144
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
4684
4145
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
4685
4146
|
type TypescriptEslintNamingConvention = ({
|
|
4686
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4687
4147
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4148
|
+
failureMessage?: string
|
|
4149
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4688
4150
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4689
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4690
4151
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4691
4152
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4692
|
-
|
|
4153
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4693
4154
|
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
4155
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
4156
|
+
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
4157
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4697
4158
|
} | {
|
|
4698
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4699
4159
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4160
|
+
failureMessage?: string
|
|
4161
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4700
4162
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4701
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4702
4163
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4703
4164
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4704
|
-
|
|
4165
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4705
4166
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4706
4167
|
selector: "default"
|
|
4707
4168
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
4708
4169
|
} | {
|
|
4709
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4710
4170
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4171
|
+
failureMessage?: string
|
|
4172
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4711
4173
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4712
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4713
4174
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4714
4175
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4715
|
-
|
|
4176
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4716
4177
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4717
4178
|
selector: "variableLike"
|
|
4718
4179
|
modifiers?: ("unused" | "async")[]
|
|
4719
4180
|
} | {
|
|
4720
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4721
4181
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4182
|
+
failureMessage?: string
|
|
4183
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4722
4184
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4723
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4724
4185
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4725
4186
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4726
|
-
|
|
4187
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4727
4188
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4728
4189
|
selector: "variable"
|
|
4729
4190
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
4730
4191
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4731
4192
|
} | {
|
|
4732
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4733
4193
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4194
|
+
failureMessage?: string
|
|
4195
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4734
4196
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4735
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4736
4197
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4737
4198
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4738
|
-
|
|
4199
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4739
4200
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4740
4201
|
selector: "function"
|
|
4741
4202
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
4742
4203
|
} | {
|
|
4743
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4744
4204
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4205
|
+
failureMessage?: string
|
|
4206
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4745
4207
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4746
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4747
4208
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4748
4209
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4749
|
-
|
|
4210
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4750
4211
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4751
4212
|
selector: "parameter"
|
|
4752
4213
|
modifiers?: ("destructured" | "unused")[]
|
|
4753
4214
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4754
4215
|
} | {
|
|
4755
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4756
4216
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4217
|
+
failureMessage?: string
|
|
4218
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4757
4219
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4758
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4759
4220
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4760
4221
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4761
|
-
|
|
4222
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4762
4223
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4763
4224
|
selector: "memberLike"
|
|
4764
4225
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4765
4226
|
} | {
|
|
4766
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4767
4227
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4228
|
+
failureMessage?: string
|
|
4229
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4768
4230
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4769
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4770
4231
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4771
4232
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4772
|
-
|
|
4233
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4773
4234
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4774
4235
|
selector: "classProperty"
|
|
4775
4236
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
4776
4237
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4777
4238
|
} | {
|
|
4778
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4779
4239
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4240
|
+
failureMessage?: string
|
|
4241
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4780
4242
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4781
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4782
4243
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4783
4244
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4784
|
-
|
|
4245
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4785
4246
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4786
4247
|
selector: "objectLiteralProperty"
|
|
4787
4248
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4788
4249
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4789
4250
|
} | {
|
|
4790
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4791
4251
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4252
|
+
failureMessage?: string
|
|
4253
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4792
4254
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4793
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4794
4255
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4795
4256
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4796
|
-
|
|
4257
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4797
4258
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4798
4259
|
selector: "typeProperty"
|
|
4799
4260
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
4800
4261
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4801
4262
|
} | {
|
|
4802
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4803
4263
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4264
|
+
failureMessage?: string
|
|
4265
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4804
4266
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4805
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4806
4267
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4807
4268
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4808
|
-
|
|
4269
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4809
4270
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4810
4271
|
selector: "parameterProperty"
|
|
4811
4272
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
4812
4273
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4813
4274
|
} | {
|
|
4814
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4815
4275
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4276
|
+
failureMessage?: string
|
|
4277
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4816
4278
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4817
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4818
4279
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4819
4280
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4820
|
-
|
|
4281
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4821
4282
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4822
4283
|
selector: "property"
|
|
4823
4284
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4824
4285
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4825
4286
|
} | {
|
|
4826
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4827
4287
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4288
|
+
failureMessage?: string
|
|
4289
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4828
4290
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4829
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4830
4291
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4831
4292
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4832
|
-
|
|
4293
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4833
4294
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4834
4295
|
selector: "classMethod"
|
|
4835
4296
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4836
4297
|
} | {
|
|
4837
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4838
4298
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4299
|
+
failureMessage?: string
|
|
4300
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4839
4301
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4840
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4841
4302
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4842
4303
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4843
|
-
|
|
4304
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4844
4305
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4845
4306
|
selector: "objectLiteralMethod"
|
|
4846
4307
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
4847
4308
|
} | {
|
|
4848
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4849
4309
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4310
|
+
failureMessage?: string
|
|
4311
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4850
4312
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4851
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4852
4313
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4853
4314
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4854
|
-
|
|
4315
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4855
4316
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4856
4317
|
selector: "typeMethod"
|
|
4857
4318
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
4858
4319
|
} | {
|
|
4859
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4860
4320
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4321
|
+
failureMessage?: string
|
|
4322
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4861
4323
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4862
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4863
4324
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4864
4325
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4865
|
-
|
|
4326
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4866
4327
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4867
4328
|
selector: "method"
|
|
4868
4329
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
4869
4330
|
} | {
|
|
4870
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4871
4331
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4332
|
+
failureMessage?: string
|
|
4333
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4872
4334
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4873
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4874
4335
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4875
4336
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4876
|
-
|
|
4337
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4877
4338
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4878
4339
|
selector: "classicAccessor"
|
|
4879
4340
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4880
4341
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4881
4342
|
} | {
|
|
4882
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4883
4343
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4344
|
+
failureMessage?: string
|
|
4345
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4884
4346
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4885
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4886
4347
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4887
4348
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4888
|
-
|
|
4349
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4889
4350
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4890
4351
|
selector: "autoAccessor"
|
|
4891
4352
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4892
4353
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4893
4354
|
} | {
|
|
4894
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4895
4355
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4356
|
+
failureMessage?: string
|
|
4357
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4896
4358
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4897
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4898
4359
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4899
4360
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4900
|
-
|
|
4361
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4901
4362
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4902
4363
|
selector: "accessor"
|
|
4903
4364
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
4904
4365
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
4905
4366
|
} | {
|
|
4906
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4907
4367
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4368
|
+
failureMessage?: string
|
|
4369
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4908
4370
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4909
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4910
4371
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4911
4372
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4912
|
-
|
|
4373
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4913
4374
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4914
4375
|
selector: "enumMember"
|
|
4915
4376
|
modifiers?: ("requiresQuotes")[]
|
|
4916
4377
|
} | {
|
|
4917
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4918
4378
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4379
|
+
failureMessage?: string
|
|
4380
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4919
4381
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4920
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4921
4382
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4922
4383
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4923
|
-
|
|
4384
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4924
4385
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4925
4386
|
selector: "typeLike"
|
|
4926
4387
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4927
4388
|
} | {
|
|
4928
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4929
4389
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4390
|
+
failureMessage?: string
|
|
4391
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4930
4392
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4931
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4932
4393
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4933
4394
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4934
|
-
|
|
4395
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4935
4396
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4936
4397
|
selector: "class"
|
|
4937
4398
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
4938
4399
|
} | {
|
|
4939
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4940
4400
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4401
|
+
failureMessage?: string
|
|
4402
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4941
4403
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4942
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4943
4404
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4944
4405
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4945
|
-
|
|
4406
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4946
4407
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4947
4408
|
selector: "interface"
|
|
4948
4409
|
modifiers?: ("exported" | "unused")[]
|
|
4949
4410
|
} | {
|
|
4950
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4951
4411
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4412
|
+
failureMessage?: string
|
|
4413
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4952
4414
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4953
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4954
4415
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4955
4416
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4956
|
-
|
|
4417
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4957
4418
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4958
4419
|
selector: "typeAlias"
|
|
4959
4420
|
modifiers?: ("exported" | "unused")[]
|
|
4960
4421
|
} | {
|
|
4961
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4962
4422
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4423
|
+
failureMessage?: string
|
|
4424
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4963
4425
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4964
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4965
4426
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4966
4427
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4967
|
-
|
|
4428
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4968
4429
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4969
4430
|
selector: "enum"
|
|
4970
4431
|
modifiers?: ("exported" | "unused")[]
|
|
4971
4432
|
} | {
|
|
4972
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4973
4433
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4434
|
+
failureMessage?: string
|
|
4435
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4974
4436
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4975
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4976
4437
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4977
4438
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4978
|
-
|
|
4439
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4979
4440
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4980
4441
|
selector: "typeParameter"
|
|
4981
4442
|
modifiers?: ("unused")[]
|
|
4982
4443
|
} | {
|
|
4983
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4984
4444
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
4445
|
+
failureMessage?: string
|
|
4446
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
4985
4447
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4986
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4987
4448
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4988
4449
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
4989
|
-
|
|
4450
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
4990
4451
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
4991
4452
|
selector: "import"
|
|
4992
4453
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -4997,26 +4458,42 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
4997
4458
|
}
|
|
4998
4459
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
4999
4460
|
type TypescriptEslintNoBaseToString = []|[{
|
|
4461
|
+
|
|
5000
4462
|
ignoredTypeNames?: string[]
|
|
5001
4463
|
}]
|
|
5002
4464
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
5003
4465
|
type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
4466
|
+
|
|
5004
4467
|
ignoreArrowShorthand?: boolean
|
|
4468
|
+
|
|
5005
4469
|
ignoreVoidOperator?: boolean
|
|
5006
4470
|
}]
|
|
5007
4471
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
5008
4472
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
4473
|
+
|
|
5009
4474
|
ignoreIntersections?: boolean
|
|
4475
|
+
|
|
5010
4476
|
ignoreUnions?: boolean
|
|
5011
4477
|
}]
|
|
5012
4478
|
// ----- @typescript-eslint/no-empty-function -----
|
|
5013
4479
|
type TypescriptEslintNoEmptyFunction = []|[{
|
|
4480
|
+
|
|
5014
4481
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
5015
4482
|
}]
|
|
5016
4483
|
// ----- @typescript-eslint/no-empty-interface -----
|
|
5017
4484
|
type TypescriptEslintNoEmptyInterface = []|[{
|
|
4485
|
+
|
|
5018
4486
|
allowSingleExtends?: boolean
|
|
5019
4487
|
}]
|
|
4488
|
+
// ----- @typescript-eslint/no-empty-object-type -----
|
|
4489
|
+
type TypescriptEslintNoEmptyObjectType = []|[{
|
|
4490
|
+
|
|
4491
|
+
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
4492
|
+
|
|
4493
|
+
allowObjectTypes?: ("always" | "never")
|
|
4494
|
+
|
|
4495
|
+
allowWithName?: string
|
|
4496
|
+
}]
|
|
5020
4497
|
// ----- @typescript-eslint/no-explicit-any -----
|
|
5021
4498
|
type TypescriptEslintNoExplicitAny = []|[{
|
|
5022
4499
|
|
|
@@ -5024,19 +4501,6 @@ type TypescriptEslintNoExplicitAny = []|[{
|
|
|
5024
4501
|
|
|
5025
4502
|
ignoreRestArgs?: boolean
|
|
5026
4503
|
}]
|
|
5027
|
-
// ----- @typescript-eslint/no-extra-parens -----
|
|
5028
|
-
type TypescriptEslintNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
5029
|
-
conditionalAssign?: boolean
|
|
5030
|
-
ternaryOperandBinaryExpressions?: boolean
|
|
5031
|
-
nestedBinaryExpressions?: boolean
|
|
5032
|
-
returnAssign?: boolean
|
|
5033
|
-
ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
|
|
5034
|
-
enforceForArrowConditionals?: boolean
|
|
5035
|
-
enforceForSequenceExpressions?: boolean
|
|
5036
|
-
enforceForNewInMemberExpressions?: boolean
|
|
5037
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
5038
|
-
allowParensAfterCommentPattern?: string
|
|
5039
|
-
}])
|
|
5040
4504
|
// ----- @typescript-eslint/no-extraneous-class -----
|
|
5041
4505
|
type TypescriptEslintNoExtraneousClass = []|[{
|
|
5042
4506
|
|
|
@@ -5051,13 +4515,43 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
5051
4515
|
// ----- @typescript-eslint/no-floating-promises -----
|
|
5052
4516
|
type TypescriptEslintNoFloatingPromises = []|[{
|
|
5053
4517
|
|
|
5054
|
-
|
|
4518
|
+
allowForKnownSafeCalls?: (string | {
|
|
4519
|
+
from: "file"
|
|
4520
|
+
name: (string | [string, ...(string)[]])
|
|
4521
|
+
path?: string
|
|
4522
|
+
} | {
|
|
4523
|
+
from: "lib"
|
|
4524
|
+
name: (string | [string, ...(string)[]])
|
|
4525
|
+
} | {
|
|
4526
|
+
from: "package"
|
|
4527
|
+
name: (string | [string, ...(string)[]])
|
|
4528
|
+
package: string
|
|
4529
|
+
})[]
|
|
4530
|
+
|
|
4531
|
+
allowForKnownSafePromises?: (string | {
|
|
4532
|
+
from: "file"
|
|
4533
|
+
name: (string | [string, ...(string)[]])
|
|
4534
|
+
path?: string
|
|
4535
|
+
} | {
|
|
4536
|
+
from: "lib"
|
|
4537
|
+
name: (string | [string, ...(string)[]])
|
|
4538
|
+
} | {
|
|
4539
|
+
from: "package"
|
|
4540
|
+
name: (string | [string, ...(string)[]])
|
|
4541
|
+
package: string
|
|
4542
|
+
})[]
|
|
4543
|
+
|
|
4544
|
+
checkThenables?: boolean
|
|
5055
4545
|
|
|
5056
4546
|
ignoreIIFE?: boolean
|
|
4547
|
+
|
|
4548
|
+
ignoreVoid?: boolean
|
|
5057
4549
|
}]
|
|
5058
4550
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
5059
4551
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
4552
|
+
|
|
5060
4553
|
ignoreParameters?: boolean
|
|
4554
|
+
|
|
5061
4555
|
ignoreProperties?: boolean
|
|
5062
4556
|
}]
|
|
5063
4557
|
// ----- @typescript-eslint/no-invalid-this -----
|
|
@@ -5066,8 +4560,10 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
5066
4560
|
}]
|
|
5067
4561
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
5068
4562
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
5069
|
-
|
|
4563
|
+
|
|
5070
4564
|
allowAsThisParameter?: boolean
|
|
4565
|
+
|
|
4566
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
5071
4567
|
}]
|
|
5072
4568
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
5073
4569
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -5077,26 +4573,41 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
5077
4573
|
ignoreArrayIndexes?: boolean
|
|
5078
4574
|
ignoreDefaultValues?: boolean
|
|
5079
4575
|
ignoreClassFieldInitialValues?: boolean
|
|
5080
|
-
|
|
4576
|
+
|
|
5081
4577
|
ignoreEnums?: boolean
|
|
4578
|
+
|
|
4579
|
+
ignoreNumericLiteralTypes?: boolean
|
|
4580
|
+
|
|
5082
4581
|
ignoreReadonlyClassProperties?: boolean
|
|
4582
|
+
|
|
5083
4583
|
ignoreTypeIndexes?: boolean
|
|
5084
4584
|
}]
|
|
5085
4585
|
// ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
5086
4586
|
type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
4587
|
+
|
|
5087
4588
|
checkNever?: boolean
|
|
5088
4589
|
}]
|
|
5089
4590
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
5090
4591
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
4592
|
+
|
|
5091
4593
|
checksConditionals?: boolean
|
|
4594
|
+
|
|
4595
|
+
checksSpreads?: boolean
|
|
4596
|
+
|
|
5092
4597
|
checksVoidReturn?: (boolean | {
|
|
4598
|
+
|
|
5093
4599
|
arguments?: boolean
|
|
4600
|
+
|
|
5094
4601
|
attributes?: boolean
|
|
4602
|
+
|
|
4603
|
+
inheritedMethods?: boolean
|
|
4604
|
+
|
|
5095
4605
|
properties?: boolean
|
|
4606
|
+
|
|
5096
4607
|
returns?: boolean
|
|
4608
|
+
|
|
5097
4609
|
variables?: boolean
|
|
5098
4610
|
})
|
|
5099
|
-
checksSpreads?: boolean
|
|
5100
4611
|
}]
|
|
5101
4612
|
// ----- @typescript-eslint/no-namespace -----
|
|
5102
4613
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -5107,19 +4618,24 @@ type TypescriptEslintNoNamespace = []|[{
|
|
|
5107
4618
|
}]
|
|
5108
4619
|
// ----- @typescript-eslint/no-redeclare -----
|
|
5109
4620
|
type TypescriptEslintNoRedeclare = []|[{
|
|
4621
|
+
|
|
5110
4622
|
builtinGlobals?: boolean
|
|
4623
|
+
|
|
5111
4624
|
ignoreDeclarationMerge?: boolean
|
|
5112
4625
|
}]
|
|
5113
4626
|
// ----- @typescript-eslint/no-require-imports -----
|
|
5114
4627
|
type TypescriptEslintNoRequireImports = []|[{
|
|
5115
4628
|
|
|
5116
4629
|
allow?: string[]
|
|
4630
|
+
|
|
4631
|
+
allowAsImport?: boolean
|
|
5117
4632
|
}]
|
|
5118
4633
|
// ----- @typescript-eslint/no-restricted-imports -----
|
|
5119
4634
|
type TypescriptEslintNoRestrictedImports = ((string | {
|
|
5120
4635
|
name: string
|
|
5121
4636
|
message?: string
|
|
5122
4637
|
importNames?: string[]
|
|
4638
|
+
allowImportNames?: string[]
|
|
5123
4639
|
|
|
5124
4640
|
allowTypeImports?: boolean
|
|
5125
4641
|
})[] | []|[{
|
|
@@ -5127,6 +4643,7 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
5127
4643
|
name: string
|
|
5128
4644
|
message?: string
|
|
5129
4645
|
importNames?: string[]
|
|
4646
|
+
allowImportNames?: string[]
|
|
5130
4647
|
|
|
5131
4648
|
allowTypeImports?: boolean
|
|
5132
4649
|
})[]
|
|
@@ -5134,22 +4651,46 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
5134
4651
|
|
|
5135
4652
|
importNames?: [string, ...(string)[]]
|
|
5136
4653
|
|
|
5137
|
-
|
|
4654
|
+
allowImportNames?: [string, ...(string)[]]
|
|
4655
|
+
|
|
4656
|
+
group?: [string, ...(string)[]]
|
|
4657
|
+
regex?: string
|
|
5138
4658
|
importNamePattern?: string
|
|
4659
|
+
allowImportNamePattern?: string
|
|
5139
4660
|
message?: string
|
|
5140
4661
|
caseSensitive?: boolean
|
|
5141
4662
|
|
|
5142
4663
|
allowTypeImports?: boolean
|
|
5143
4664
|
}[])
|
|
5144
4665
|
}])
|
|
4666
|
+
// ----- @typescript-eslint/no-restricted-types -----
|
|
4667
|
+
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
4668
|
+
|
|
4669
|
+
types?: {
|
|
4670
|
+
[k: string]: (true | string | {
|
|
4671
|
+
|
|
4672
|
+
fixWith?: string
|
|
4673
|
+
|
|
4674
|
+
message?: string
|
|
4675
|
+
|
|
4676
|
+
suggest?: string[]
|
|
4677
|
+
}) | undefined
|
|
4678
|
+
}
|
|
4679
|
+
}]
|
|
5145
4680
|
// ----- @typescript-eslint/no-shadow -----
|
|
5146
4681
|
type TypescriptEslintNoShadow = []|[{
|
|
4682
|
+
|
|
4683
|
+
allow?: string[]
|
|
4684
|
+
|
|
5147
4685
|
builtinGlobals?: boolean
|
|
4686
|
+
|
|
5148
4687
|
hoist?: ("all" | "functions" | "never")
|
|
5149
|
-
|
|
4688
|
+
|
|
4689
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
4690
|
+
|
|
5150
4691
|
ignoreOnInitialization?: boolean
|
|
4692
|
+
|
|
5151
4693
|
ignoreTypeValueShadow?: boolean
|
|
5152
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
5153
4694
|
}]
|
|
5154
4695
|
// ----- @typescript-eslint/no-this-alias -----
|
|
5155
4696
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -5158,11 +4699,6 @@ type TypescriptEslintNoThisAlias = []|[{
|
|
|
5158
4699
|
|
|
5159
4700
|
allowedNames?: string[]
|
|
5160
4701
|
}]
|
|
5161
|
-
// ----- @typescript-eslint/no-throw-literal -----
|
|
5162
|
-
type TypescriptEslintNoThrowLiteral = []|[{
|
|
5163
|
-
allowThrowingAny?: boolean
|
|
5164
|
-
allowThrowingUnknown?: boolean
|
|
5165
|
-
}]
|
|
5166
4702
|
// ----- @typescript-eslint/no-type-alias -----
|
|
5167
4703
|
type TypescriptEslintNoTypeAlias = []|[{
|
|
5168
4704
|
|
|
@@ -5174,20 +4710,20 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
5174
4710
|
|
|
5175
4711
|
allowConstructors?: ("always" | "never")
|
|
5176
4712
|
|
|
4713
|
+
allowGenerics?: ("always" | "never")
|
|
4714
|
+
|
|
5177
4715
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5178
4716
|
|
|
5179
4717
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5180
4718
|
|
|
5181
4719
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
5182
|
-
|
|
5183
|
-
allowGenerics?: ("always" | "never")
|
|
5184
4720
|
}]
|
|
5185
4721
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
5186
4722
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
5187
4723
|
|
|
5188
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
5189
|
-
|
|
5190
4724
|
allowComparingNullableBooleansToFalse?: boolean
|
|
4725
|
+
|
|
4726
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
5191
4727
|
}]
|
|
5192
4728
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
5193
4729
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
@@ -5195,6 +4731,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
5195
4731
|
allowConstantLoopConditions?: boolean
|
|
5196
4732
|
|
|
5197
4733
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4734
|
+
|
|
4735
|
+
checkTypePredicates?: boolean
|
|
5198
4736
|
}]
|
|
5199
4737
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
5200
4738
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -5210,60 +4748,70 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
5210
4748
|
}]
|
|
5211
4749
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
5212
4750
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
5213
|
-
|
|
5214
|
-
varsIgnorePattern?: string
|
|
4751
|
+
|
|
5215
4752
|
args?: ("all" | "after-used" | "none")
|
|
5216
|
-
|
|
4753
|
+
|
|
5217
4754
|
argsIgnorePattern?: string
|
|
4755
|
+
|
|
5218
4756
|
caughtErrors?: ("all" | "none")
|
|
4757
|
+
|
|
5219
4758
|
caughtErrorsIgnorePattern?: string
|
|
4759
|
+
|
|
5220
4760
|
destructuredArrayIgnorePattern?: string
|
|
4761
|
+
|
|
4762
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
4763
|
+
|
|
4764
|
+
ignoreRestSiblings?: boolean
|
|
4765
|
+
|
|
4766
|
+
reportUsedIgnorePattern?: boolean
|
|
4767
|
+
|
|
4768
|
+
vars?: ("all" | "local")
|
|
4769
|
+
|
|
4770
|
+
varsIgnorePattern?: string
|
|
5221
4771
|
})]
|
|
5222
4772
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
5223
4773
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
5224
|
-
|
|
4774
|
+
|
|
4775
|
+
allowNamedExports?: boolean
|
|
4776
|
+
|
|
5225
4777
|
classes?: boolean
|
|
4778
|
+
|
|
5226
4779
|
enums?: boolean
|
|
5227
|
-
|
|
5228
|
-
|
|
4780
|
+
|
|
4781
|
+
functions?: boolean
|
|
4782
|
+
|
|
5229
4783
|
ignoreTypeReferences?: boolean
|
|
5230
|
-
|
|
4784
|
+
|
|
4785
|
+
typedefs?: boolean
|
|
4786
|
+
|
|
4787
|
+
variables?: boolean
|
|
5231
4788
|
})]
|
|
5232
4789
|
// ----- @typescript-eslint/no-var-requires -----
|
|
5233
4790
|
type TypescriptEslintNoVarRequires = []|[{
|
|
5234
4791
|
|
|
5235
4792
|
allow?: string[]
|
|
5236
4793
|
}]
|
|
5237
|
-
// ----- @typescript-eslint/object-curly-spacing -----
|
|
5238
|
-
type TypescriptEslintObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
5239
|
-
arraysInObjects?: boolean
|
|
5240
|
-
objectsInObjects?: boolean
|
|
5241
|
-
}]
|
|
5242
4794
|
// ----- @typescript-eslint/only-throw-error -----
|
|
5243
4795
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
4796
|
+
|
|
5244
4797
|
allowThrowingAny?: boolean
|
|
4798
|
+
|
|
5245
4799
|
allowThrowingUnknown?: boolean
|
|
5246
4800
|
}]
|
|
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
4801
|
// ----- @typescript-eslint/parameter-properties -----
|
|
5256
4802
|
type TypescriptEslintParameterProperties = []|[{
|
|
4803
|
+
|
|
5257
4804
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
4805
|
+
|
|
5258
4806
|
prefer?: ("class-property" | "parameter-property")
|
|
5259
4807
|
}]
|
|
5260
4808
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
5261
4809
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
5262
|
-
|
|
4810
|
+
AssignmentExpression?: {
|
|
5263
4811
|
array?: boolean
|
|
5264
4812
|
object?: boolean
|
|
5265
4813
|
}
|
|
5266
|
-
|
|
4814
|
+
VariableDeclarator?: {
|
|
5267
4815
|
array?: boolean
|
|
5268
4816
|
object?: boolean
|
|
5269
4817
|
}
|
|
@@ -5271,11 +4819,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5271
4819
|
array?: boolean
|
|
5272
4820
|
object?: boolean
|
|
5273
4821
|
})]|[({
|
|
5274
|
-
|
|
4822
|
+
AssignmentExpression?: {
|
|
5275
4823
|
array?: boolean
|
|
5276
4824
|
object?: boolean
|
|
5277
4825
|
}
|
|
5278
|
-
|
|
4826
|
+
VariableDeclarator?: {
|
|
5279
4827
|
array?: boolean
|
|
5280
4828
|
object?: boolean
|
|
5281
4829
|
}
|
|
@@ -5283,57 +4831,72 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
5283
4831
|
array?: boolean
|
|
5284
4832
|
object?: boolean
|
|
5285
4833
|
}), {
|
|
5286
|
-
|
|
4834
|
+
|
|
5287
4835
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
4836
|
+
|
|
4837
|
+
enforceForRenamedProperties?: boolean
|
|
5288
4838
|
[k: string]: unknown | undefined
|
|
5289
4839
|
}]
|
|
5290
4840
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
5291
4841
|
type TypescriptEslintPreferLiteralEnumMember = []|[{
|
|
4842
|
+
|
|
5292
4843
|
allowBitwiseExpressions?: boolean
|
|
5293
4844
|
}]
|
|
5294
4845
|
// ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
5295
4846
|
type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
4847
|
+
|
|
5296
4848
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4849
|
+
|
|
5297
4850
|
ignoreConditionalTests?: boolean
|
|
4851
|
+
|
|
5298
4852
|
ignoreMixedLogicalExpressions?: boolean
|
|
4853
|
+
|
|
5299
4854
|
ignorePrimitives?: ({
|
|
4855
|
+
|
|
5300
4856
|
bigint?: boolean
|
|
4857
|
+
|
|
5301
4858
|
boolean?: boolean
|
|
4859
|
+
|
|
5302
4860
|
number?: boolean
|
|
4861
|
+
|
|
5303
4862
|
string?: boolean
|
|
5304
4863
|
[k: string]: unknown | undefined
|
|
5305
4864
|
} | true)
|
|
4865
|
+
|
|
5306
4866
|
ignoreTernaryTests?: boolean
|
|
5307
4867
|
}]
|
|
5308
4868
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
5309
4869
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
5310
4870
|
|
|
4871
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
4872
|
+
|
|
5311
4873
|
checkAny?: boolean
|
|
5312
4874
|
|
|
5313
|
-
|
|
4875
|
+
checkBigInt?: boolean
|
|
5314
4876
|
|
|
5315
|
-
|
|
4877
|
+
checkBoolean?: boolean
|
|
5316
4878
|
|
|
5317
4879
|
checkNumber?: boolean
|
|
5318
4880
|
|
|
5319
|
-
|
|
4881
|
+
checkString?: boolean
|
|
5320
4882
|
|
|
5321
|
-
|
|
4883
|
+
checkUnknown?: boolean
|
|
5322
4884
|
|
|
5323
4885
|
requireNullish?: boolean
|
|
5324
|
-
|
|
5325
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
5326
4886
|
}]
|
|
5327
4887
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
5328
4888
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
4889
|
+
|
|
5329
4890
|
allowEmptyReject?: boolean
|
|
5330
4891
|
}]
|
|
5331
4892
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
5332
4893
|
type TypescriptEslintPreferReadonly = []|[{
|
|
4894
|
+
|
|
5333
4895
|
onlyInlineLambdas?: boolean
|
|
5334
4896
|
}]
|
|
5335
4897
|
// ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
5336
4898
|
type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
4899
|
+
|
|
5337
4900
|
allow?: (string | {
|
|
5338
4901
|
from: "file"
|
|
5339
4902
|
name: (string | [string, ...(string)[]])
|
|
@@ -5346,8 +4909,11 @@ type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
|
5346
4909
|
name: (string | [string, ...(string)[]])
|
|
5347
4910
|
package: string
|
|
5348
4911
|
})[]
|
|
4912
|
+
|
|
5349
4913
|
checkParameterProperties?: boolean
|
|
4914
|
+
|
|
5350
4915
|
ignoreInferredTypes?: boolean
|
|
4916
|
+
|
|
5351
4917
|
treatMethodsAsReadonly?: boolean
|
|
5352
4918
|
}]
|
|
5353
4919
|
// ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
@@ -5361,16 +4927,15 @@ type TypescriptEslintPromiseFunctionAsync = []|[{
|
|
|
5361
4927
|
allowAny?: boolean
|
|
5362
4928
|
|
|
5363
4929
|
allowedPromiseNames?: string[]
|
|
4930
|
+
|
|
5364
4931
|
checkArrowFunctions?: boolean
|
|
4932
|
+
|
|
5365
4933
|
checkFunctionDeclarations?: boolean
|
|
4934
|
+
|
|
5366
4935
|
checkFunctionExpressions?: boolean
|
|
4936
|
+
|
|
5367
4937
|
checkMethodDeclarations?: boolean
|
|
5368
4938
|
}]
|
|
5369
|
-
// ----- @typescript-eslint/quotes -----
|
|
5370
|
-
type TypescriptEslintQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
5371
|
-
avoidEscape?: boolean
|
|
5372
|
-
allowTemplateLiterals?: boolean
|
|
5373
|
-
})]
|
|
5374
4939
|
// ----- @typescript-eslint/require-array-sort-compare -----
|
|
5375
4940
|
type TypescriptEslintRequireArraySortCompare = []|[{
|
|
5376
4941
|
|
|
@@ -5407,92 +4972,89 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
5407
4972
|
allowRegExp?: boolean
|
|
5408
4973
|
|
|
5409
4974
|
allowNever?: boolean
|
|
4975
|
+
|
|
4976
|
+
allow?: (string | {
|
|
4977
|
+
from: "file"
|
|
4978
|
+
name: (string | [string, ...(string)[]])
|
|
4979
|
+
path?: string
|
|
4980
|
+
} | {
|
|
4981
|
+
from: "lib"
|
|
4982
|
+
name: (string | [string, ...(string)[]])
|
|
4983
|
+
} | {
|
|
4984
|
+
from: "package"
|
|
4985
|
+
name: (string | [string, ...(string)[]])
|
|
4986
|
+
package: string
|
|
4987
|
+
})[]
|
|
5410
4988
|
}]
|
|
5411
4989
|
// ----- @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
|
-
}])
|
|
4990
|
+
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
5420
4991
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
5421
4992
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
5422
4993
|
|
|
4994
|
+
caseSensitive?: boolean
|
|
4995
|
+
|
|
5423
4996
|
checkIntersections?: boolean
|
|
5424
4997
|
|
|
5425
4998
|
checkUnions?: boolean
|
|
5426
4999
|
|
|
5427
5000
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
5428
5001
|
}]
|
|
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
5002
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
5446
5003
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5004
|
+
|
|
5005
|
+
allowAny?: boolean
|
|
5006
|
+
|
|
5450
5007
|
allowNullableBoolean?: boolean
|
|
5451
|
-
|
|
5452
|
-
allowNullableNumber?: boolean
|
|
5008
|
+
|
|
5453
5009
|
allowNullableEnum?: boolean
|
|
5454
|
-
|
|
5010
|
+
|
|
5011
|
+
allowNullableNumber?: boolean
|
|
5012
|
+
|
|
5013
|
+
allowNullableObject?: boolean
|
|
5014
|
+
|
|
5015
|
+
allowNullableString?: boolean
|
|
5016
|
+
|
|
5017
|
+
allowNumber?: boolean
|
|
5018
|
+
|
|
5455
5019
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
5020
|
+
|
|
5021
|
+
allowString?: boolean
|
|
5456
5022
|
}]
|
|
5457
5023
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
5458
5024
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
5459
5025
|
|
|
5460
5026
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
5461
5027
|
|
|
5028
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
5029
|
+
|
|
5462
5030
|
requireDefaultForNonUnion?: boolean
|
|
5463
5031
|
}]
|
|
5464
5032
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
5465
5033
|
type TypescriptEslintTripleSlashReference = []|[{
|
|
5034
|
+
|
|
5466
5035
|
lib?: ("always" | "never")
|
|
5036
|
+
|
|
5467
5037
|
path?: ("always" | "never")
|
|
5038
|
+
|
|
5468
5039
|
types?: ("always" | "never" | "prefer-import")
|
|
5469
5040
|
}]
|
|
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
5041
|
// ----- @typescript-eslint/typedef -----
|
|
5488
5042
|
type TypescriptEslintTypedef = []|[{
|
|
5043
|
+
|
|
5489
5044
|
arrayDestructuring?: boolean
|
|
5045
|
+
|
|
5490
5046
|
arrowParameter?: boolean
|
|
5047
|
+
|
|
5491
5048
|
memberVariableDeclaration?: boolean
|
|
5049
|
+
|
|
5492
5050
|
objectDestructuring?: boolean
|
|
5051
|
+
|
|
5493
5052
|
parameter?: boolean
|
|
5053
|
+
|
|
5494
5054
|
propertyDeclaration?: boolean
|
|
5055
|
+
|
|
5495
5056
|
variableDeclaration?: boolean
|
|
5057
|
+
|
|
5496
5058
|
variableDeclarationIgnoreFunction?: boolean
|
|
5497
5059
|
}]
|
|
5498
5060
|
// ----- @typescript-eslint/unbound-method -----
|
|
@@ -5550,6 +5112,198 @@ type ArrowSpacing = []|[{
|
|
|
5550
5112
|
before?: boolean
|
|
5551
5113
|
after?: boolean
|
|
5552
5114
|
}]
|
|
5115
|
+
// ----- astro/jsx-a11y/alt-text -----
|
|
5116
|
+
type AstroJsxA11YAltText = []|[{
|
|
5117
|
+
elements?: string[]
|
|
5118
|
+
img?: string[]
|
|
5119
|
+
object?: string[]
|
|
5120
|
+
area?: string[]
|
|
5121
|
+
"input[type=\"image\"]"?: string[]
|
|
5122
|
+
[k: string]: unknown | undefined
|
|
5123
|
+
}]
|
|
5124
|
+
// ----- astro/jsx-a11y/anchor-ambiguous-text -----
|
|
5125
|
+
type AstroJsxA11YAnchorAmbiguousText = []|[{
|
|
5126
|
+
words?: string[]
|
|
5127
|
+
[k: string]: unknown | undefined
|
|
5128
|
+
}]
|
|
5129
|
+
// ----- astro/jsx-a11y/anchor-has-content -----
|
|
5130
|
+
type AstroJsxA11YAnchorHasContent = []|[{
|
|
5131
|
+
components?: string[]
|
|
5132
|
+
[k: string]: unknown | undefined
|
|
5133
|
+
}]
|
|
5134
|
+
// ----- astro/jsx-a11y/anchor-is-valid -----
|
|
5135
|
+
type AstroJsxA11YAnchorIsValid = []|[{
|
|
5136
|
+
components?: string[]
|
|
5137
|
+
specialLink?: string[]
|
|
5138
|
+
|
|
5139
|
+
aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]]
|
|
5140
|
+
[k: string]: unknown | undefined
|
|
5141
|
+
}]
|
|
5142
|
+
// ----- astro/jsx-a11y/aria-activedescendant-has-tabindex -----
|
|
5143
|
+
type AstroJsxA11YAriaActivedescendantHasTabindex = []|[{
|
|
5144
|
+
[k: string]: unknown | undefined
|
|
5145
|
+
}]
|
|
5146
|
+
// ----- astro/jsx-a11y/aria-props -----
|
|
5147
|
+
type AstroJsxA11YAriaProps = []|[{
|
|
5148
|
+
[k: string]: unknown | undefined
|
|
5149
|
+
}]
|
|
5150
|
+
// ----- astro/jsx-a11y/aria-proptypes -----
|
|
5151
|
+
type AstroJsxA11YAriaProptypes = []|[{
|
|
5152
|
+
[k: string]: unknown | undefined
|
|
5153
|
+
}]
|
|
5154
|
+
// ----- astro/jsx-a11y/aria-role -----
|
|
5155
|
+
type AstroJsxA11YAriaRole = []|[{
|
|
5156
|
+
allowedInvalidRoles?: string[]
|
|
5157
|
+
ignoreNonDOM?: boolean
|
|
5158
|
+
[k: string]: unknown | undefined
|
|
5159
|
+
}]
|
|
5160
|
+
// ----- astro/jsx-a11y/aria-unsupported-elements -----
|
|
5161
|
+
type AstroJsxA11YAriaUnsupportedElements = []|[{
|
|
5162
|
+
[k: string]: unknown | undefined
|
|
5163
|
+
}]
|
|
5164
|
+
// ----- astro/jsx-a11y/autocomplete-valid -----
|
|
5165
|
+
type AstroJsxA11YAutocompleteValid = []|[{
|
|
5166
|
+
inputComponents?: string[]
|
|
5167
|
+
[k: string]: unknown | undefined
|
|
5168
|
+
}]
|
|
5169
|
+
// ----- astro/jsx-a11y/click-events-have-key-events -----
|
|
5170
|
+
type AstroJsxA11YClickEventsHaveKeyEvents = []|[{
|
|
5171
|
+
[k: string]: unknown | undefined
|
|
5172
|
+
}]
|
|
5173
|
+
// ----- astro/jsx-a11y/control-has-associated-label -----
|
|
5174
|
+
type AstroJsxA11YControlHasAssociatedLabel = []|[{
|
|
5175
|
+
labelAttributes?: string[]
|
|
5176
|
+
controlComponents?: string[]
|
|
5177
|
+
ignoreElements?: string[]
|
|
5178
|
+
ignoreRoles?: string[]
|
|
5179
|
+
|
|
5180
|
+
depth?: number
|
|
5181
|
+
[k: string]: unknown | undefined
|
|
5182
|
+
}]
|
|
5183
|
+
// ----- astro/jsx-a11y/heading-has-content -----
|
|
5184
|
+
type AstroJsxA11YHeadingHasContent = []|[{
|
|
5185
|
+
components?: string[]
|
|
5186
|
+
[k: string]: unknown | undefined
|
|
5187
|
+
}]
|
|
5188
|
+
// ----- astro/jsx-a11y/html-has-lang -----
|
|
5189
|
+
type AstroJsxA11YHtmlHasLang = []|[{
|
|
5190
|
+
[k: string]: unknown | undefined
|
|
5191
|
+
}]
|
|
5192
|
+
// ----- astro/jsx-a11y/iframe-has-title -----
|
|
5193
|
+
type AstroJsxA11YIframeHasTitle = []|[{
|
|
5194
|
+
[k: string]: unknown | undefined
|
|
5195
|
+
}]
|
|
5196
|
+
// ----- astro/jsx-a11y/img-redundant-alt -----
|
|
5197
|
+
type AstroJsxA11YImgRedundantAlt = []|[{
|
|
5198
|
+
components?: string[]
|
|
5199
|
+
words?: string[]
|
|
5200
|
+
[k: string]: unknown | undefined
|
|
5201
|
+
}]
|
|
5202
|
+
// ----- astro/jsx-a11y/interactive-supports-focus -----
|
|
5203
|
+
type AstroJsxA11YInteractiveSupportsFocus = []|[{
|
|
5204
|
+
|
|
5205
|
+
tabbable?: ("button" | "checkbox" | "columnheader" | "combobox" | "grid" | "gridcell" | "link" | "listbox" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "progressbar" | "radio" | "radiogroup" | "row" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "switch" | "tab" | "tablist" | "textbox" | "tree" | "treegrid" | "treeitem" | "doc-backlink" | "doc-biblioref" | "doc-glossref" | "doc-noteref")[]
|
|
5206
|
+
[k: string]: unknown | undefined
|
|
5207
|
+
}]
|
|
5208
|
+
// ----- astro/jsx-a11y/label-has-associated-control -----
|
|
5209
|
+
type AstroJsxA11YLabelHasAssociatedControl = []|[{
|
|
5210
|
+
labelComponents?: string[]
|
|
5211
|
+
labelAttributes?: string[]
|
|
5212
|
+
controlComponents?: string[]
|
|
5213
|
+
|
|
5214
|
+
assert?: ("htmlFor" | "nesting" | "both" | "either")
|
|
5215
|
+
|
|
5216
|
+
depth?: number
|
|
5217
|
+
[k: string]: unknown | undefined
|
|
5218
|
+
}]
|
|
5219
|
+
// ----- astro/jsx-a11y/lang -----
|
|
5220
|
+
type AstroJsxA11YLang = []|[{
|
|
5221
|
+
[k: string]: unknown | undefined
|
|
5222
|
+
}]
|
|
5223
|
+
// ----- astro/jsx-a11y/media-has-caption -----
|
|
5224
|
+
type AstroJsxA11YMediaHasCaption = []|[{
|
|
5225
|
+
audio?: string[]
|
|
5226
|
+
video?: string[]
|
|
5227
|
+
track?: string[]
|
|
5228
|
+
[k: string]: unknown | undefined
|
|
5229
|
+
}]
|
|
5230
|
+
// ----- astro/jsx-a11y/mouse-events-have-key-events -----
|
|
5231
|
+
type AstroJsxA11YMouseEventsHaveKeyEvents = []|[{
|
|
5232
|
+
|
|
5233
|
+
hoverInHandlers?: string[]
|
|
5234
|
+
|
|
5235
|
+
hoverOutHandlers?: string[]
|
|
5236
|
+
[k: string]: unknown | undefined
|
|
5237
|
+
}]
|
|
5238
|
+
// ----- astro/jsx-a11y/no-access-key -----
|
|
5239
|
+
type AstroJsxA11YNoAccessKey = []|[{
|
|
5240
|
+
[k: string]: unknown | undefined
|
|
5241
|
+
}]
|
|
5242
|
+
// ----- astro/jsx-a11y/no-aria-hidden-on-focusable -----
|
|
5243
|
+
type AstroJsxA11YNoAriaHiddenOnFocusable = []|[{
|
|
5244
|
+
[k: string]: unknown | undefined
|
|
5245
|
+
}]
|
|
5246
|
+
// ----- astro/jsx-a11y/no-autofocus -----
|
|
5247
|
+
type AstroJsxA11YNoAutofocus = []|[{
|
|
5248
|
+
ignoreNonDOM?: boolean
|
|
5249
|
+
[k: string]: unknown | undefined
|
|
5250
|
+
}]
|
|
5251
|
+
// ----- astro/jsx-a11y/no-distracting-elements -----
|
|
5252
|
+
type AstroJsxA11YNoDistractingElements = []|[{
|
|
5253
|
+
|
|
5254
|
+
elements?: ("marquee" | "blink")[]
|
|
5255
|
+
[k: string]: unknown | undefined
|
|
5256
|
+
}]
|
|
5257
|
+
// ----- astro/jsx-a11y/no-interactive-element-to-noninteractive-role -----
|
|
5258
|
+
type AstroJsxA11YNoInteractiveElementToNoninteractiveRole = []|[{
|
|
5259
|
+
[k: string]: string[] | undefined
|
|
5260
|
+
}]
|
|
5261
|
+
// ----- astro/jsx-a11y/no-noninteractive-element-interactions -----
|
|
5262
|
+
type AstroJsxA11YNoNoninteractiveElementInteractions = []|[{
|
|
5263
|
+
handlers?: string[]
|
|
5264
|
+
[k: string]: unknown | undefined
|
|
5265
|
+
}]
|
|
5266
|
+
// ----- astro/jsx-a11y/no-noninteractive-element-to-interactive-role -----
|
|
5267
|
+
type AstroJsxA11YNoNoninteractiveElementToInteractiveRole = []|[{
|
|
5268
|
+
[k: string]: string[] | undefined
|
|
5269
|
+
}]
|
|
5270
|
+
// ----- astro/jsx-a11y/no-noninteractive-tabindex -----
|
|
5271
|
+
type AstroJsxA11YNoNoninteractiveTabindex = []|[{
|
|
5272
|
+
|
|
5273
|
+
roles?: string[]
|
|
5274
|
+
|
|
5275
|
+
tags?: string[]
|
|
5276
|
+
[k: string]: unknown | undefined
|
|
5277
|
+
}]
|
|
5278
|
+
// ----- astro/jsx-a11y/no-redundant-roles -----
|
|
5279
|
+
type AstroJsxA11YNoRedundantRoles = []|[{
|
|
5280
|
+
[k: string]: string[] | undefined
|
|
5281
|
+
}]
|
|
5282
|
+
// ----- astro/jsx-a11y/no-static-element-interactions -----
|
|
5283
|
+
type AstroJsxA11YNoStaticElementInteractions = []|[{
|
|
5284
|
+
handlers?: string[]
|
|
5285
|
+
[k: string]: unknown | undefined
|
|
5286
|
+
}]
|
|
5287
|
+
// ----- astro/jsx-a11y/prefer-tag-over-role -----
|
|
5288
|
+
type AstroJsxA11YPreferTagOverRole = []|[{
|
|
5289
|
+
[k: string]: unknown | undefined
|
|
5290
|
+
}]
|
|
5291
|
+
// ----- astro/jsx-a11y/role-has-required-aria-props -----
|
|
5292
|
+
type AstroJsxA11YRoleHasRequiredAriaProps = []|[{
|
|
5293
|
+
[k: string]: unknown | undefined
|
|
5294
|
+
}]
|
|
5295
|
+
// ----- astro/jsx-a11y/role-supports-aria-props -----
|
|
5296
|
+
type AstroJsxA11YRoleSupportsAriaProps = []|[{
|
|
5297
|
+
[k: string]: unknown | undefined
|
|
5298
|
+
}]
|
|
5299
|
+
// ----- astro/jsx-a11y/scope -----
|
|
5300
|
+
type AstroJsxA11YScope = []|[{
|
|
5301
|
+
[k: string]: unknown | undefined
|
|
5302
|
+
}]
|
|
5303
|
+
// ----- astro/jsx-a11y/tabindex-no-positive -----
|
|
5304
|
+
type AstroJsxA11YTabindexNoPositive = []|[{
|
|
5305
|
+
[k: string]: unknown | undefined
|
|
5306
|
+
}]
|
|
5553
5307
|
// ----- astro/prefer-split-class-list -----
|
|
5554
5308
|
type AstroPreferSplitClassList = []|[{
|
|
5555
5309
|
splitLiteral?: boolean
|
|
@@ -5582,7 +5336,7 @@ type Camelcase = []|[{
|
|
|
5582
5336
|
ignoreGlobals?: boolean
|
|
5583
5337
|
properties?: ("always" | "never")
|
|
5584
5338
|
|
|
5585
|
-
allow?: []
|
|
5339
|
+
allow?: string[]
|
|
5586
5340
|
}]
|
|
5587
5341
|
// ----- capitalized-comments -----
|
|
5588
5342
|
type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
@@ -5631,6 +5385,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
5631
5385
|
type Complexity = []|[(number | {
|
|
5632
5386
|
maximum?: number
|
|
5633
5387
|
max?: number
|
|
5388
|
+
variant?: ("classic" | "modified")
|
|
5634
5389
|
})]
|
|
5635
5390
|
// ----- computed-property-spacing -----
|
|
5636
5391
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -5681,6 +5436,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
5681
5436
|
// ----- func-style -----
|
|
5682
5437
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
5683
5438
|
allowArrowFunctions?: boolean
|
|
5439
|
+
overrides?: {
|
|
5440
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
5441
|
+
}
|
|
5684
5442
|
}]
|
|
5685
5443
|
// ----- function-call-argument-newline -----
|
|
5686
5444
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -6120,6 +5878,221 @@ type JestValidTitle = []|[{
|
|
|
6120
5878
|
[k: string]: (string | [string]|[string, string]) | undefined
|
|
6121
5879
|
})
|
|
6122
5880
|
}]
|
|
5881
|
+
// ----- jsx-a11y/accessible-emoji -----
|
|
5882
|
+
type JsxA11YAccessibleEmoji = []|[{
|
|
5883
|
+
[k: string]: unknown | undefined
|
|
5884
|
+
}]
|
|
5885
|
+
// ----- jsx-a11y/alt-text -----
|
|
5886
|
+
type JsxA11YAltText = []|[{
|
|
5887
|
+
elements?: string[]
|
|
5888
|
+
img?: string[]
|
|
5889
|
+
object?: string[]
|
|
5890
|
+
area?: string[]
|
|
5891
|
+
"input[type=\"image\"]"?: string[]
|
|
5892
|
+
[k: string]: unknown | undefined
|
|
5893
|
+
}]
|
|
5894
|
+
// ----- jsx-a11y/anchor-ambiguous-text -----
|
|
5895
|
+
type JsxA11YAnchorAmbiguousText = []|[{
|
|
5896
|
+
words?: string[]
|
|
5897
|
+
[k: string]: unknown | undefined
|
|
5898
|
+
}]
|
|
5899
|
+
// ----- jsx-a11y/anchor-has-content -----
|
|
5900
|
+
type JsxA11YAnchorHasContent = []|[{
|
|
5901
|
+
components?: string[]
|
|
5902
|
+
[k: string]: unknown | undefined
|
|
5903
|
+
}]
|
|
5904
|
+
// ----- jsx-a11y/anchor-is-valid -----
|
|
5905
|
+
type JsxA11YAnchorIsValid = []|[{
|
|
5906
|
+
components?: string[]
|
|
5907
|
+
specialLink?: string[]
|
|
5908
|
+
|
|
5909
|
+
aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]]
|
|
5910
|
+
[k: string]: unknown | undefined
|
|
5911
|
+
}]
|
|
5912
|
+
// ----- jsx-a11y/aria-activedescendant-has-tabindex -----
|
|
5913
|
+
type JsxA11YAriaActivedescendantHasTabindex = []|[{
|
|
5914
|
+
[k: string]: unknown | undefined
|
|
5915
|
+
}]
|
|
5916
|
+
// ----- jsx-a11y/aria-props -----
|
|
5917
|
+
type JsxA11YAriaProps = []|[{
|
|
5918
|
+
[k: string]: unknown | undefined
|
|
5919
|
+
}]
|
|
5920
|
+
// ----- jsx-a11y/aria-proptypes -----
|
|
5921
|
+
type JsxA11YAriaProptypes = []|[{
|
|
5922
|
+
[k: string]: unknown | undefined
|
|
5923
|
+
}]
|
|
5924
|
+
// ----- jsx-a11y/aria-role -----
|
|
5925
|
+
type JsxA11YAriaRole = []|[{
|
|
5926
|
+
allowedInvalidRoles?: string[]
|
|
5927
|
+
ignoreNonDOM?: boolean
|
|
5928
|
+
[k: string]: unknown | undefined
|
|
5929
|
+
}]
|
|
5930
|
+
// ----- jsx-a11y/aria-unsupported-elements -----
|
|
5931
|
+
type JsxA11YAriaUnsupportedElements = []|[{
|
|
5932
|
+
[k: string]: unknown | undefined
|
|
5933
|
+
}]
|
|
5934
|
+
// ----- jsx-a11y/autocomplete-valid -----
|
|
5935
|
+
type JsxA11YAutocompleteValid = []|[{
|
|
5936
|
+
inputComponents?: string[]
|
|
5937
|
+
[k: string]: unknown | undefined
|
|
5938
|
+
}]
|
|
5939
|
+
// ----- jsx-a11y/click-events-have-key-events -----
|
|
5940
|
+
type JsxA11YClickEventsHaveKeyEvents = []|[{
|
|
5941
|
+
[k: string]: unknown | undefined
|
|
5942
|
+
}]
|
|
5943
|
+
// ----- jsx-a11y/control-has-associated-label -----
|
|
5944
|
+
type JsxA11YControlHasAssociatedLabel = []|[{
|
|
5945
|
+
labelAttributes?: string[]
|
|
5946
|
+
controlComponents?: string[]
|
|
5947
|
+
ignoreElements?: string[]
|
|
5948
|
+
ignoreRoles?: string[]
|
|
5949
|
+
|
|
5950
|
+
depth?: number
|
|
5951
|
+
[k: string]: unknown | undefined
|
|
5952
|
+
}]
|
|
5953
|
+
// ----- jsx-a11y/heading-has-content -----
|
|
5954
|
+
type JsxA11YHeadingHasContent = []|[{
|
|
5955
|
+
components?: string[]
|
|
5956
|
+
[k: string]: unknown | undefined
|
|
5957
|
+
}]
|
|
5958
|
+
// ----- jsx-a11y/html-has-lang -----
|
|
5959
|
+
type JsxA11YHtmlHasLang = []|[{
|
|
5960
|
+
[k: string]: unknown | undefined
|
|
5961
|
+
}]
|
|
5962
|
+
// ----- jsx-a11y/iframe-has-title -----
|
|
5963
|
+
type JsxA11YIframeHasTitle = []|[{
|
|
5964
|
+
[k: string]: unknown | undefined
|
|
5965
|
+
}]
|
|
5966
|
+
// ----- jsx-a11y/img-redundant-alt -----
|
|
5967
|
+
type JsxA11YImgRedundantAlt = []|[{
|
|
5968
|
+
components?: string[]
|
|
5969
|
+
words?: string[]
|
|
5970
|
+
[k: string]: unknown | undefined
|
|
5971
|
+
}]
|
|
5972
|
+
// ----- jsx-a11y/interactive-supports-focus -----
|
|
5973
|
+
type JsxA11YInteractiveSupportsFocus = []|[{
|
|
5974
|
+
|
|
5975
|
+
tabbable?: ("button" | "checkbox" | "columnheader" | "combobox" | "grid" | "gridcell" | "link" | "listbox" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "progressbar" | "radio" | "radiogroup" | "row" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "switch" | "tab" | "tablist" | "textbox" | "tree" | "treegrid" | "treeitem" | "doc-backlink" | "doc-biblioref" | "doc-glossref" | "doc-noteref")[]
|
|
5976
|
+
[k: string]: unknown | undefined
|
|
5977
|
+
}]
|
|
5978
|
+
// ----- jsx-a11y/label-has-associated-control -----
|
|
5979
|
+
type JsxA11YLabelHasAssociatedControl = []|[{
|
|
5980
|
+
labelComponents?: string[]
|
|
5981
|
+
labelAttributes?: string[]
|
|
5982
|
+
controlComponents?: string[]
|
|
5983
|
+
|
|
5984
|
+
assert?: ("htmlFor" | "nesting" | "both" | "either")
|
|
5985
|
+
|
|
5986
|
+
depth?: number
|
|
5987
|
+
[k: string]: unknown | undefined
|
|
5988
|
+
}]
|
|
5989
|
+
// ----- jsx-a11y/label-has-for -----
|
|
5990
|
+
type JsxA11YLabelHasFor = []|[{
|
|
5991
|
+
components?: string[]
|
|
5992
|
+
required?: (("nesting" | "id") | {
|
|
5993
|
+
|
|
5994
|
+
some: ("nesting" | "id")[]
|
|
5995
|
+
[k: string]: unknown | undefined
|
|
5996
|
+
} | {
|
|
5997
|
+
|
|
5998
|
+
every: ("nesting" | "id")[]
|
|
5999
|
+
[k: string]: unknown | undefined
|
|
6000
|
+
})
|
|
6001
|
+
allowChildren?: boolean
|
|
6002
|
+
[k: string]: unknown | undefined
|
|
6003
|
+
}]
|
|
6004
|
+
// ----- jsx-a11y/lang -----
|
|
6005
|
+
type JsxA11YLang = []|[{
|
|
6006
|
+
[k: string]: unknown | undefined
|
|
6007
|
+
}]
|
|
6008
|
+
// ----- jsx-a11y/media-has-caption -----
|
|
6009
|
+
type JsxA11YMediaHasCaption = []|[{
|
|
6010
|
+
audio?: string[]
|
|
6011
|
+
video?: string[]
|
|
6012
|
+
track?: string[]
|
|
6013
|
+
[k: string]: unknown | undefined
|
|
6014
|
+
}]
|
|
6015
|
+
// ----- jsx-a11y/mouse-events-have-key-events -----
|
|
6016
|
+
type JsxA11YMouseEventsHaveKeyEvents = []|[{
|
|
6017
|
+
|
|
6018
|
+
hoverInHandlers?: string[]
|
|
6019
|
+
|
|
6020
|
+
hoverOutHandlers?: string[]
|
|
6021
|
+
[k: string]: unknown | undefined
|
|
6022
|
+
}]
|
|
6023
|
+
// ----- jsx-a11y/no-access-key -----
|
|
6024
|
+
type JsxA11YNoAccessKey = []|[{
|
|
6025
|
+
[k: string]: unknown | undefined
|
|
6026
|
+
}]
|
|
6027
|
+
// ----- jsx-a11y/no-aria-hidden-on-focusable -----
|
|
6028
|
+
type JsxA11YNoAriaHiddenOnFocusable = []|[{
|
|
6029
|
+
[k: string]: unknown | undefined
|
|
6030
|
+
}]
|
|
6031
|
+
// ----- jsx-a11y/no-autofocus -----
|
|
6032
|
+
type JsxA11YNoAutofocus = []|[{
|
|
6033
|
+
ignoreNonDOM?: boolean
|
|
6034
|
+
[k: string]: unknown | undefined
|
|
6035
|
+
}]
|
|
6036
|
+
// ----- jsx-a11y/no-distracting-elements -----
|
|
6037
|
+
type JsxA11YNoDistractingElements = []|[{
|
|
6038
|
+
|
|
6039
|
+
elements?: ("marquee" | "blink")[]
|
|
6040
|
+
[k: string]: unknown | undefined
|
|
6041
|
+
}]
|
|
6042
|
+
// ----- jsx-a11y/no-interactive-element-to-noninteractive-role -----
|
|
6043
|
+
type JsxA11YNoInteractiveElementToNoninteractiveRole = []|[{
|
|
6044
|
+
[k: string]: string[] | undefined
|
|
6045
|
+
}]
|
|
6046
|
+
// ----- jsx-a11y/no-noninteractive-element-interactions -----
|
|
6047
|
+
type JsxA11YNoNoninteractiveElementInteractions = []|[{
|
|
6048
|
+
handlers?: string[]
|
|
6049
|
+
[k: string]: unknown | undefined
|
|
6050
|
+
}]
|
|
6051
|
+
// ----- jsx-a11y/no-noninteractive-element-to-interactive-role -----
|
|
6052
|
+
type JsxA11YNoNoninteractiveElementToInteractiveRole = []|[{
|
|
6053
|
+
[k: string]: string[] | undefined
|
|
6054
|
+
}]
|
|
6055
|
+
// ----- jsx-a11y/no-noninteractive-tabindex -----
|
|
6056
|
+
type JsxA11YNoNoninteractiveTabindex = []|[{
|
|
6057
|
+
|
|
6058
|
+
roles?: string[]
|
|
6059
|
+
|
|
6060
|
+
tags?: string[]
|
|
6061
|
+
[k: string]: unknown | undefined
|
|
6062
|
+
}]
|
|
6063
|
+
// ----- jsx-a11y/no-onchange -----
|
|
6064
|
+
type JsxA11YNoOnchange = []|[{
|
|
6065
|
+
[k: string]: unknown | undefined
|
|
6066
|
+
}]
|
|
6067
|
+
// ----- jsx-a11y/no-redundant-roles -----
|
|
6068
|
+
type JsxA11YNoRedundantRoles = []|[{
|
|
6069
|
+
[k: string]: string[] | undefined
|
|
6070
|
+
}]
|
|
6071
|
+
// ----- jsx-a11y/no-static-element-interactions -----
|
|
6072
|
+
type JsxA11YNoStaticElementInteractions = []|[{
|
|
6073
|
+
handlers?: string[]
|
|
6074
|
+
[k: string]: unknown | undefined
|
|
6075
|
+
}]
|
|
6076
|
+
// ----- jsx-a11y/prefer-tag-over-role -----
|
|
6077
|
+
type JsxA11YPreferTagOverRole = []|[{
|
|
6078
|
+
[k: string]: unknown | undefined
|
|
6079
|
+
}]
|
|
6080
|
+
// ----- jsx-a11y/role-has-required-aria-props -----
|
|
6081
|
+
type JsxA11YRoleHasRequiredAriaProps = []|[{
|
|
6082
|
+
[k: string]: unknown | undefined
|
|
6083
|
+
}]
|
|
6084
|
+
// ----- jsx-a11y/role-supports-aria-props -----
|
|
6085
|
+
type JsxA11YRoleSupportsAriaProps = []|[{
|
|
6086
|
+
[k: string]: unknown | undefined
|
|
6087
|
+
}]
|
|
6088
|
+
// ----- jsx-a11y/scope -----
|
|
6089
|
+
type JsxA11YScope = []|[{
|
|
6090
|
+
[k: string]: unknown | undefined
|
|
6091
|
+
}]
|
|
6092
|
+
// ----- jsx-a11y/tabindex-no-positive -----
|
|
6093
|
+
type JsxA11YTabindexNoPositive = []|[{
|
|
6094
|
+
[k: string]: unknown | undefined
|
|
6095
|
+
}]
|
|
6123
6096
|
// ----- jsx-quotes -----
|
|
6124
6097
|
type JsxQuotes = []|[("prefer-single" | "prefer-double")]
|
|
6125
6098
|
// ----- key-spacing -----
|
|
@@ -6667,12 +6640,8 @@ type NoConsole = []|[{
|
|
|
6667
6640
|
}]
|
|
6668
6641
|
// ----- no-constant-condition -----
|
|
6669
6642
|
type NoConstantCondition = []|[{
|
|
6670
|
-
checkLoops?:
|
|
6643
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
6671
6644
|
}]
|
|
6672
|
-
// ----- no-constructor-return -----
|
|
6673
|
-
interface NoConstructorReturn {
|
|
6674
|
-
[k: string]: unknown | undefined
|
|
6675
|
-
}
|
|
6676
6645
|
// ----- no-duplicate-imports -----
|
|
6677
6646
|
type NoDuplicateImports = []|[{
|
|
6678
6647
|
includeExports?: boolean
|
|
@@ -6702,9 +6671,11 @@ type NoExtendNative = []|[{
|
|
|
6702
6671
|
exceptions?: string[]
|
|
6703
6672
|
}]
|
|
6704
6673
|
// ----- no-extra-boolean-cast -----
|
|
6705
|
-
type NoExtraBooleanCast = []|[{
|
|
6674
|
+
type NoExtraBooleanCast = []|[({
|
|
6675
|
+
enforceForInnerExpressions?: boolean
|
|
6676
|
+
} | {
|
|
6706
6677
|
enforceForLogicalOperands?: boolean
|
|
6707
|
-
}]
|
|
6678
|
+
})]
|
|
6708
6679
|
// ----- no-extra-parens -----
|
|
6709
6680
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
6710
6681
|
conditionalAssign?: boolean
|
|
@@ -6722,6 +6693,7 @@ type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
6722
6693
|
type NoFallthrough = []|[{
|
|
6723
6694
|
commentPattern?: string
|
|
6724
6695
|
allowEmptyCase?: boolean
|
|
6696
|
+
reportUnusedFallthroughComment?: boolean
|
|
6725
6697
|
}]
|
|
6726
6698
|
// ----- no-global-assign -----
|
|
6727
6699
|
type NoGlobalAssign = []|[{
|
|
@@ -6733,7 +6705,7 @@ type NoImplicitCoercion = []|[{
|
|
|
6733
6705
|
number?: boolean
|
|
6734
6706
|
string?: boolean
|
|
6735
6707
|
disallowTemplateShorthand?: boolean
|
|
6736
|
-
allow?: ("~" | "!!" | "+" | "*")[]
|
|
6708
|
+
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
|
|
6737
6709
|
}]
|
|
6738
6710
|
// ----- no-implicit-globals -----
|
|
6739
6711
|
type NoImplicitGlobals = []|[{
|
|
@@ -6744,7 +6716,9 @@ type NoInlineComments = []|[{
|
|
|
6744
6716
|
ignorePattern?: string
|
|
6745
6717
|
}]
|
|
6746
6718
|
// ----- no-inner-declarations -----
|
|
6747
|
-
type NoInnerDeclarations = []|[("functions" | "both")]
|
|
6719
|
+
type NoInnerDeclarations = []|[("functions" | "both")]|[("functions" | "both"), {
|
|
6720
|
+
blockScopedFunctions?: ("allow" | "disallow")
|
|
6721
|
+
}]
|
|
6748
6722
|
// ----- no-invalid-regexp -----
|
|
6749
6723
|
type NoInvalidRegexp = []|[{
|
|
6750
6724
|
allowConstructorFlags?: string[]
|
|
@@ -6775,6 +6749,10 @@ type NoMagicNumbers = []|[{
|
|
|
6775
6749
|
ignoreDefaultValues?: boolean
|
|
6776
6750
|
ignoreClassFieldInitialValues?: boolean
|
|
6777
6751
|
}]
|
|
6752
|
+
// ----- no-misleading-character-class -----
|
|
6753
|
+
type NoMisleadingCharacterClass = []|[{
|
|
6754
|
+
allowEscape?: boolean
|
|
6755
|
+
}]
|
|
6778
6756
|
// ----- no-mixed-operators -----
|
|
6779
6757
|
type NoMixedOperators = []|[{
|
|
6780
6758
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -6831,8 +6809,10 @@ type NoRedeclare = []|[{
|
|
|
6831
6809
|
// ----- no-restricted-exports -----
|
|
6832
6810
|
type NoRestrictedExports = []|[({
|
|
6833
6811
|
restrictedNamedExports?: string[]
|
|
6812
|
+
restrictedNamedExportsPattern?: string
|
|
6834
6813
|
} | {
|
|
6835
6814
|
restrictedNamedExports?: string[]
|
|
6815
|
+
restrictedNamedExportsPattern?: string
|
|
6836
6816
|
restrictDefaultExports?: {
|
|
6837
6817
|
direct?: boolean
|
|
6838
6818
|
named?: boolean
|
|
@@ -6851,21 +6831,19 @@ type NoRestrictedImports = ((string | {
|
|
|
6851
6831
|
name: string
|
|
6852
6832
|
message?: string
|
|
6853
6833
|
importNames?: string[]
|
|
6834
|
+
allowImportNames?: string[]
|
|
6854
6835
|
})[] | []|[{
|
|
6855
6836
|
paths?: (string | {
|
|
6856
6837
|
name: string
|
|
6857
6838
|
message?: string
|
|
6858
6839
|
importNames?: string[]
|
|
6840
|
+
allowImportNames?: string[]
|
|
6859
6841
|
})[]
|
|
6860
|
-
patterns?: (string[] | {
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
importNamePattern?: string
|
|
6866
|
-
message?: string
|
|
6867
|
-
caseSensitive?: boolean
|
|
6868
|
-
}[])
|
|
6842
|
+
patterns?: (string[] | ({
|
|
6843
|
+
[k: string]: unknown | undefined
|
|
6844
|
+
} | {
|
|
6845
|
+
[k: string]: unknown | undefined
|
|
6846
|
+
})[])
|
|
6869
6847
|
}])
|
|
6870
6848
|
// ----- no-restricted-modules -----
|
|
6871
6849
|
type NoRestrictedModules = ((string | {
|
|
@@ -6972,6 +6950,8 @@ type NoUnusedVars = []|[(("all" | "local") | {
|
|
|
6972
6950
|
caughtErrors?: ("all" | "none")
|
|
6973
6951
|
caughtErrorsIgnorePattern?: string
|
|
6974
6952
|
destructuredArrayIgnorePattern?: string
|
|
6953
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
6954
|
+
reportUsedIgnorePattern?: boolean
|
|
6975
6955
|
})]
|
|
6976
6956
|
// ----- no-use-before-define -----
|
|
6977
6957
|
type NoUseBeforeDefine = []|[("nofunc" | {
|
|
@@ -7639,15 +7619,9 @@ type ReactStylePropObject = []|[{
|
|
|
7639
7619
|
type RequireAtomicUpdates = []|[{
|
|
7640
7620
|
allowProperties?: boolean
|
|
7641
7621
|
}]
|
|
7642
|
-
// ----- require-
|
|
7643
|
-
type
|
|
7644
|
-
|
|
7645
|
-
ClassDeclaration?: boolean
|
|
7646
|
-
MethodDefinition?: boolean
|
|
7647
|
-
FunctionDeclaration?: boolean
|
|
7648
|
-
ArrowFunctionExpression?: boolean
|
|
7649
|
-
FunctionExpression?: boolean
|
|
7650
|
-
}
|
|
7622
|
+
// ----- require-unicode-regexp -----
|
|
7623
|
+
type RequireUnicodeRegexp = []|[{
|
|
7624
|
+
requireFlag?: ("u" | "v")
|
|
7651
7625
|
}]
|
|
7652
7626
|
// ----- rest-spread-spacing -----
|
|
7653
7627
|
type RestSpreadSpacing = []|[("always" | "never")]
|
|
@@ -7815,21 +7789,6 @@ type UseIsnan = []|[{
|
|
|
7815
7789
|
enforceForSwitchCase?: boolean
|
|
7816
7790
|
enforceForIndexOf?: boolean
|
|
7817
7791
|
}]
|
|
7818
|
-
// ----- valid-jsdoc -----
|
|
7819
|
-
type ValidJsdoc = []|[{
|
|
7820
|
-
prefer?: {
|
|
7821
|
-
[k: string]: string | undefined
|
|
7822
|
-
}
|
|
7823
|
-
preferType?: {
|
|
7824
|
-
[k: string]: string | undefined
|
|
7825
|
-
}
|
|
7826
|
-
requireReturn?: boolean
|
|
7827
|
-
requireParamDescription?: boolean
|
|
7828
|
-
requireReturnDescription?: boolean
|
|
7829
|
-
matchDescription?: string
|
|
7830
|
-
requireReturnType?: boolean
|
|
7831
|
-
requireParamType?: boolean
|
|
7832
|
-
}]
|
|
7833
7792
|
// ----- valid-typeof -----
|
|
7834
7793
|
type ValidTypeof = []|[{
|
|
7835
7794
|
requireStringLiterals?: boolean
|
|
@@ -7879,49 +7838,57 @@ interface ReactOptions {
|
|
|
7879
7838
|
*/
|
|
7880
7839
|
utilities?: ReactUtilities[];
|
|
7881
7840
|
}
|
|
7882
|
-
type
|
|
7883
|
-
|
|
7841
|
+
type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
7842
|
+
/**
|
|
7843
|
+
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
|
|
7844
|
+
*
|
|
7845
|
+
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
7846
|
+
*/
|
|
7884
7847
|
plugins?: Record<string, unknown>;
|
|
7885
|
-
rules?: Linter.RulesRecord & Rules;
|
|
7886
7848
|
};
|
|
7887
7849
|
interface Options {
|
|
7888
7850
|
/**
|
|
7889
|
-
* Are TypeScript rules
|
|
7851
|
+
* Are TypeScript rules enabled?
|
|
7890
7852
|
* @default false
|
|
7891
7853
|
*/
|
|
7892
7854
|
typescript?: boolean | TypescriptOptions;
|
|
7893
7855
|
/**
|
|
7894
|
-
* Are React rules
|
|
7856
|
+
* Are React rules enabled?
|
|
7895
7857
|
* @default false
|
|
7896
7858
|
*/
|
|
7897
7859
|
react?: boolean | ReactOptions;
|
|
7898
7860
|
/**
|
|
7899
|
-
* Are Jest rules
|
|
7861
|
+
* Are Jest rules enabled?
|
|
7900
7862
|
* @default false
|
|
7901
7863
|
*/
|
|
7902
7864
|
/**
|
|
7903
|
-
* Are testing
|
|
7865
|
+
* Are testing rules enabled?
|
|
7904
7866
|
* @default false
|
|
7905
7867
|
*/
|
|
7906
7868
|
testing?: boolean | TestingOptions;
|
|
7907
7869
|
/**
|
|
7908
|
-
* Are astro rules
|
|
7870
|
+
* Are astro rules enabled?
|
|
7909
7871
|
* @default false
|
|
7910
7872
|
*/
|
|
7911
7873
|
astro?: boolean;
|
|
7912
7874
|
/**
|
|
7913
|
-
* Additional
|
|
7875
|
+
* Additional configs to either extend or overrides configurations
|
|
7914
7876
|
* @default []
|
|
7915
7877
|
*/
|
|
7916
|
-
|
|
7878
|
+
configs?: TypedConfigItem[] | Linter.Config[];
|
|
7917
7879
|
/**
|
|
7918
7880
|
* Is auto detection enabled?
|
|
7919
|
-
* @default
|
|
7881
|
+
* @default true
|
|
7920
7882
|
*/
|
|
7921
7883
|
autoDetect?: boolean;
|
|
7884
|
+
/**
|
|
7885
|
+
* Glob patterns for files that should be ignored
|
|
7886
|
+
* @see [Ignoring files](https://eslint.org/docs/latest/use/configure/ignore)
|
|
7887
|
+
*/
|
|
7888
|
+
ignores?: string[];
|
|
7922
7889
|
}
|
|
7923
7890
|
|
|
7924
|
-
declare const jimmyDotCodes: ({ typescript, react, testing, astro,
|
|
7891
|
+
declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, configs, ignores, }?: Options, ...moreConfigs: TypedConfigItem[] | Linter.Config[]) => (TypedConfigItem | Linter.Config<Linter.RulesRecord> | _typescript_eslint_utils_ts_eslint.FlatConfig.Config | {
|
|
7925
7892
|
settings: {
|
|
7926
7893
|
"import-x/core-modules": string[];
|
|
7927
7894
|
};
|
|
@@ -7951,7 +7918,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
7951
7918
|
'import-x/extensions': readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
7952
7919
|
'import-x/external-module-folders': string[];
|
|
7953
7920
|
'import-x/parsers': {
|
|
7954
|
-
|
|
7921
|
+
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
7955
7922
|
};
|
|
7956
7923
|
};
|
|
7957
7924
|
rules: {
|
|
@@ -8029,7 +7996,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8029
7996
|
hasSuggestions: boolean;
|
|
8030
7997
|
};
|
|
8031
7998
|
create(context: any): {
|
|
8032
|
-
|
|
7999
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8033
8000
|
};
|
|
8034
8001
|
};
|
|
8035
8002
|
'function-component-definition': eslint.Rule.RuleModule;
|
|
@@ -8185,7 +8152,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8185
8152
|
hasSuggestions: boolean;
|
|
8186
8153
|
};
|
|
8187
8154
|
create(context: any): {
|
|
8188
|
-
|
|
8155
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8189
8156
|
};
|
|
8190
8157
|
};
|
|
8191
8158
|
'function-component-definition': eslint.Rule.RuleModule;
|
|
@@ -8320,28 +8287,28 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8320
8287
|
};
|
|
8321
8288
|
};
|
|
8322
8289
|
rules: {
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8290
|
+
"react/display-name": number;
|
|
8291
|
+
"react/jsx-key": number;
|
|
8292
|
+
"react/jsx-no-comment-textnodes": number;
|
|
8293
|
+
"react/jsx-no-duplicate-props": number;
|
|
8294
|
+
"react/jsx-no-target-blank": number;
|
|
8295
|
+
"react/jsx-no-undef": number;
|
|
8296
|
+
"react/jsx-uses-react": number;
|
|
8297
|
+
"react/jsx-uses-vars": number;
|
|
8298
|
+
"react/no-children-prop": number;
|
|
8299
|
+
"react/no-danger-with-children": number;
|
|
8300
|
+
"react/no-deprecated": number;
|
|
8301
|
+
"react/no-direct-mutation-state": number;
|
|
8302
|
+
"react/no-find-dom-node": number;
|
|
8303
|
+
"react/no-is-mounted": number;
|
|
8304
|
+
"react/no-render-return-value": number;
|
|
8305
|
+
"react/no-string-refs": number;
|
|
8306
|
+
"react/no-unescaped-entities": number;
|
|
8307
|
+
"react/no-unknown-property": number;
|
|
8308
|
+
"react/no-unsafe": number;
|
|
8309
|
+
"react/prop-types": number;
|
|
8310
|
+
"react/react-in-jsx-scope": number;
|
|
8311
|
+
"react/require-render-return": number;
|
|
8345
8312
|
};
|
|
8346
8313
|
};
|
|
8347
8314
|
all: {
|
|
@@ -8362,12 +8329,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
8362
8329
|
jsxPragma: any;
|
|
8363
8330
|
};
|
|
8364
8331
|
rules: {
|
|
8365
|
-
|
|
8366
|
-
|
|
8332
|
+
"react/react-in-jsx-scope": number;
|
|
8333
|
+
"react/jsx-uses-react": number;
|
|
8367
8334
|
};
|
|
8368
8335
|
};
|
|
8369
8336
|
} & {
|
|
8370
|
-
flat?: Record<string, eslint_plugin_react.ReactFlatConfig
|
|
8337
|
+
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
8371
8338
|
};
|
|
8372
8339
|
};
|
|
8373
8340
|
"react-hooks": typeof eslint_plugin_react_hooks;
|
|
@@ -9613,7 +9580,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9613
9580
|
name: string;
|
|
9614
9581
|
files: string[];
|
|
9615
9582
|
plugins: {
|
|
9616
|
-
"@tanstack/query":
|
|
9583
|
+
"@tanstack/query": eslint.ESLint.Plugin;
|
|
9617
9584
|
react?: undefined;
|
|
9618
9585
|
"react-hooks"?: undefined;
|
|
9619
9586
|
"jsx-a11y"?: undefined;
|
|
@@ -9634,7 +9601,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9634
9601
|
"jest-dom": typeof eslint_plugin_jest_dom;
|
|
9635
9602
|
};
|
|
9636
9603
|
rules: {
|
|
9637
|
-
[x: string]:
|
|
9604
|
+
[x: string]: Linter.RuleEntry<any[]>;
|
|
9638
9605
|
"testing-library/prefer-screen-queries"?: undefined;
|
|
9639
9606
|
};
|
|
9640
9607
|
} | {
|
|
@@ -9646,14 +9613,8 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9646
9613
|
plugins?: undefined;
|
|
9647
9614
|
} | {
|
|
9648
9615
|
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;
|
|
9616
|
+
rules: eslint_plugin_jest.Rules;
|
|
9617
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9657
9618
|
name: string;
|
|
9658
9619
|
files: string[];
|
|
9659
9620
|
} | {
|
|
@@ -9693,13 +9654,7 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9693
9654
|
"jest/unbound-method": "off";
|
|
9694
9655
|
};
|
|
9695
9656
|
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;
|
|
9657
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9703
9658
|
name: string;
|
|
9704
9659
|
files: string[];
|
|
9705
9660
|
} | {
|
|
@@ -9720,9 +9675,6 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, overrides, au
|
|
|
9720
9675
|
"prefer-arrow-callback": "error";
|
|
9721
9676
|
"no-console": "warn";
|
|
9722
9677
|
};
|
|
9723
|
-
} | {
|
|
9724
|
-
rules: eslint.Linter.RulesRecord;
|
|
9725
|
-
name: string;
|
|
9726
9678
|
})[];
|
|
9727
9679
|
|
|
9728
|
-
export { jimmyDotCodes as default };
|
|
9680
|
+
export { type Options, type ReactOptions, type Rules, type TestingOptions, type TypedConfigItem, type TypescriptOptions, jimmyDotCodes as default };
|