@kazupon/eslint-config 0.17.0 → 0.19.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 +8 -1
- package/dist/index.cjs +267 -257
- package/dist/index.d.cts +14216 -3
- package/dist/index.d.ts +14216 -3
- package/dist/index.js +242 -144
- package/package.json +27 -22
- package/dist/config.d.cts +0 -9
- package/dist/config.d.ts +0 -9
- package/dist/configs/comments.d.cts +0 -15
- package/dist/configs/comments.d.ts +0 -15
- package/dist/configs/imports.d.cts +0 -21
- package/dist/configs/imports.d.ts +0 -21
- package/dist/configs/index.d.cts +0 -16
- package/dist/configs/index.d.ts +0 -16
- package/dist/configs/javascript.d.cts +0 -15
- package/dist/configs/javascript.d.ts +0 -15
- package/dist/configs/jsdoc.d.cts +0 -27
- package/dist/configs/jsdoc.d.ts +0 -27
- package/dist/configs/jsonc.d.cts +0 -39
- package/dist/configs/jsonc.d.ts +0 -39
- package/dist/configs/prettier.d.cts +0 -15
- package/dist/configs/prettier.d.ts +0 -15
- package/dist/configs/promise.d.cts +0 -15
- package/dist/configs/promise.d.ts +0 -15
- package/dist/configs/react.d.cts +0 -26
- package/dist/configs/react.d.ts +0 -26
- package/dist/configs/regexp.d.cts +0 -15
- package/dist/configs/regexp.d.ts +0 -15
- package/dist/configs/svelte.d.cts +0 -21
- package/dist/configs/svelte.d.ts +0 -21
- package/dist/configs/toml.d.cts +0 -15
- package/dist/configs/toml.d.ts +0 -15
- package/dist/configs/typescript.d.cts +0 -38
- package/dist/configs/typescript.d.ts +0 -38
- package/dist/configs/unicorn.d.cts +0 -20
- package/dist/configs/unicorn.d.ts +0 -20
- package/dist/configs/vitest.d.cts +0 -22
- package/dist/configs/vitest.d.ts +0 -22
- package/dist/configs/vue.d.cts +0 -36
- package/dist/configs/vue.d.ts +0 -36
- package/dist/configs/yml.d.cts +0 -22
- package/dist/configs/yml.d.ts +0 -22
- package/dist/globs.d.cts +0 -13
- package/dist/globs.d.ts +0 -13
- package/dist/types/gens/comments.d.cts +0 -65
- package/dist/types/gens/comments.d.ts +0 -65
- package/dist/types/gens/eslint.d.cts +0 -22
- package/dist/types/gens/eslint.d.ts +0 -22
- package/dist/types/gens/imports.d.cts +0 -519
- package/dist/types/gens/imports.d.ts +0 -519
- package/dist/types/gens/javascript.d.cts +0 -3158
- package/dist/types/gens/javascript.d.ts +0 -3158
- package/dist/types/gens/jsdoc.d.cts +0 -796
- package/dist/types/gens/jsdoc.d.ts +0 -796
- package/dist/types/gens/jsonc.d.cts +0 -513
- package/dist/types/gens/jsonc.d.ts +0 -513
- package/dist/types/gens/prettier.d.cts +0 -2
- package/dist/types/gens/prettier.d.ts +0 -2
- package/dist/types/gens/promise.d.cts +0 -113
- package/dist/types/gens/promise.d.ts +0 -113
- package/dist/types/gens/react.d.cts +0 -1053
- package/dist/types/gens/react.d.ts +0 -1053
- package/dist/types/gens/regexp.d.cts +0 -553
- package/dist/types/gens/regexp.d.ts +0 -553
- package/dist/types/gens/svelte.d.cts +0 -491
- package/dist/types/gens/svelte.d.ts +0 -491
- package/dist/types/gens/toml.d.cts +0 -256
- package/dist/types/gens/toml.d.ts +0 -256
- package/dist/types/gens/typescript.d.cts +0 -1578
- package/dist/types/gens/typescript.d.ts +0 -1578
- package/dist/types/gens/unicorn.d.cts +0 -910
- package/dist/types/gens/unicorn.d.ts +0 -910
- package/dist/types/gens/vitest.d.cts +0 -377
- package/dist/types/gens/vitest.d.ts +0 -377
- package/dist/types/gens/vue.d.cts +0 -2746
- package/dist/types/gens/vue.d.ts +0 -2746
- package/dist/types/gens/yml.d.cts +0 -375
- package/dist/types/gens/yml.d.ts +0 -375
- package/dist/types/index.d.cts +0 -18
- package/dist/types/index.d.ts +0 -18
- package/dist/types/overrides.d.cts +0 -8
- package/dist/types/overrides.d.ts +0 -8
- package/dist/utils.d.cts +0 -18
- package/dist/utils.d.ts +0 -18
|
@@ -1,1578 +0,0 @@
|
|
|
1
|
-
import type { Linter } from 'eslint';
|
|
2
|
-
export interface TypescriptRules {
|
|
3
|
-
/**
|
|
4
|
-
* Require that function overload signatures be consecutive
|
|
5
|
-
* @see https://typescript-eslint.io/rules/adjacent-overload-signatures
|
|
6
|
-
*/
|
|
7
|
-
'@typescript-eslint/adjacent-overload-signatures'?: Linter.RuleEntry<[]>;
|
|
8
|
-
/**
|
|
9
|
-
* Require consistently using either `T[]` or `Array<T>` for arrays
|
|
10
|
-
* @see https://typescript-eslint.io/rules/array-type
|
|
11
|
-
*/
|
|
12
|
-
'@typescript-eslint/array-type'?: Linter.RuleEntry<TypescriptEslintArrayType>;
|
|
13
|
-
/**
|
|
14
|
-
* Disallow awaiting a value that is not a Thenable
|
|
15
|
-
* @see https://typescript-eslint.io/rules/await-thenable
|
|
16
|
-
*/
|
|
17
|
-
'@typescript-eslint/await-thenable'?: Linter.RuleEntry<[]>;
|
|
18
|
-
/**
|
|
19
|
-
* Disallow `@ts-<directive>` comments or require descriptions after directives
|
|
20
|
-
* @see https://typescript-eslint.io/rules/ban-ts-comment
|
|
21
|
-
*/
|
|
22
|
-
'@typescript-eslint/ban-ts-comment'?: Linter.RuleEntry<TypescriptEslintBanTsComment>;
|
|
23
|
-
/**
|
|
24
|
-
* Disallow `// tslint:<rule-flag>` comments
|
|
25
|
-
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
26
|
-
*/
|
|
27
|
-
'@typescript-eslint/ban-tslint-comment'?: Linter.RuleEntry<[]>;
|
|
28
|
-
/**
|
|
29
|
-
* Enforce that literals on classes are exposed in a consistent style
|
|
30
|
-
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
31
|
-
*/
|
|
32
|
-
'@typescript-eslint/class-literal-property-style'?: Linter.RuleEntry<TypescriptEslintClassLiteralPropertyStyle>;
|
|
33
|
-
/**
|
|
34
|
-
* Enforce that class methods utilize `this`
|
|
35
|
-
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
36
|
-
*/
|
|
37
|
-
'@typescript-eslint/class-methods-use-this'?: Linter.RuleEntry<TypescriptEslintClassMethodsUseThis>;
|
|
38
|
-
/**
|
|
39
|
-
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
40
|
-
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
41
|
-
*/
|
|
42
|
-
'@typescript-eslint/consistent-generic-constructors'?: Linter.RuleEntry<TypescriptEslintConsistentGenericConstructors>;
|
|
43
|
-
/**
|
|
44
|
-
* Require or disallow the `Record` type
|
|
45
|
-
* @see https://typescript-eslint.io/rules/consistent-indexed-object-style
|
|
46
|
-
*/
|
|
47
|
-
'@typescript-eslint/consistent-indexed-object-style'?: Linter.RuleEntry<TypescriptEslintConsistentIndexedObjectStyle>;
|
|
48
|
-
/**
|
|
49
|
-
* Require `return` statements to either always or never specify values
|
|
50
|
-
* @see https://typescript-eslint.io/rules/consistent-return
|
|
51
|
-
*/
|
|
52
|
-
'@typescript-eslint/consistent-return'?: Linter.RuleEntry<TypescriptEslintConsistentReturn>;
|
|
53
|
-
/**
|
|
54
|
-
* Enforce consistent usage of type assertions
|
|
55
|
-
* @see https://typescript-eslint.io/rules/consistent-type-assertions
|
|
56
|
-
*/
|
|
57
|
-
'@typescript-eslint/consistent-type-assertions'?: Linter.RuleEntry<TypescriptEslintConsistentTypeAssertions>;
|
|
58
|
-
/**
|
|
59
|
-
* Enforce type definitions to consistently use either `interface` or `type`
|
|
60
|
-
* @see https://typescript-eslint.io/rules/consistent-type-definitions
|
|
61
|
-
*/
|
|
62
|
-
'@typescript-eslint/consistent-type-definitions'?: Linter.RuleEntry<TypescriptEslintConsistentTypeDefinitions>;
|
|
63
|
-
/**
|
|
64
|
-
* Enforce consistent usage of type exports
|
|
65
|
-
* @see https://typescript-eslint.io/rules/consistent-type-exports
|
|
66
|
-
*/
|
|
67
|
-
'@typescript-eslint/consistent-type-exports'?: Linter.RuleEntry<TypescriptEslintConsistentTypeExports>;
|
|
68
|
-
/**
|
|
69
|
-
* Enforce consistent usage of type imports
|
|
70
|
-
* @see https://typescript-eslint.io/rules/consistent-type-imports
|
|
71
|
-
*/
|
|
72
|
-
'@typescript-eslint/consistent-type-imports'?: Linter.RuleEntry<TypescriptEslintConsistentTypeImports>;
|
|
73
|
-
/**
|
|
74
|
-
* Enforce default parameters to be last
|
|
75
|
-
* @see https://typescript-eslint.io/rules/default-param-last
|
|
76
|
-
*/
|
|
77
|
-
'@typescript-eslint/default-param-last'?: Linter.RuleEntry<[]>;
|
|
78
|
-
/**
|
|
79
|
-
* Enforce dot notation whenever possible
|
|
80
|
-
* @see https://typescript-eslint.io/rules/dot-notation
|
|
81
|
-
*/
|
|
82
|
-
'@typescript-eslint/dot-notation'?: Linter.RuleEntry<TypescriptEslintDotNotation>;
|
|
83
|
-
/**
|
|
84
|
-
* Require explicit return types on functions and class methods
|
|
85
|
-
* @see https://typescript-eslint.io/rules/explicit-function-return-type
|
|
86
|
-
*/
|
|
87
|
-
'@typescript-eslint/explicit-function-return-type'?: Linter.RuleEntry<TypescriptEslintExplicitFunctionReturnType>;
|
|
88
|
-
/**
|
|
89
|
-
* Require explicit accessibility modifiers on class properties and methods
|
|
90
|
-
* @see https://typescript-eslint.io/rules/explicit-member-accessibility
|
|
91
|
-
*/
|
|
92
|
-
'@typescript-eslint/explicit-member-accessibility'?: Linter.RuleEntry<TypescriptEslintExplicitMemberAccessibility>;
|
|
93
|
-
/**
|
|
94
|
-
* Require explicit return and argument types on exported functions' and classes' public class methods
|
|
95
|
-
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
96
|
-
*/
|
|
97
|
-
'@typescript-eslint/explicit-module-boundary-types'?: Linter.RuleEntry<TypescriptEslintExplicitModuleBoundaryTypes>;
|
|
98
|
-
/**
|
|
99
|
-
* Require or disallow initialization in variable declarations
|
|
100
|
-
* @see https://typescript-eslint.io/rules/init-declarations
|
|
101
|
-
*/
|
|
102
|
-
'@typescript-eslint/init-declarations'?: Linter.RuleEntry<TypescriptEslintInitDeclarations>;
|
|
103
|
-
/**
|
|
104
|
-
* Enforce a maximum number of parameters in function definitions
|
|
105
|
-
* @see https://typescript-eslint.io/rules/max-params
|
|
106
|
-
*/
|
|
107
|
-
'@typescript-eslint/max-params'?: Linter.RuleEntry<TypescriptEslintMaxParams>;
|
|
108
|
-
/**
|
|
109
|
-
* Require a consistent member declaration order
|
|
110
|
-
* @see https://typescript-eslint.io/rules/member-ordering
|
|
111
|
-
*/
|
|
112
|
-
'@typescript-eslint/member-ordering'?: Linter.RuleEntry<TypescriptEslintMemberOrdering>;
|
|
113
|
-
/**
|
|
114
|
-
* Enforce using a particular method signature syntax
|
|
115
|
-
* @see https://typescript-eslint.io/rules/method-signature-style
|
|
116
|
-
*/
|
|
117
|
-
'@typescript-eslint/method-signature-style'?: Linter.RuleEntry<TypescriptEslintMethodSignatureStyle>;
|
|
118
|
-
/**
|
|
119
|
-
* Enforce naming conventions for everything across a codebase
|
|
120
|
-
* @see https://typescript-eslint.io/rules/naming-convention
|
|
121
|
-
*/
|
|
122
|
-
'@typescript-eslint/naming-convention'?: Linter.RuleEntry<TypescriptEslintNamingConvention>;
|
|
123
|
-
/**
|
|
124
|
-
* Disallow generic `Array` constructors
|
|
125
|
-
* @see https://typescript-eslint.io/rules/no-array-constructor
|
|
126
|
-
*/
|
|
127
|
-
'@typescript-eslint/no-array-constructor'?: Linter.RuleEntry<[]>;
|
|
128
|
-
/**
|
|
129
|
-
* Disallow using the `delete` operator on array values
|
|
130
|
-
* @see https://typescript-eslint.io/rules/no-array-delete
|
|
131
|
-
*/
|
|
132
|
-
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>;
|
|
133
|
-
/**
|
|
134
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
135
|
-
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
136
|
-
*/
|
|
137
|
-
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>;
|
|
138
|
-
/**
|
|
139
|
-
* Disallow non-null assertion in locations that may be confusing
|
|
140
|
-
* @see https://typescript-eslint.io/rules/no-confusing-non-null-assertion
|
|
141
|
-
*/
|
|
142
|
-
'@typescript-eslint/no-confusing-non-null-assertion'?: Linter.RuleEntry<[]>;
|
|
143
|
-
/**
|
|
144
|
-
* Require expressions of type void to appear in statement position
|
|
145
|
-
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
146
|
-
*/
|
|
147
|
-
'@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>;
|
|
148
|
-
/**
|
|
149
|
-
* Disallow duplicate class members
|
|
150
|
-
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
151
|
-
*/
|
|
152
|
-
'@typescript-eslint/no-dupe-class-members'?: Linter.RuleEntry<[]>;
|
|
153
|
-
/**
|
|
154
|
-
* Disallow duplicate enum member values
|
|
155
|
-
* @see https://typescript-eslint.io/rules/no-duplicate-enum-values
|
|
156
|
-
*/
|
|
157
|
-
'@typescript-eslint/no-duplicate-enum-values'?: Linter.RuleEntry<[]>;
|
|
158
|
-
/**
|
|
159
|
-
* Disallow duplicate constituents of union or intersection types
|
|
160
|
-
* @see https://typescript-eslint.io/rules/no-duplicate-type-constituents
|
|
161
|
-
*/
|
|
162
|
-
'@typescript-eslint/no-duplicate-type-constituents'?: Linter.RuleEntry<TypescriptEslintNoDuplicateTypeConstituents>;
|
|
163
|
-
/**
|
|
164
|
-
* Disallow using the `delete` operator on computed key expressions
|
|
165
|
-
* @see https://typescript-eslint.io/rules/no-dynamic-delete
|
|
166
|
-
*/
|
|
167
|
-
'@typescript-eslint/no-dynamic-delete'?: Linter.RuleEntry<[]>;
|
|
168
|
-
/**
|
|
169
|
-
* Disallow empty functions
|
|
170
|
-
* @see https://typescript-eslint.io/rules/no-empty-function
|
|
171
|
-
*/
|
|
172
|
-
'@typescript-eslint/no-empty-function'?: Linter.RuleEntry<TypescriptEslintNoEmptyFunction>;
|
|
173
|
-
/**
|
|
174
|
-
* Disallow the declaration of empty interfaces
|
|
175
|
-
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
176
|
-
* @deprecated
|
|
177
|
-
*/
|
|
178
|
-
'@typescript-eslint/no-empty-interface'?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>;
|
|
179
|
-
/**
|
|
180
|
-
* Disallow accidentally using the "empty object" type
|
|
181
|
-
* @see https://typescript-eslint.io/rules/no-empty-object-type
|
|
182
|
-
*/
|
|
183
|
-
'@typescript-eslint/no-empty-object-type'?: Linter.RuleEntry<TypescriptEslintNoEmptyObjectType>;
|
|
184
|
-
/**
|
|
185
|
-
* Disallow the `any` type
|
|
186
|
-
* @see https://typescript-eslint.io/rules/no-explicit-any
|
|
187
|
-
*/
|
|
188
|
-
'@typescript-eslint/no-explicit-any'?: Linter.RuleEntry<TypescriptEslintNoExplicitAny>;
|
|
189
|
-
/**
|
|
190
|
-
* Disallow extra non-null assertions
|
|
191
|
-
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
192
|
-
*/
|
|
193
|
-
'@typescript-eslint/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>;
|
|
194
|
-
/**
|
|
195
|
-
* Disallow classes used as namespaces
|
|
196
|
-
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
197
|
-
*/
|
|
198
|
-
'@typescript-eslint/no-extraneous-class'?: Linter.RuleEntry<TypescriptEslintNoExtraneousClass>;
|
|
199
|
-
/**
|
|
200
|
-
* Require Promise-like statements to be handled appropriately
|
|
201
|
-
* @see https://typescript-eslint.io/rules/no-floating-promises
|
|
202
|
-
*/
|
|
203
|
-
'@typescript-eslint/no-floating-promises'?: Linter.RuleEntry<TypescriptEslintNoFloatingPromises>;
|
|
204
|
-
/**
|
|
205
|
-
* Disallow iterating over an array with a for-in loop
|
|
206
|
-
* @see https://typescript-eslint.io/rules/no-for-in-array
|
|
207
|
-
*/
|
|
208
|
-
'@typescript-eslint/no-for-in-array'?: Linter.RuleEntry<[]>;
|
|
209
|
-
/**
|
|
210
|
-
* Disallow the use of `eval()`-like methods
|
|
211
|
-
* @see https://typescript-eslint.io/rules/no-implied-eval
|
|
212
|
-
*/
|
|
213
|
-
'@typescript-eslint/no-implied-eval'?: Linter.RuleEntry<[]>;
|
|
214
|
-
/**
|
|
215
|
-
* Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers
|
|
216
|
-
* @see https://typescript-eslint.io/rules/no-import-type-side-effects
|
|
217
|
-
*/
|
|
218
|
-
'@typescript-eslint/no-import-type-side-effects'?: Linter.RuleEntry<[]>;
|
|
219
|
-
/**
|
|
220
|
-
* Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean
|
|
221
|
-
* @see https://typescript-eslint.io/rules/no-inferrable-types
|
|
222
|
-
*/
|
|
223
|
-
'@typescript-eslint/no-inferrable-types'?: Linter.RuleEntry<TypescriptEslintNoInferrableTypes>;
|
|
224
|
-
/**
|
|
225
|
-
* Disallow `this` keywords outside of classes or class-like objects
|
|
226
|
-
* @see https://typescript-eslint.io/rules/no-invalid-this
|
|
227
|
-
*/
|
|
228
|
-
'@typescript-eslint/no-invalid-this'?: Linter.RuleEntry<TypescriptEslintNoInvalidThis>;
|
|
229
|
-
/**
|
|
230
|
-
* Disallow `void` type outside of generic or return types
|
|
231
|
-
* @see https://typescript-eslint.io/rules/no-invalid-void-type
|
|
232
|
-
*/
|
|
233
|
-
'@typescript-eslint/no-invalid-void-type'?: Linter.RuleEntry<TypescriptEslintNoInvalidVoidType>;
|
|
234
|
-
/**
|
|
235
|
-
* Disallow function declarations that contain unsafe references inside loop statements
|
|
236
|
-
* @see https://typescript-eslint.io/rules/no-loop-func
|
|
237
|
-
*/
|
|
238
|
-
'@typescript-eslint/no-loop-func'?: Linter.RuleEntry<[]>;
|
|
239
|
-
/**
|
|
240
|
-
* Disallow literal numbers that lose precision
|
|
241
|
-
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
242
|
-
* @deprecated
|
|
243
|
-
*/
|
|
244
|
-
'@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>;
|
|
245
|
-
/**
|
|
246
|
-
* Disallow magic numbers
|
|
247
|
-
* @see https://typescript-eslint.io/rules/no-magic-numbers
|
|
248
|
-
*/
|
|
249
|
-
'@typescript-eslint/no-magic-numbers'?: Linter.RuleEntry<TypescriptEslintNoMagicNumbers>;
|
|
250
|
-
/**
|
|
251
|
-
* Disallow the `void` operator except when used to discard a value
|
|
252
|
-
* @see https://typescript-eslint.io/rules/no-meaningless-void-operator
|
|
253
|
-
*/
|
|
254
|
-
'@typescript-eslint/no-meaningless-void-operator'?: Linter.RuleEntry<TypescriptEslintNoMeaninglessVoidOperator>;
|
|
255
|
-
/**
|
|
256
|
-
* Enforce valid definition of `new` and `constructor`
|
|
257
|
-
* @see https://typescript-eslint.io/rules/no-misused-new
|
|
258
|
-
*/
|
|
259
|
-
'@typescript-eslint/no-misused-new'?: Linter.RuleEntry<[]>;
|
|
260
|
-
/**
|
|
261
|
-
* Disallow Promises in places not designed to handle them
|
|
262
|
-
* @see https://typescript-eslint.io/rules/no-misused-promises
|
|
263
|
-
*/
|
|
264
|
-
'@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
|
|
265
|
-
/**
|
|
266
|
-
* Disallow enums from having both number and string members
|
|
267
|
-
* @see https://typescript-eslint.io/rules/no-mixed-enums
|
|
268
|
-
*/
|
|
269
|
-
'@typescript-eslint/no-mixed-enums'?: Linter.RuleEntry<[]>;
|
|
270
|
-
/**
|
|
271
|
-
* Disallow TypeScript namespaces
|
|
272
|
-
* @see https://typescript-eslint.io/rules/no-namespace
|
|
273
|
-
*/
|
|
274
|
-
'@typescript-eslint/no-namespace'?: Linter.RuleEntry<TypescriptEslintNoNamespace>;
|
|
275
|
-
/**
|
|
276
|
-
* Disallow non-null assertions in the left operand of a nullish coalescing operator
|
|
277
|
-
* @see https://typescript-eslint.io/rules/no-non-null-asserted-nullish-coalescing
|
|
278
|
-
*/
|
|
279
|
-
'@typescript-eslint/no-non-null-asserted-nullish-coalescing'?: Linter.RuleEntry<[]>;
|
|
280
|
-
/**
|
|
281
|
-
* Disallow non-null assertions after an optional chain expression
|
|
282
|
-
* @see https://typescript-eslint.io/rules/no-non-null-asserted-optional-chain
|
|
283
|
-
*/
|
|
284
|
-
'@typescript-eslint/no-non-null-asserted-optional-chain'?: Linter.RuleEntry<[]>;
|
|
285
|
-
/**
|
|
286
|
-
* Disallow non-null assertions using the `!` postfix operator
|
|
287
|
-
* @see https://typescript-eslint.io/rules/no-non-null-assertion
|
|
288
|
-
*/
|
|
289
|
-
'@typescript-eslint/no-non-null-assertion'?: Linter.RuleEntry<[]>;
|
|
290
|
-
/**
|
|
291
|
-
* Disallow variable redeclaration
|
|
292
|
-
* @see https://typescript-eslint.io/rules/no-redeclare
|
|
293
|
-
*/
|
|
294
|
-
'@typescript-eslint/no-redeclare'?: Linter.RuleEntry<TypescriptEslintNoRedeclare>;
|
|
295
|
-
/**
|
|
296
|
-
* Disallow members of unions and intersections that do nothing or override type information
|
|
297
|
-
* @see https://typescript-eslint.io/rules/no-redundant-type-constituents
|
|
298
|
-
*/
|
|
299
|
-
'@typescript-eslint/no-redundant-type-constituents'?: Linter.RuleEntry<[]>;
|
|
300
|
-
/**
|
|
301
|
-
* Disallow invocation of `require()`
|
|
302
|
-
* @see https://typescript-eslint.io/rules/no-require-imports
|
|
303
|
-
*/
|
|
304
|
-
'@typescript-eslint/no-require-imports'?: Linter.RuleEntry<TypescriptEslintNoRequireImports>;
|
|
305
|
-
/**
|
|
306
|
-
* Disallow specified modules when loaded by `import`
|
|
307
|
-
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
308
|
-
*/
|
|
309
|
-
'@typescript-eslint/no-restricted-imports'?: Linter.RuleEntry<TypescriptEslintNoRestrictedImports>;
|
|
310
|
-
/**
|
|
311
|
-
* Disallow certain types
|
|
312
|
-
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
313
|
-
*/
|
|
314
|
-
'@typescript-eslint/no-restricted-types'?: Linter.RuleEntry<TypescriptEslintNoRestrictedTypes>;
|
|
315
|
-
/**
|
|
316
|
-
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
317
|
-
* @see https://typescript-eslint.io/rules/no-shadow
|
|
318
|
-
*/
|
|
319
|
-
'@typescript-eslint/no-shadow'?: Linter.RuleEntry<TypescriptEslintNoShadow>;
|
|
320
|
-
/**
|
|
321
|
-
* Disallow aliasing `this`
|
|
322
|
-
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
323
|
-
*/
|
|
324
|
-
'@typescript-eslint/no-this-alias'?: Linter.RuleEntry<TypescriptEslintNoThisAlias>;
|
|
325
|
-
/**
|
|
326
|
-
* Disallow type aliases
|
|
327
|
-
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
328
|
-
* @deprecated
|
|
329
|
-
*/
|
|
330
|
-
'@typescript-eslint/no-type-alias'?: Linter.RuleEntry<TypescriptEslintNoTypeAlias>;
|
|
331
|
-
/**
|
|
332
|
-
* Disallow unnecessary equality comparisons against boolean literals
|
|
333
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-boolean-literal-compare
|
|
334
|
-
*/
|
|
335
|
-
'@typescript-eslint/no-unnecessary-boolean-literal-compare'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryBooleanLiteralCompare>;
|
|
336
|
-
/**
|
|
337
|
-
* Disallow conditionals where the type is always truthy or always falsy
|
|
338
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
339
|
-
*/
|
|
340
|
-
'@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
|
|
341
|
-
/**
|
|
342
|
-
* Disallow unnecessary assignment of constructor property parameter
|
|
343
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
344
|
-
*/
|
|
345
|
-
'@typescript-eslint/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>;
|
|
346
|
-
/**
|
|
347
|
-
* Disallow unnecessary namespace qualifiers
|
|
348
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
349
|
-
*/
|
|
350
|
-
'@typescript-eslint/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>;
|
|
351
|
-
/**
|
|
352
|
-
* Disallow unnecessary template expressions
|
|
353
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
|
|
354
|
-
*/
|
|
355
|
-
'@typescript-eslint/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>;
|
|
356
|
-
/**
|
|
357
|
-
* Disallow type arguments that are equal to the default
|
|
358
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
359
|
-
*/
|
|
360
|
-
'@typescript-eslint/no-unnecessary-type-arguments'?: Linter.RuleEntry<[]>;
|
|
361
|
-
/**
|
|
362
|
-
* Disallow type assertions that do not change the type of an expression
|
|
363
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-type-assertion
|
|
364
|
-
*/
|
|
365
|
-
'@typescript-eslint/no-unnecessary-type-assertion'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryTypeAssertion>;
|
|
366
|
-
/**
|
|
367
|
-
* Disallow unnecessary constraints on generic types
|
|
368
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
369
|
-
*/
|
|
370
|
-
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>;
|
|
371
|
-
/**
|
|
372
|
-
* Disallow type parameters that aren't used multiple times
|
|
373
|
-
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
374
|
-
*/
|
|
375
|
-
'@typescript-eslint/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>;
|
|
376
|
-
/**
|
|
377
|
-
* Disallow calling a function with a value with type `any`
|
|
378
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
379
|
-
*/
|
|
380
|
-
'@typescript-eslint/no-unsafe-argument'?: Linter.RuleEntry<[]>;
|
|
381
|
-
/**
|
|
382
|
-
* Disallow assigning a value with type `any` to variables and properties
|
|
383
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-assignment
|
|
384
|
-
*/
|
|
385
|
-
'@typescript-eslint/no-unsafe-assignment'?: Linter.RuleEntry<[]>;
|
|
386
|
-
/**
|
|
387
|
-
* Disallow calling a value with type `any`
|
|
388
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-call
|
|
389
|
-
*/
|
|
390
|
-
'@typescript-eslint/no-unsafe-call'?: Linter.RuleEntry<[]>;
|
|
391
|
-
/**
|
|
392
|
-
* Disallow unsafe declaration merging
|
|
393
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-declaration-merging
|
|
394
|
-
*/
|
|
395
|
-
'@typescript-eslint/no-unsafe-declaration-merging'?: Linter.RuleEntry<[]>;
|
|
396
|
-
/**
|
|
397
|
-
* Disallow comparing an enum value with a non-enum value
|
|
398
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
399
|
-
*/
|
|
400
|
-
'@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>;
|
|
401
|
-
/**
|
|
402
|
-
* Disallow using the unsafe built-in Function type
|
|
403
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
404
|
-
*/
|
|
405
|
-
'@typescript-eslint/no-unsafe-function-type'?: Linter.RuleEntry<[]>;
|
|
406
|
-
/**
|
|
407
|
-
* Disallow member access on a value with type `any`
|
|
408
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
409
|
-
*/
|
|
410
|
-
'@typescript-eslint/no-unsafe-member-access'?: Linter.RuleEntry<[]>;
|
|
411
|
-
/**
|
|
412
|
-
* Disallow returning a value with type `any` from a function
|
|
413
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
414
|
-
*/
|
|
415
|
-
'@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>;
|
|
416
|
-
/**
|
|
417
|
-
* Require unary negation to take a number
|
|
418
|
-
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
419
|
-
*/
|
|
420
|
-
'@typescript-eslint/no-unsafe-unary-minus'?: Linter.RuleEntry<[]>;
|
|
421
|
-
/**
|
|
422
|
-
* Disallow unused expressions
|
|
423
|
-
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
424
|
-
*/
|
|
425
|
-
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
426
|
-
/**
|
|
427
|
-
* Disallow unused variables
|
|
428
|
-
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
429
|
-
*/
|
|
430
|
-
'@typescript-eslint/no-unused-vars'?: Linter.RuleEntry<TypescriptEslintNoUnusedVars>;
|
|
431
|
-
/**
|
|
432
|
-
* Disallow the use of variables before they are defined
|
|
433
|
-
* @see https://typescript-eslint.io/rules/no-use-before-define
|
|
434
|
-
*/
|
|
435
|
-
'@typescript-eslint/no-use-before-define'?: Linter.RuleEntry<TypescriptEslintNoUseBeforeDefine>;
|
|
436
|
-
/**
|
|
437
|
-
* Disallow unnecessary constructors
|
|
438
|
-
* @see https://typescript-eslint.io/rules/no-useless-constructor
|
|
439
|
-
*/
|
|
440
|
-
'@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>;
|
|
441
|
-
/**
|
|
442
|
-
* Disallow empty exports that don't change anything in a module file
|
|
443
|
-
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
444
|
-
*/
|
|
445
|
-
'@typescript-eslint/no-useless-empty-export'?: Linter.RuleEntry<[]>;
|
|
446
|
-
/**
|
|
447
|
-
* Disallow `require` statements except in import statements
|
|
448
|
-
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
449
|
-
* @deprecated
|
|
450
|
-
*/
|
|
451
|
-
'@typescript-eslint/no-var-requires'?: Linter.RuleEntry<TypescriptEslintNoVarRequires>;
|
|
452
|
-
/**
|
|
453
|
-
* Disallow using confusing built-in primitive class wrappers
|
|
454
|
-
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
455
|
-
*/
|
|
456
|
-
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>;
|
|
457
|
-
/**
|
|
458
|
-
* Enforce non-null assertions over explicit type casts
|
|
459
|
-
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
460
|
-
*/
|
|
461
|
-
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>;
|
|
462
|
-
/**
|
|
463
|
-
* Disallow throwing non-`Error` values as exceptions
|
|
464
|
-
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
465
|
-
*/
|
|
466
|
-
'@typescript-eslint/only-throw-error'?: Linter.RuleEntry<TypescriptEslintOnlyThrowError>;
|
|
467
|
-
/**
|
|
468
|
-
* Require or disallow parameter properties in class constructors
|
|
469
|
-
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
470
|
-
*/
|
|
471
|
-
'@typescript-eslint/parameter-properties'?: Linter.RuleEntry<TypescriptEslintParameterProperties>;
|
|
472
|
-
/**
|
|
473
|
-
* Enforce the use of `as const` over literal type
|
|
474
|
-
* @see https://typescript-eslint.io/rules/prefer-as-const
|
|
475
|
-
*/
|
|
476
|
-
'@typescript-eslint/prefer-as-const'?: Linter.RuleEntry<[]>;
|
|
477
|
-
/**
|
|
478
|
-
* Require destructuring from arrays and/or objects
|
|
479
|
-
* @see https://typescript-eslint.io/rules/prefer-destructuring
|
|
480
|
-
*/
|
|
481
|
-
'@typescript-eslint/prefer-destructuring'?: Linter.RuleEntry<TypescriptEslintPreferDestructuring>;
|
|
482
|
-
/**
|
|
483
|
-
* Require each enum member value to be explicitly initialized
|
|
484
|
-
* @see https://typescript-eslint.io/rules/prefer-enum-initializers
|
|
485
|
-
*/
|
|
486
|
-
'@typescript-eslint/prefer-enum-initializers'?: Linter.RuleEntry<[]>;
|
|
487
|
-
/**
|
|
488
|
-
* Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result
|
|
489
|
-
* @see https://typescript-eslint.io/rules/prefer-find
|
|
490
|
-
*/
|
|
491
|
-
'@typescript-eslint/prefer-find'?: Linter.RuleEntry<[]>;
|
|
492
|
-
/**
|
|
493
|
-
* Enforce the use of `for-of` loop over the standard `for` loop where possible
|
|
494
|
-
* @see https://typescript-eslint.io/rules/prefer-for-of
|
|
495
|
-
*/
|
|
496
|
-
'@typescript-eslint/prefer-for-of'?: Linter.RuleEntry<[]>;
|
|
497
|
-
/**
|
|
498
|
-
* Enforce using function types instead of interfaces with call signatures
|
|
499
|
-
* @see https://typescript-eslint.io/rules/prefer-function-type
|
|
500
|
-
*/
|
|
501
|
-
'@typescript-eslint/prefer-function-type'?: Linter.RuleEntry<[]>;
|
|
502
|
-
/**
|
|
503
|
-
* Enforce `includes` method over `indexOf` method
|
|
504
|
-
* @see https://typescript-eslint.io/rules/prefer-includes
|
|
505
|
-
*/
|
|
506
|
-
'@typescript-eslint/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
507
|
-
/**
|
|
508
|
-
* Require all enum members to be literal values
|
|
509
|
-
* @see https://typescript-eslint.io/rules/prefer-literal-enum-member
|
|
510
|
-
*/
|
|
511
|
-
'@typescript-eslint/prefer-literal-enum-member'?: Linter.RuleEntry<TypescriptEslintPreferLiteralEnumMember>;
|
|
512
|
-
/**
|
|
513
|
-
* Require using `namespace` keyword over `module` keyword to declare custom TypeScript modules
|
|
514
|
-
* @see https://typescript-eslint.io/rules/prefer-namespace-keyword
|
|
515
|
-
*/
|
|
516
|
-
'@typescript-eslint/prefer-namespace-keyword'?: Linter.RuleEntry<[]>;
|
|
517
|
-
/**
|
|
518
|
-
* Enforce using the nullish coalescing operator instead of logical assignments or chaining
|
|
519
|
-
* @see https://typescript-eslint.io/rules/prefer-nullish-coalescing
|
|
520
|
-
*/
|
|
521
|
-
'@typescript-eslint/prefer-nullish-coalescing'?: Linter.RuleEntry<TypescriptEslintPreferNullishCoalescing>;
|
|
522
|
-
/**
|
|
523
|
-
* Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects
|
|
524
|
-
* @see https://typescript-eslint.io/rules/prefer-optional-chain
|
|
525
|
-
*/
|
|
526
|
-
'@typescript-eslint/prefer-optional-chain'?: Linter.RuleEntry<TypescriptEslintPreferOptionalChain>;
|
|
527
|
-
/**
|
|
528
|
-
* Require using Error objects as Promise rejection reasons
|
|
529
|
-
* @see https://typescript-eslint.io/rules/prefer-promise-reject-errors
|
|
530
|
-
*/
|
|
531
|
-
'@typescript-eslint/prefer-promise-reject-errors'?: Linter.RuleEntry<TypescriptEslintPreferPromiseRejectErrors>;
|
|
532
|
-
/**
|
|
533
|
-
* Require private members to be marked as `readonly` if they're never modified outside of the constructor
|
|
534
|
-
* @see https://typescript-eslint.io/rules/prefer-readonly
|
|
535
|
-
*/
|
|
536
|
-
'@typescript-eslint/prefer-readonly'?: Linter.RuleEntry<TypescriptEslintPreferReadonly>;
|
|
537
|
-
/**
|
|
538
|
-
* Require function parameters to be typed as `readonly` to prevent accidental mutation of inputs
|
|
539
|
-
* @see https://typescript-eslint.io/rules/prefer-readonly-parameter-types
|
|
540
|
-
*/
|
|
541
|
-
'@typescript-eslint/prefer-readonly-parameter-types'?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>;
|
|
542
|
-
/**
|
|
543
|
-
* Enforce using type parameter when calling `Array#reduce` instead of casting
|
|
544
|
-
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
545
|
-
*/
|
|
546
|
-
'@typescript-eslint/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>;
|
|
547
|
-
/**
|
|
548
|
-
* Enforce `RegExp#exec` over `String#match` if no global flag is provided
|
|
549
|
-
* @see https://typescript-eslint.io/rules/prefer-regexp-exec
|
|
550
|
-
*/
|
|
551
|
-
'@typescript-eslint/prefer-regexp-exec'?: Linter.RuleEntry<[]>;
|
|
552
|
-
/**
|
|
553
|
-
* Enforce that `this` is used when only `this` type is returned
|
|
554
|
-
* @see https://typescript-eslint.io/rules/prefer-return-this-type
|
|
555
|
-
*/
|
|
556
|
-
'@typescript-eslint/prefer-return-this-type'?: Linter.RuleEntry<[]>;
|
|
557
|
-
/**
|
|
558
|
-
* Enforce using `String#startsWith` and `String#endsWith` over other equivalent methods of checking substrings
|
|
559
|
-
* @see https://typescript-eslint.io/rules/prefer-string-starts-ends-with
|
|
560
|
-
*/
|
|
561
|
-
'@typescript-eslint/prefer-string-starts-ends-with'?: Linter.RuleEntry<TypescriptEslintPreferStringStartsEndsWith>;
|
|
562
|
-
/**
|
|
563
|
-
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
564
|
-
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
565
|
-
* @deprecated
|
|
566
|
-
*/
|
|
567
|
-
'@typescript-eslint/prefer-ts-expect-error'?: Linter.RuleEntry<[]>;
|
|
568
|
-
/**
|
|
569
|
-
* Require any function or method that returns a Promise to be marked async
|
|
570
|
-
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
571
|
-
*/
|
|
572
|
-
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
|
|
573
|
-
/**
|
|
574
|
-
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
575
|
-
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
576
|
-
*/
|
|
577
|
-
'@typescript-eslint/require-array-sort-compare'?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>;
|
|
578
|
-
/**
|
|
579
|
-
* Disallow async functions which do not return promises and have no `await` expression
|
|
580
|
-
* @see https://typescript-eslint.io/rules/require-await
|
|
581
|
-
*/
|
|
582
|
-
'@typescript-eslint/require-await'?: Linter.RuleEntry<[]>;
|
|
583
|
-
/**
|
|
584
|
-
* Require both operands of addition to be the same type and be `bigint`, `number`, or `string`
|
|
585
|
-
* @see https://typescript-eslint.io/rules/restrict-plus-operands
|
|
586
|
-
*/
|
|
587
|
-
'@typescript-eslint/restrict-plus-operands'?: Linter.RuleEntry<TypescriptEslintRestrictPlusOperands>;
|
|
588
|
-
/**
|
|
589
|
-
* Enforce template literal expressions to be of `string` type
|
|
590
|
-
* @see https://typescript-eslint.io/rules/restrict-template-expressions
|
|
591
|
-
*/
|
|
592
|
-
'@typescript-eslint/restrict-template-expressions'?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>;
|
|
593
|
-
/**
|
|
594
|
-
* Enforce consistent awaiting of returned promises
|
|
595
|
-
* @see https://typescript-eslint.io/rules/return-await
|
|
596
|
-
*/
|
|
597
|
-
'@typescript-eslint/return-await'?: Linter.RuleEntry<TypescriptEslintReturnAwait>;
|
|
598
|
-
/**
|
|
599
|
-
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
600
|
-
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
601
|
-
* @deprecated
|
|
602
|
-
*/
|
|
603
|
-
'@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>;
|
|
604
|
-
/**
|
|
605
|
-
* Disallow certain types in boolean expressions
|
|
606
|
-
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
607
|
-
*/
|
|
608
|
-
'@typescript-eslint/strict-boolean-expressions'?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>;
|
|
609
|
-
/**
|
|
610
|
-
* Require switch-case statements to be exhaustive
|
|
611
|
-
* @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
|
|
612
|
-
*/
|
|
613
|
-
'@typescript-eslint/switch-exhaustiveness-check'?: Linter.RuleEntry<TypescriptEslintSwitchExhaustivenessCheck>;
|
|
614
|
-
/**
|
|
615
|
-
* Disallow certain triple slash directives in favor of ES6-style import declarations
|
|
616
|
-
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
617
|
-
*/
|
|
618
|
-
'@typescript-eslint/triple-slash-reference'?: Linter.RuleEntry<TypescriptEslintTripleSlashReference>;
|
|
619
|
-
/**
|
|
620
|
-
* Require type annotations in certain places
|
|
621
|
-
* @see https://typescript-eslint.io/rules/typedef
|
|
622
|
-
*/
|
|
623
|
-
'@typescript-eslint/typedef'?: Linter.RuleEntry<TypescriptEslintTypedef>;
|
|
624
|
-
/**
|
|
625
|
-
* Enforce unbound methods are called with their expected scope
|
|
626
|
-
* @see https://typescript-eslint.io/rules/unbound-method
|
|
627
|
-
*/
|
|
628
|
-
'@typescript-eslint/unbound-method'?: Linter.RuleEntry<TypescriptEslintUnboundMethod>;
|
|
629
|
-
/**
|
|
630
|
-
* Disallow two overloads that could be unified into one with a union or an optional/rest parameter
|
|
631
|
-
* @see https://typescript-eslint.io/rules/unified-signatures
|
|
632
|
-
*/
|
|
633
|
-
'@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
|
|
634
|
-
/**
|
|
635
|
-
* Enforce typing arguments in `.catch()` callbacks as `unknown`
|
|
636
|
-
* @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
637
|
-
*/
|
|
638
|
-
'@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>;
|
|
639
|
-
}
|
|
640
|
-
type TypescriptEslintArrayType = [] | [
|
|
641
|
-
{
|
|
642
|
-
default?: ("array" | "generic" | "array-simple");
|
|
643
|
-
readonly?: ("array" | "generic" | "array-simple");
|
|
644
|
-
}
|
|
645
|
-
];
|
|
646
|
-
type TypescriptEslintBanTsComment = [] | [
|
|
647
|
-
{
|
|
648
|
-
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
649
|
-
descriptionFormat?: string;
|
|
650
|
-
});
|
|
651
|
-
"ts-ignore"?: (boolean | "allow-with-description" | {
|
|
652
|
-
descriptionFormat?: string;
|
|
653
|
-
});
|
|
654
|
-
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
655
|
-
descriptionFormat?: string;
|
|
656
|
-
});
|
|
657
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
658
|
-
descriptionFormat?: string;
|
|
659
|
-
});
|
|
660
|
-
minimumDescriptionLength?: number;
|
|
661
|
-
}
|
|
662
|
-
];
|
|
663
|
-
type TypescriptEslintClassLiteralPropertyStyle = [] | [("fields" | "getters")];
|
|
664
|
-
type TypescriptEslintClassMethodsUseThis = [] | [
|
|
665
|
-
{
|
|
666
|
-
exceptMethods?: string[];
|
|
667
|
-
enforceForClassFields?: boolean;
|
|
668
|
-
ignoreOverrideMethods?: boolean;
|
|
669
|
-
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields");
|
|
670
|
-
}
|
|
671
|
-
];
|
|
672
|
-
type TypescriptEslintConsistentGenericConstructors = [] | [("type-annotation" | "constructor")];
|
|
673
|
-
type TypescriptEslintConsistentIndexedObjectStyle = [] | [("record" | "index-signature")];
|
|
674
|
-
type TypescriptEslintConsistentReturn = [] | [
|
|
675
|
-
{
|
|
676
|
-
treatUndefinedAsUnspecified?: boolean;
|
|
677
|
-
}
|
|
678
|
-
];
|
|
679
|
-
type TypescriptEslintConsistentTypeAssertions = [] | [
|
|
680
|
-
({
|
|
681
|
-
assertionStyle: "never";
|
|
682
|
-
} | {
|
|
683
|
-
assertionStyle: ("as" | "angle-bracket");
|
|
684
|
-
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
|
|
685
|
-
})
|
|
686
|
-
];
|
|
687
|
-
type TypescriptEslintConsistentTypeDefinitions = [] | [("interface" | "type")];
|
|
688
|
-
type TypescriptEslintConsistentTypeExports = [] | [
|
|
689
|
-
{
|
|
690
|
-
fixMixedExportsWithInlineTypeSpecifier?: boolean;
|
|
691
|
-
}
|
|
692
|
-
];
|
|
693
|
-
type TypescriptEslintConsistentTypeImports = [] | [
|
|
694
|
-
{
|
|
695
|
-
disallowTypeAnnotations?: boolean;
|
|
696
|
-
fixStyle?: ("separate-type-imports" | "inline-type-imports");
|
|
697
|
-
prefer?: ("type-imports" | "no-type-imports");
|
|
698
|
-
}
|
|
699
|
-
];
|
|
700
|
-
type TypescriptEslintDotNotation = [] | [
|
|
701
|
-
{
|
|
702
|
-
allowKeywords?: boolean;
|
|
703
|
-
allowPattern?: string;
|
|
704
|
-
allowPrivateClassPropertyAccess?: boolean;
|
|
705
|
-
allowProtectedClassPropertyAccess?: boolean;
|
|
706
|
-
allowIndexSignaturePropertyAccess?: boolean;
|
|
707
|
-
}
|
|
708
|
-
];
|
|
709
|
-
type TypescriptEslintExplicitFunctionReturnType = [] | [
|
|
710
|
-
{
|
|
711
|
-
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
|
|
712
|
-
allowExpressions?: boolean;
|
|
713
|
-
allowHigherOrderFunctions?: boolean;
|
|
714
|
-
allowTypedFunctionExpressions?: boolean;
|
|
715
|
-
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
716
|
-
allowFunctionsWithoutTypeParameters?: boolean;
|
|
717
|
-
allowedNames?: string[];
|
|
718
|
-
allowIIFEs?: boolean;
|
|
719
|
-
}
|
|
720
|
-
];
|
|
721
|
-
type TypescriptEslintExplicitMemberAccessibility = [] | [
|
|
722
|
-
{
|
|
723
|
-
accessibility?: ("explicit" | "no-public" | "off");
|
|
724
|
-
overrides?: {
|
|
725
|
-
accessors?: ("explicit" | "no-public" | "off");
|
|
726
|
-
constructors?: ("explicit" | "no-public" | "off");
|
|
727
|
-
methods?: ("explicit" | "no-public" | "off");
|
|
728
|
-
properties?: ("explicit" | "no-public" | "off");
|
|
729
|
-
parameterProperties?: ("explicit" | "no-public" | "off");
|
|
730
|
-
};
|
|
731
|
-
ignoredMethodNames?: string[];
|
|
732
|
-
}
|
|
733
|
-
];
|
|
734
|
-
type TypescriptEslintExplicitModuleBoundaryTypes = [] | [
|
|
735
|
-
{
|
|
736
|
-
allowArgumentsExplicitlyTypedAsAny?: boolean;
|
|
737
|
-
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
738
|
-
allowedNames?: string[];
|
|
739
|
-
allowHigherOrderFunctions?: boolean;
|
|
740
|
-
allowTypedFunctionExpressions?: boolean;
|
|
741
|
-
}
|
|
742
|
-
];
|
|
743
|
-
type TypescriptEslintInitDeclarations = ([] | ["always"] | [] | ["never"] | [
|
|
744
|
-
"never",
|
|
745
|
-
{
|
|
746
|
-
ignoreForLoopInit?: boolean;
|
|
747
|
-
}
|
|
748
|
-
]);
|
|
749
|
-
type TypescriptEslintMaxParams = [] | [
|
|
750
|
-
{
|
|
751
|
-
maximum?: number;
|
|
752
|
-
max?: number;
|
|
753
|
-
countVoidThis?: boolean;
|
|
754
|
-
}
|
|
755
|
-
];
|
|
756
|
-
type TypescriptEslintMemberOrdering = [] | [
|
|
757
|
-
{
|
|
758
|
-
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")[])[] | {
|
|
759
|
-
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");
|
|
760
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
761
|
-
optionalityOrder?: ("optional-first" | "required-first");
|
|
762
|
-
});
|
|
763
|
-
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")[])[] | {
|
|
764
|
-
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");
|
|
765
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
766
|
-
optionalityOrder?: ("optional-first" | "required-first");
|
|
767
|
-
});
|
|
768
|
-
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")[])[] | {
|
|
769
|
-
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");
|
|
770
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
771
|
-
optionalityOrder?: ("optional-first" | "required-first");
|
|
772
|
-
});
|
|
773
|
-
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
774
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never");
|
|
775
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
776
|
-
optionalityOrder?: ("optional-first" | "required-first");
|
|
777
|
-
});
|
|
778
|
-
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
779
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never");
|
|
780
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
781
|
-
optionalityOrder?: ("optional-first" | "required-first");
|
|
782
|
-
});
|
|
783
|
-
}
|
|
784
|
-
];
|
|
785
|
-
type TypescriptEslintMethodSignatureStyle = [] | [("property" | "method")];
|
|
786
|
-
type _TypescriptEslintNamingConventionFormatOptionsConfig = (_TypescriptEslintNamingConventionPredefinedFormats[] | null);
|
|
787
|
-
type _TypescriptEslintNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE");
|
|
788
|
-
type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble");
|
|
789
|
-
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[];
|
|
790
|
-
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array");
|
|
791
|
-
type TypescriptEslintNamingConvention = ({
|
|
792
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
793
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
794
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
795
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
796
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
797
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
798
|
-
failureMessage?: string;
|
|
799
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
800
|
-
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")[];
|
|
801
|
-
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[];
|
|
802
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
803
|
-
} | {
|
|
804
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
805
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
806
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
807
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
808
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
809
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
810
|
-
failureMessage?: string;
|
|
811
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
812
|
-
selector: "default";
|
|
813
|
-
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[];
|
|
814
|
-
} | {
|
|
815
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
816
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
817
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
818
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
819
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
820
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
821
|
-
failureMessage?: string;
|
|
822
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
823
|
-
selector: "variableLike";
|
|
824
|
-
modifiers?: ("unused" | "async")[];
|
|
825
|
-
} | {
|
|
826
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
827
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
828
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
829
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
830
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
831
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
832
|
-
failureMessage?: string;
|
|
833
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
834
|
-
selector: "variable";
|
|
835
|
-
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[];
|
|
836
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
837
|
-
} | {
|
|
838
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
839
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
840
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
841
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
842
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
843
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
844
|
-
failureMessage?: string;
|
|
845
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
846
|
-
selector: "function";
|
|
847
|
-
modifiers?: ("exported" | "global" | "unused" | "async")[];
|
|
848
|
-
} | {
|
|
849
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
850
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
851
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
852
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
853
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
854
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
855
|
-
failureMessage?: string;
|
|
856
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
857
|
-
selector: "parameter";
|
|
858
|
-
modifiers?: ("destructured" | "unused")[];
|
|
859
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
860
|
-
} | {
|
|
861
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
862
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
863
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
864
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
865
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
866
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
867
|
-
failureMessage?: string;
|
|
868
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
869
|
-
selector: "memberLike";
|
|
870
|
-
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[];
|
|
871
|
-
} | {
|
|
872
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
873
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
874
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
875
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
876
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
877
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
878
|
-
failureMessage?: string;
|
|
879
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
880
|
-
selector: "classProperty";
|
|
881
|
-
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[];
|
|
882
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
883
|
-
} | {
|
|
884
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
885
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
886
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
887
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
888
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
889
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
890
|
-
failureMessage?: string;
|
|
891
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
892
|
-
selector: "objectLiteralProperty";
|
|
893
|
-
modifiers?: ("public" | "requiresQuotes")[];
|
|
894
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
895
|
-
} | {
|
|
896
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
897
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
898
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
899
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
900
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
901
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
902
|
-
failureMessage?: string;
|
|
903
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
904
|
-
selector: "typeProperty";
|
|
905
|
-
modifiers?: ("public" | "readonly" | "requiresQuotes")[];
|
|
906
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
907
|
-
} | {
|
|
908
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
909
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
910
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
911
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
912
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
913
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
914
|
-
failureMessage?: string;
|
|
915
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
916
|
-
selector: "parameterProperty";
|
|
917
|
-
modifiers?: ("private" | "protected" | "public" | "readonly")[];
|
|
918
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
919
|
-
} | {
|
|
920
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
921
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
922
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
923
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
924
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
925
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
926
|
-
failureMessage?: string;
|
|
927
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
928
|
-
selector: "property";
|
|
929
|
-
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[];
|
|
930
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
931
|
-
} | {
|
|
932
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
933
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
934
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
935
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
936
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
937
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
938
|
-
failureMessage?: string;
|
|
939
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
940
|
-
selector: "classMethod";
|
|
941
|
-
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[];
|
|
942
|
-
} | {
|
|
943
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
944
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
945
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
946
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
947
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
948
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
949
|
-
failureMessage?: string;
|
|
950
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
951
|
-
selector: "objectLiteralMethod";
|
|
952
|
-
modifiers?: ("public" | "requiresQuotes" | "async")[];
|
|
953
|
-
} | {
|
|
954
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
955
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
956
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
957
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
958
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
959
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
960
|
-
failureMessage?: string;
|
|
961
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
962
|
-
selector: "typeMethod";
|
|
963
|
-
modifiers?: ("public" | "requiresQuotes")[];
|
|
964
|
-
} | {
|
|
965
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
966
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
967
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
968
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
969
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
970
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
971
|
-
failureMessage?: string;
|
|
972
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
973
|
-
selector: "method";
|
|
974
|
-
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[];
|
|
975
|
-
} | {
|
|
976
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
977
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
978
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
979
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
980
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
981
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
982
|
-
failureMessage?: string;
|
|
983
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
984
|
-
selector: "classicAccessor";
|
|
985
|
-
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
|
|
986
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
987
|
-
} | {
|
|
988
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
989
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
990
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
991
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
992
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
993
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
994
|
-
failureMessage?: string;
|
|
995
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
996
|
-
selector: "autoAccessor";
|
|
997
|
-
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
|
|
998
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
999
|
-
} | {
|
|
1000
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1001
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1002
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1003
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1004
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1005
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1006
|
-
failureMessage?: string;
|
|
1007
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1008
|
-
selector: "accessor";
|
|
1009
|
-
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
|
|
1010
|
-
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
1011
|
-
} | {
|
|
1012
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1013
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1014
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1015
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1016
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1017
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1018
|
-
failureMessage?: string;
|
|
1019
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1020
|
-
selector: "enumMember";
|
|
1021
|
-
modifiers?: ("requiresQuotes")[];
|
|
1022
|
-
} | {
|
|
1023
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1024
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1025
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1026
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1027
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1028
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1029
|
-
failureMessage?: string;
|
|
1030
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1031
|
-
selector: "typeLike";
|
|
1032
|
-
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
1033
|
-
} | {
|
|
1034
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1035
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1036
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1037
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1038
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1039
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1040
|
-
failureMessage?: string;
|
|
1041
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1042
|
-
selector: "class";
|
|
1043
|
-
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
1044
|
-
} | {
|
|
1045
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1046
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1047
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1048
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1049
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1050
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1051
|
-
failureMessage?: string;
|
|
1052
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1053
|
-
selector: "interface";
|
|
1054
|
-
modifiers?: ("exported" | "unused")[];
|
|
1055
|
-
} | {
|
|
1056
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1057
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1058
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1059
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1060
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1061
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1062
|
-
failureMessage?: string;
|
|
1063
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1064
|
-
selector: "typeAlias";
|
|
1065
|
-
modifiers?: ("exported" | "unused")[];
|
|
1066
|
-
} | {
|
|
1067
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1068
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1069
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1070
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1071
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1072
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1073
|
-
failureMessage?: string;
|
|
1074
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1075
|
-
selector: "enum";
|
|
1076
|
-
modifiers?: ("exported" | "unused")[];
|
|
1077
|
-
} | {
|
|
1078
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1079
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1080
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1081
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1082
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1083
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1084
|
-
failureMessage?: string;
|
|
1085
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1086
|
-
selector: "typeParameter";
|
|
1087
|
-
modifiers?: ("unused")[];
|
|
1088
|
-
} | {
|
|
1089
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
1090
|
-
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
1091
|
-
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1092
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
1093
|
-
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1094
|
-
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
1095
|
-
failureMessage?: string;
|
|
1096
|
-
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
|
|
1097
|
-
selector: "import";
|
|
1098
|
-
modifiers?: ("default" | "namespace")[];
|
|
1099
|
-
})[];
|
|
1100
|
-
interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
1101
|
-
match: boolean;
|
|
1102
|
-
regex: string;
|
|
1103
|
-
}
|
|
1104
|
-
type TypescriptEslintNoBaseToString = [] | [
|
|
1105
|
-
{
|
|
1106
|
-
ignoredTypeNames?: string[];
|
|
1107
|
-
}
|
|
1108
|
-
];
|
|
1109
|
-
type TypescriptEslintNoConfusingVoidExpression = [] | [
|
|
1110
|
-
{
|
|
1111
|
-
ignoreArrowShorthand?: boolean;
|
|
1112
|
-
ignoreVoidOperator?: boolean;
|
|
1113
|
-
}
|
|
1114
|
-
];
|
|
1115
|
-
type TypescriptEslintNoDuplicateTypeConstituents = [] | [
|
|
1116
|
-
{
|
|
1117
|
-
ignoreIntersections?: boolean;
|
|
1118
|
-
ignoreUnions?: boolean;
|
|
1119
|
-
}
|
|
1120
|
-
];
|
|
1121
|
-
type TypescriptEslintNoEmptyFunction = [] | [
|
|
1122
|
-
{
|
|
1123
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[];
|
|
1124
|
-
}
|
|
1125
|
-
];
|
|
1126
|
-
type TypescriptEslintNoEmptyInterface = [] | [
|
|
1127
|
-
{
|
|
1128
|
-
allowSingleExtends?: boolean;
|
|
1129
|
-
}
|
|
1130
|
-
];
|
|
1131
|
-
type TypescriptEslintNoEmptyObjectType = [] | [
|
|
1132
|
-
{
|
|
1133
|
-
allowInterfaces?: ("always" | "never" | "with-single-extends");
|
|
1134
|
-
allowObjectTypes?: ("always" | "never");
|
|
1135
|
-
allowWithName?: string;
|
|
1136
|
-
}
|
|
1137
|
-
];
|
|
1138
|
-
type TypescriptEslintNoExplicitAny = [] | [
|
|
1139
|
-
{
|
|
1140
|
-
fixToUnknown?: boolean;
|
|
1141
|
-
ignoreRestArgs?: boolean;
|
|
1142
|
-
}
|
|
1143
|
-
];
|
|
1144
|
-
type TypescriptEslintNoExtraneousClass = [] | [
|
|
1145
|
-
{
|
|
1146
|
-
allowConstructorOnly?: boolean;
|
|
1147
|
-
allowEmpty?: boolean;
|
|
1148
|
-
allowStaticOnly?: boolean;
|
|
1149
|
-
allowWithDecorator?: boolean;
|
|
1150
|
-
}
|
|
1151
|
-
];
|
|
1152
|
-
type TypescriptEslintNoFloatingPromises = [] | [
|
|
1153
|
-
{
|
|
1154
|
-
allowForKnownSafePromises?: (string | {
|
|
1155
|
-
from: "file";
|
|
1156
|
-
name: (string | [string, ...(string)[]]);
|
|
1157
|
-
path?: string;
|
|
1158
|
-
} | {
|
|
1159
|
-
from: "lib";
|
|
1160
|
-
name: (string | [string, ...(string)[]]);
|
|
1161
|
-
} | {
|
|
1162
|
-
from: "package";
|
|
1163
|
-
name: (string | [string, ...(string)[]]);
|
|
1164
|
-
package: string;
|
|
1165
|
-
})[];
|
|
1166
|
-
allowForKnownSafeCalls?: (string | {
|
|
1167
|
-
from: "file";
|
|
1168
|
-
name: (string | [string, ...(string)[]]);
|
|
1169
|
-
path?: string;
|
|
1170
|
-
} | {
|
|
1171
|
-
from: "lib";
|
|
1172
|
-
name: (string | [string, ...(string)[]]);
|
|
1173
|
-
} | {
|
|
1174
|
-
from: "package";
|
|
1175
|
-
name: (string | [string, ...(string)[]]);
|
|
1176
|
-
package: string;
|
|
1177
|
-
})[];
|
|
1178
|
-
checkThenables?: boolean;
|
|
1179
|
-
ignoreVoid?: boolean;
|
|
1180
|
-
ignoreIIFE?: boolean;
|
|
1181
|
-
}
|
|
1182
|
-
];
|
|
1183
|
-
type TypescriptEslintNoInferrableTypes = [] | [
|
|
1184
|
-
{
|
|
1185
|
-
ignoreParameters?: boolean;
|
|
1186
|
-
ignoreProperties?: boolean;
|
|
1187
|
-
}
|
|
1188
|
-
];
|
|
1189
|
-
type TypescriptEslintNoInvalidThis = [] | [
|
|
1190
|
-
{
|
|
1191
|
-
capIsConstructor?: boolean;
|
|
1192
|
-
}
|
|
1193
|
-
];
|
|
1194
|
-
type TypescriptEslintNoInvalidVoidType = [] | [
|
|
1195
|
-
{
|
|
1196
|
-
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]]);
|
|
1197
|
-
allowAsThisParameter?: boolean;
|
|
1198
|
-
}
|
|
1199
|
-
];
|
|
1200
|
-
type TypescriptEslintNoMagicNumbers = [] | [
|
|
1201
|
-
{
|
|
1202
|
-
detectObjects?: boolean;
|
|
1203
|
-
enforceConst?: boolean;
|
|
1204
|
-
ignore?: (number | string)[];
|
|
1205
|
-
ignoreArrayIndexes?: boolean;
|
|
1206
|
-
ignoreDefaultValues?: boolean;
|
|
1207
|
-
ignoreClassFieldInitialValues?: boolean;
|
|
1208
|
-
ignoreNumericLiteralTypes?: boolean;
|
|
1209
|
-
ignoreEnums?: boolean;
|
|
1210
|
-
ignoreReadonlyClassProperties?: boolean;
|
|
1211
|
-
ignoreTypeIndexes?: boolean;
|
|
1212
|
-
}
|
|
1213
|
-
];
|
|
1214
|
-
type TypescriptEslintNoMeaninglessVoidOperator = [] | [
|
|
1215
|
-
{
|
|
1216
|
-
checkNever?: boolean;
|
|
1217
|
-
}
|
|
1218
|
-
];
|
|
1219
|
-
type TypescriptEslintNoMisusedPromises = [] | [
|
|
1220
|
-
{
|
|
1221
|
-
checksConditionals?: boolean;
|
|
1222
|
-
checksVoidReturn?: (boolean | {
|
|
1223
|
-
arguments?: boolean;
|
|
1224
|
-
attributes?: boolean;
|
|
1225
|
-
inheritedMethods?: boolean;
|
|
1226
|
-
properties?: boolean;
|
|
1227
|
-
returns?: boolean;
|
|
1228
|
-
variables?: boolean;
|
|
1229
|
-
});
|
|
1230
|
-
checksSpreads?: boolean;
|
|
1231
|
-
}
|
|
1232
|
-
];
|
|
1233
|
-
type TypescriptEslintNoNamespace = [] | [
|
|
1234
|
-
{
|
|
1235
|
-
allowDeclarations?: boolean;
|
|
1236
|
-
allowDefinitionFiles?: boolean;
|
|
1237
|
-
}
|
|
1238
|
-
];
|
|
1239
|
-
type TypescriptEslintNoRedeclare = [] | [
|
|
1240
|
-
{
|
|
1241
|
-
builtinGlobals?: boolean;
|
|
1242
|
-
ignoreDeclarationMerge?: boolean;
|
|
1243
|
-
}
|
|
1244
|
-
];
|
|
1245
|
-
type TypescriptEslintNoRequireImports = [] | [
|
|
1246
|
-
{
|
|
1247
|
-
allow?: string[];
|
|
1248
|
-
allowAsImport?: boolean;
|
|
1249
|
-
}
|
|
1250
|
-
];
|
|
1251
|
-
type TypescriptEslintNoRestrictedImports = ((string | {
|
|
1252
|
-
name: string;
|
|
1253
|
-
message?: string;
|
|
1254
|
-
importNames?: string[];
|
|
1255
|
-
allowImportNames?: string[];
|
|
1256
|
-
allowTypeImports?: boolean;
|
|
1257
|
-
})[] | [] | [
|
|
1258
|
-
{
|
|
1259
|
-
paths?: (string | {
|
|
1260
|
-
name: string;
|
|
1261
|
-
message?: string;
|
|
1262
|
-
importNames?: string[];
|
|
1263
|
-
allowImportNames?: string[];
|
|
1264
|
-
allowTypeImports?: boolean;
|
|
1265
|
-
})[];
|
|
1266
|
-
patterns?: (string[] | {
|
|
1267
|
-
importNames?: [string, ...(string)[]];
|
|
1268
|
-
allowImportNames?: [string, ...(string)[]];
|
|
1269
|
-
group?: [string, ...(string)[]];
|
|
1270
|
-
regex?: string;
|
|
1271
|
-
importNamePattern?: string;
|
|
1272
|
-
allowImportNamePattern?: string;
|
|
1273
|
-
message?: string;
|
|
1274
|
-
caseSensitive?: boolean;
|
|
1275
|
-
allowTypeImports?: boolean;
|
|
1276
|
-
}[]);
|
|
1277
|
-
}
|
|
1278
|
-
]);
|
|
1279
|
-
type TypescriptEslintNoRestrictedTypes = [] | [
|
|
1280
|
-
{
|
|
1281
|
-
types?: {
|
|
1282
|
-
[k: string]: (true | string | {
|
|
1283
|
-
message?: string;
|
|
1284
|
-
fixWith?: string;
|
|
1285
|
-
suggest?: string[];
|
|
1286
|
-
}) | undefined;
|
|
1287
|
-
};
|
|
1288
|
-
}
|
|
1289
|
-
];
|
|
1290
|
-
type TypescriptEslintNoShadow = [] | [
|
|
1291
|
-
{
|
|
1292
|
-
builtinGlobals?: boolean;
|
|
1293
|
-
hoist?: ("all" | "functions" | "never");
|
|
1294
|
-
allow?: string[];
|
|
1295
|
-
ignoreOnInitialization?: boolean;
|
|
1296
|
-
ignoreTypeValueShadow?: boolean;
|
|
1297
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
1298
|
-
}
|
|
1299
|
-
];
|
|
1300
|
-
type TypescriptEslintNoThisAlias = [] | [
|
|
1301
|
-
{
|
|
1302
|
-
allowDestructuring?: boolean;
|
|
1303
|
-
allowedNames?: string[];
|
|
1304
|
-
}
|
|
1305
|
-
];
|
|
1306
|
-
type TypescriptEslintNoTypeAlias = [] | [
|
|
1307
|
-
{
|
|
1308
|
-
allowAliases?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
1309
|
-
allowCallbacks?: ("always" | "never");
|
|
1310
|
-
allowConditionalTypes?: ("always" | "never");
|
|
1311
|
-
allowConstructors?: ("always" | "never");
|
|
1312
|
-
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
1313
|
-
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
1314
|
-
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
1315
|
-
allowGenerics?: ("always" | "never");
|
|
1316
|
-
}
|
|
1317
|
-
];
|
|
1318
|
-
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = [] | [
|
|
1319
|
-
{
|
|
1320
|
-
allowComparingNullableBooleansToTrue?: boolean;
|
|
1321
|
-
allowComparingNullableBooleansToFalse?: boolean;
|
|
1322
|
-
}
|
|
1323
|
-
];
|
|
1324
|
-
type TypescriptEslintNoUnnecessaryCondition = [] | [
|
|
1325
|
-
{
|
|
1326
|
-
allowConstantLoopConditions?: boolean;
|
|
1327
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
1328
|
-
}
|
|
1329
|
-
];
|
|
1330
|
-
type TypescriptEslintNoUnnecessaryTypeAssertion = [] | [
|
|
1331
|
-
{
|
|
1332
|
-
typesToIgnore?: string[];
|
|
1333
|
-
}
|
|
1334
|
-
];
|
|
1335
|
-
type TypescriptEslintNoUnusedExpressions = [] | [
|
|
1336
|
-
{
|
|
1337
|
-
allowShortCircuit?: boolean;
|
|
1338
|
-
allowTernary?: boolean;
|
|
1339
|
-
allowTaggedTemplates?: boolean;
|
|
1340
|
-
enforceForJSX?: boolean;
|
|
1341
|
-
}
|
|
1342
|
-
];
|
|
1343
|
-
type TypescriptEslintNoUnusedVars = [] | [
|
|
1344
|
-
(("all" | "local") | {
|
|
1345
|
-
vars?: ("all" | "local");
|
|
1346
|
-
varsIgnorePattern?: string;
|
|
1347
|
-
args?: ("all" | "after-used" | "none");
|
|
1348
|
-
ignoreRestSiblings?: boolean;
|
|
1349
|
-
argsIgnorePattern?: string;
|
|
1350
|
-
caughtErrors?: ("all" | "none");
|
|
1351
|
-
caughtErrorsIgnorePattern?: string;
|
|
1352
|
-
destructuredArrayIgnorePattern?: string;
|
|
1353
|
-
ignoreClassWithStaticInitBlock?: boolean;
|
|
1354
|
-
reportUsedIgnorePattern?: boolean;
|
|
1355
|
-
})
|
|
1356
|
-
];
|
|
1357
|
-
type TypescriptEslintNoUseBeforeDefine = [] | [
|
|
1358
|
-
("nofunc" | {
|
|
1359
|
-
functions?: boolean;
|
|
1360
|
-
classes?: boolean;
|
|
1361
|
-
enums?: boolean;
|
|
1362
|
-
variables?: boolean;
|
|
1363
|
-
typedefs?: boolean;
|
|
1364
|
-
ignoreTypeReferences?: boolean;
|
|
1365
|
-
allowNamedExports?: boolean;
|
|
1366
|
-
})
|
|
1367
|
-
];
|
|
1368
|
-
type TypescriptEslintNoVarRequires = [] | [
|
|
1369
|
-
{
|
|
1370
|
-
allow?: string[];
|
|
1371
|
-
}
|
|
1372
|
-
];
|
|
1373
|
-
type TypescriptEslintOnlyThrowError = [] | [
|
|
1374
|
-
{
|
|
1375
|
-
allowThrowingAny?: boolean;
|
|
1376
|
-
allowThrowingUnknown?: boolean;
|
|
1377
|
-
}
|
|
1378
|
-
];
|
|
1379
|
-
type TypescriptEslintParameterProperties = [] | [
|
|
1380
|
-
{
|
|
1381
|
-
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[];
|
|
1382
|
-
prefer?: ("class-property" | "parameter-property");
|
|
1383
|
-
}
|
|
1384
|
-
];
|
|
1385
|
-
type TypescriptEslintPreferDestructuring = [] | [
|
|
1386
|
-
({
|
|
1387
|
-
VariableDeclarator?: {
|
|
1388
|
-
array?: boolean;
|
|
1389
|
-
object?: boolean;
|
|
1390
|
-
};
|
|
1391
|
-
AssignmentExpression?: {
|
|
1392
|
-
array?: boolean;
|
|
1393
|
-
object?: boolean;
|
|
1394
|
-
};
|
|
1395
|
-
} | {
|
|
1396
|
-
array?: boolean;
|
|
1397
|
-
object?: boolean;
|
|
1398
|
-
})
|
|
1399
|
-
] | [
|
|
1400
|
-
({
|
|
1401
|
-
VariableDeclarator?: {
|
|
1402
|
-
array?: boolean;
|
|
1403
|
-
object?: boolean;
|
|
1404
|
-
};
|
|
1405
|
-
AssignmentExpression?: {
|
|
1406
|
-
array?: boolean;
|
|
1407
|
-
object?: boolean;
|
|
1408
|
-
};
|
|
1409
|
-
} | {
|
|
1410
|
-
array?: boolean;
|
|
1411
|
-
object?: boolean;
|
|
1412
|
-
}),
|
|
1413
|
-
{
|
|
1414
|
-
enforceForRenamedProperties?: boolean;
|
|
1415
|
-
enforceForDeclarationWithTypeAnnotation?: boolean;
|
|
1416
|
-
[k: string]: unknown | undefined;
|
|
1417
|
-
}
|
|
1418
|
-
];
|
|
1419
|
-
type TypescriptEslintPreferLiteralEnumMember = [] | [
|
|
1420
|
-
{
|
|
1421
|
-
allowBitwiseExpressions?: boolean;
|
|
1422
|
-
}
|
|
1423
|
-
];
|
|
1424
|
-
type TypescriptEslintPreferNullishCoalescing = [] | [
|
|
1425
|
-
{
|
|
1426
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
1427
|
-
ignoreConditionalTests?: boolean;
|
|
1428
|
-
ignoreMixedLogicalExpressions?: boolean;
|
|
1429
|
-
ignorePrimitives?: ({
|
|
1430
|
-
bigint?: boolean;
|
|
1431
|
-
boolean?: boolean;
|
|
1432
|
-
number?: boolean;
|
|
1433
|
-
string?: boolean;
|
|
1434
|
-
[k: string]: unknown | undefined;
|
|
1435
|
-
} | true);
|
|
1436
|
-
ignoreTernaryTests?: boolean;
|
|
1437
|
-
}
|
|
1438
|
-
];
|
|
1439
|
-
type TypescriptEslintPreferOptionalChain = [] | [
|
|
1440
|
-
{
|
|
1441
|
-
checkAny?: boolean;
|
|
1442
|
-
checkUnknown?: boolean;
|
|
1443
|
-
checkString?: boolean;
|
|
1444
|
-
checkNumber?: boolean;
|
|
1445
|
-
checkBoolean?: boolean;
|
|
1446
|
-
checkBigInt?: boolean;
|
|
1447
|
-
requireNullish?: boolean;
|
|
1448
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
1449
|
-
}
|
|
1450
|
-
];
|
|
1451
|
-
type TypescriptEslintPreferPromiseRejectErrors = [] | [
|
|
1452
|
-
{
|
|
1453
|
-
allowEmptyReject?: boolean;
|
|
1454
|
-
}
|
|
1455
|
-
];
|
|
1456
|
-
type TypescriptEslintPreferReadonly = [] | [
|
|
1457
|
-
{
|
|
1458
|
-
onlyInlineLambdas?: boolean;
|
|
1459
|
-
}
|
|
1460
|
-
];
|
|
1461
|
-
type TypescriptEslintPreferReadonlyParameterTypes = [] | [
|
|
1462
|
-
{
|
|
1463
|
-
allow?: (string | {
|
|
1464
|
-
from: "file";
|
|
1465
|
-
name: (string | [string, ...(string)[]]);
|
|
1466
|
-
path?: string;
|
|
1467
|
-
} | {
|
|
1468
|
-
from: "lib";
|
|
1469
|
-
name: (string | [string, ...(string)[]]);
|
|
1470
|
-
} | {
|
|
1471
|
-
from: "package";
|
|
1472
|
-
name: (string | [string, ...(string)[]]);
|
|
1473
|
-
package: string;
|
|
1474
|
-
})[];
|
|
1475
|
-
checkParameterProperties?: boolean;
|
|
1476
|
-
ignoreInferredTypes?: boolean;
|
|
1477
|
-
treatMethodsAsReadonly?: boolean;
|
|
1478
|
-
}
|
|
1479
|
-
];
|
|
1480
|
-
type TypescriptEslintPreferStringStartsEndsWith = [] | [
|
|
1481
|
-
{
|
|
1482
|
-
allowSingleElementEquality?: ("always" | "never");
|
|
1483
|
-
}
|
|
1484
|
-
];
|
|
1485
|
-
type TypescriptEslintPromiseFunctionAsync = [] | [
|
|
1486
|
-
{
|
|
1487
|
-
allowAny?: boolean;
|
|
1488
|
-
allowedPromiseNames?: string[];
|
|
1489
|
-
checkArrowFunctions?: boolean;
|
|
1490
|
-
checkFunctionDeclarations?: boolean;
|
|
1491
|
-
checkFunctionExpressions?: boolean;
|
|
1492
|
-
checkMethodDeclarations?: boolean;
|
|
1493
|
-
}
|
|
1494
|
-
];
|
|
1495
|
-
type TypescriptEslintRequireArraySortCompare = [] | [
|
|
1496
|
-
{
|
|
1497
|
-
ignoreStringArrays?: boolean;
|
|
1498
|
-
}
|
|
1499
|
-
];
|
|
1500
|
-
type TypescriptEslintRestrictPlusOperands = [] | [
|
|
1501
|
-
{
|
|
1502
|
-
allowAny?: boolean;
|
|
1503
|
-
allowBoolean?: boolean;
|
|
1504
|
-
allowNullish?: boolean;
|
|
1505
|
-
allowNumberAndString?: boolean;
|
|
1506
|
-
allowRegExp?: boolean;
|
|
1507
|
-
skipCompoundAssignments?: boolean;
|
|
1508
|
-
}
|
|
1509
|
-
];
|
|
1510
|
-
type TypescriptEslintRestrictTemplateExpressions = [] | [
|
|
1511
|
-
{
|
|
1512
|
-
allowAny?: boolean;
|
|
1513
|
-
allowArray?: boolean;
|
|
1514
|
-
allowBoolean?: boolean;
|
|
1515
|
-
allowNullish?: boolean;
|
|
1516
|
-
allowNumber?: boolean;
|
|
1517
|
-
allowRegExp?: boolean;
|
|
1518
|
-
allowNever?: boolean;
|
|
1519
|
-
}
|
|
1520
|
-
];
|
|
1521
|
-
type TypescriptEslintReturnAwait = [] | [("in-try-catch" | "always" | "never" | "error-handling-correctness-only")];
|
|
1522
|
-
type TypescriptEslintSortTypeConstituents = [] | [
|
|
1523
|
-
{
|
|
1524
|
-
checkIntersections?: boolean;
|
|
1525
|
-
checkUnions?: boolean;
|
|
1526
|
-
caseSensitive?: boolean;
|
|
1527
|
-
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[];
|
|
1528
|
-
}
|
|
1529
|
-
];
|
|
1530
|
-
type TypescriptEslintStrictBooleanExpressions = [] | [
|
|
1531
|
-
{
|
|
1532
|
-
allowString?: boolean;
|
|
1533
|
-
allowNumber?: boolean;
|
|
1534
|
-
allowNullableObject?: boolean;
|
|
1535
|
-
allowNullableBoolean?: boolean;
|
|
1536
|
-
allowNullableString?: boolean;
|
|
1537
|
-
allowNullableNumber?: boolean;
|
|
1538
|
-
allowNullableEnum?: boolean;
|
|
1539
|
-
allowAny?: boolean;
|
|
1540
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
1541
|
-
}
|
|
1542
|
-
];
|
|
1543
|
-
type TypescriptEslintSwitchExhaustivenessCheck = [] | [
|
|
1544
|
-
{
|
|
1545
|
-
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
1546
|
-
requireDefaultForNonUnion?: boolean;
|
|
1547
|
-
}
|
|
1548
|
-
];
|
|
1549
|
-
type TypescriptEslintTripleSlashReference = [] | [
|
|
1550
|
-
{
|
|
1551
|
-
lib?: ("always" | "never");
|
|
1552
|
-
path?: ("always" | "never");
|
|
1553
|
-
types?: ("always" | "never" | "prefer-import");
|
|
1554
|
-
}
|
|
1555
|
-
];
|
|
1556
|
-
type TypescriptEslintTypedef = [] | [
|
|
1557
|
-
{
|
|
1558
|
-
arrayDestructuring?: boolean;
|
|
1559
|
-
arrowParameter?: boolean;
|
|
1560
|
-
memberVariableDeclaration?: boolean;
|
|
1561
|
-
objectDestructuring?: boolean;
|
|
1562
|
-
parameter?: boolean;
|
|
1563
|
-
propertyDeclaration?: boolean;
|
|
1564
|
-
variableDeclaration?: boolean;
|
|
1565
|
-
variableDeclarationIgnoreFunction?: boolean;
|
|
1566
|
-
}
|
|
1567
|
-
];
|
|
1568
|
-
type TypescriptEslintUnboundMethod = [] | [
|
|
1569
|
-
{
|
|
1570
|
-
ignoreStatic?: boolean;
|
|
1571
|
-
}
|
|
1572
|
-
];
|
|
1573
|
-
type TypescriptEslintUnifiedSignatures = [] | [
|
|
1574
|
-
{
|
|
1575
|
-
ignoreDifferentlyNamedParameters?: boolean;
|
|
1576
|
-
}
|
|
1577
|
-
];
|
|
1578
|
-
export {};
|