@kazupon/eslint-config 0.8.0 → 0.9.1

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.
Files changed (64) hide show
  1. package/README.md +1 -0
  2. package/dist/config.d.cts +6 -1
  3. package/dist/config.d.ts +6 -1
  4. package/dist/configs/comments.d.cts +14 -3
  5. package/dist/configs/comments.d.ts +14 -3
  6. package/dist/configs/javascript.d.cts +14 -3
  7. package/dist/configs/javascript.d.ts +14 -3
  8. package/dist/configs/jsdoc.d.cts +24 -4
  9. package/dist/configs/jsdoc.d.ts +24 -4
  10. package/dist/configs/jsonc.d.cts +36 -6
  11. package/dist/configs/jsonc.d.ts +36 -6
  12. package/dist/configs/prettier.d.cts +14 -3
  13. package/dist/configs/prettier.d.ts +14 -3
  14. package/dist/configs/promise.d.cts +14 -3
  15. package/dist/configs/promise.d.ts +14 -3
  16. package/dist/configs/regexp.d.cts +14 -3
  17. package/dist/configs/regexp.d.ts +14 -3
  18. package/dist/configs/typescript.d.cts +33 -6
  19. package/dist/configs/typescript.d.ts +33 -6
  20. package/dist/configs/unicorn.d.cts +14 -3
  21. package/dist/configs/unicorn.d.ts +14 -3
  22. package/dist/configs/vue.d.cts +17 -3
  23. package/dist/configs/vue.d.ts +17 -3
  24. package/dist/configs/yml.d.cts +18 -3
  25. package/dist/configs/yml.d.ts +18 -3
  26. package/dist/globs.d.cts +9 -9
  27. package/dist/globs.d.ts +9 -9
  28. package/dist/index.cjs +24 -11
  29. package/dist/index.d.cts +1 -0
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +24 -11
  32. package/dist/types/gens/comments.d.cts +65 -0
  33. package/dist/types/gens/comments.d.ts +65 -0
  34. package/dist/types/gens/eslint.d.cts +17 -0
  35. package/dist/types/gens/eslint.d.ts +17 -0
  36. package/dist/types/gens/javascript.d.cts +3162 -0
  37. package/dist/types/gens/javascript.d.ts +3162 -0
  38. package/dist/types/gens/jsdoc.d.cts +744 -0
  39. package/dist/types/gens/jsdoc.d.ts +744 -0
  40. package/dist/types/gens/jsonc.d.cts +513 -0
  41. package/dist/types/gens/jsonc.d.ts +513 -0
  42. package/dist/types/gens/prettier.d.cts +2 -0
  43. package/dist/types/gens/prettier.d.ts +2 -0
  44. package/dist/types/gens/promise.d.cts +107 -0
  45. package/dist/types/gens/promise.d.ts +107 -0
  46. package/dist/types/gens/regexp.d.cts +553 -0
  47. package/dist/types/gens/regexp.d.ts +553 -0
  48. package/dist/types/gens/typescript.d.cts +2253 -0
  49. package/dist/types/gens/typescript.d.ts +2253 -0
  50. package/dist/types/gens/unicorn.d.cts +905 -0
  51. package/dist/types/gens/unicorn.d.ts +905 -0
  52. package/dist/types/gens/vue.d.cts +2465 -0
  53. package/dist/types/gens/vue.d.ts +2465 -0
  54. package/dist/types/gens/yml.d.cts +375 -0
  55. package/dist/types/gens/yml.d.ts +375 -0
  56. package/dist/types/index.d.cts +14 -0
  57. package/dist/types/index.d.ts +14 -0
  58. package/dist/types/overrides.d.cts +6 -0
  59. package/dist/types/overrides.d.ts +6 -0
  60. package/dist/types/utils.d.cts +4 -0
  61. package/dist/types/utils.d.ts +4 -0
  62. package/dist/utils.d.cts +22 -1
  63. package/dist/utils.d.ts +22 -1
  64. package/package.json +28 -22
@@ -0,0 +1,2253 @@
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
+ * Disallow certain types
30
+ * @see https://typescript-eslint.io/rules/ban-types
31
+ */
32
+ '@typescript-eslint/ban-types'?: Linter.RuleEntry<TypescriptEslintBanTypes>;
33
+ /**
34
+ * Disallow or enforce spaces inside of blocks after opening block and before closing block
35
+ * @see https://typescript-eslint.io/rules/block-spacing
36
+ * @deprecated
37
+ */
38
+ '@typescript-eslint/block-spacing'?: Linter.RuleEntry<TypescriptEslintBlockSpacing>;
39
+ /**
40
+ * Enforce consistent brace style for blocks
41
+ * @see https://typescript-eslint.io/rules/brace-style
42
+ * @deprecated
43
+ */
44
+ '@typescript-eslint/brace-style'?: Linter.RuleEntry<TypescriptEslintBraceStyle>;
45
+ /**
46
+ * Enforce that literals on classes are exposed in a consistent style
47
+ * @see https://typescript-eslint.io/rules/class-literal-property-style
48
+ */
49
+ '@typescript-eslint/class-literal-property-style'?: Linter.RuleEntry<TypescriptEslintClassLiteralPropertyStyle>;
50
+ /**
51
+ * Enforce that class methods utilize `this`
52
+ * @see https://typescript-eslint.io/rules/class-methods-use-this
53
+ */
54
+ '@typescript-eslint/class-methods-use-this'?: Linter.RuleEntry<TypescriptEslintClassMethodsUseThis>;
55
+ /**
56
+ * Require or disallow trailing commas
57
+ * @see https://typescript-eslint.io/rules/comma-dangle
58
+ * @deprecated
59
+ */
60
+ '@typescript-eslint/comma-dangle'?: Linter.RuleEntry<TypescriptEslintCommaDangle>;
61
+ /**
62
+ * Enforce consistent spacing before and after commas
63
+ * @see https://typescript-eslint.io/rules/comma-spacing
64
+ * @deprecated
65
+ */
66
+ '@typescript-eslint/comma-spacing'?: Linter.RuleEntry<TypescriptEslintCommaSpacing>;
67
+ /**
68
+ * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
69
+ * @see https://typescript-eslint.io/rules/consistent-generic-constructors
70
+ */
71
+ '@typescript-eslint/consistent-generic-constructors'?: Linter.RuleEntry<TypescriptEslintConsistentGenericConstructors>;
72
+ /**
73
+ * Require or disallow the `Record` type
74
+ * @see https://typescript-eslint.io/rules/consistent-indexed-object-style
75
+ */
76
+ '@typescript-eslint/consistent-indexed-object-style'?: Linter.RuleEntry<TypescriptEslintConsistentIndexedObjectStyle>;
77
+ /**
78
+ * Require `return` statements to either always or never specify values
79
+ * @see https://typescript-eslint.io/rules/consistent-return
80
+ */
81
+ '@typescript-eslint/consistent-return'?: Linter.RuleEntry<TypescriptEslintConsistentReturn>;
82
+ /**
83
+ * Enforce consistent usage of type assertions
84
+ * @see https://typescript-eslint.io/rules/consistent-type-assertions
85
+ */
86
+ '@typescript-eslint/consistent-type-assertions'?: Linter.RuleEntry<TypescriptEslintConsistentTypeAssertions>;
87
+ /**
88
+ * Enforce type definitions to consistently use either `interface` or `type`
89
+ * @see https://typescript-eslint.io/rules/consistent-type-definitions
90
+ */
91
+ '@typescript-eslint/consistent-type-definitions'?: Linter.RuleEntry<TypescriptEslintConsistentTypeDefinitions>;
92
+ /**
93
+ * Enforce consistent usage of type exports
94
+ * @see https://typescript-eslint.io/rules/consistent-type-exports
95
+ */
96
+ '@typescript-eslint/consistent-type-exports'?: Linter.RuleEntry<TypescriptEslintConsistentTypeExports>;
97
+ /**
98
+ * Enforce consistent usage of type imports
99
+ * @see https://typescript-eslint.io/rules/consistent-type-imports
100
+ */
101
+ '@typescript-eslint/consistent-type-imports'?: Linter.RuleEntry<TypescriptEslintConsistentTypeImports>;
102
+ /**
103
+ * Enforce default parameters to be last
104
+ * @see https://typescript-eslint.io/rules/default-param-last
105
+ */
106
+ '@typescript-eslint/default-param-last'?: Linter.RuleEntry<[]>;
107
+ /**
108
+ * Enforce dot notation whenever possible
109
+ * @see https://typescript-eslint.io/rules/dot-notation
110
+ */
111
+ '@typescript-eslint/dot-notation'?: Linter.RuleEntry<TypescriptEslintDotNotation>;
112
+ /**
113
+ * Require explicit return types on functions and class methods
114
+ * @see https://typescript-eslint.io/rules/explicit-function-return-type
115
+ */
116
+ '@typescript-eslint/explicit-function-return-type'?: Linter.RuleEntry<TypescriptEslintExplicitFunctionReturnType>;
117
+ /**
118
+ * Require explicit accessibility modifiers on class properties and methods
119
+ * @see https://typescript-eslint.io/rules/explicit-member-accessibility
120
+ */
121
+ '@typescript-eslint/explicit-member-accessibility'?: Linter.RuleEntry<TypescriptEslintExplicitMemberAccessibility>;
122
+ /**
123
+ * Require explicit return and argument types on exported functions' and classes' public class methods
124
+ * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
125
+ */
126
+ '@typescript-eslint/explicit-module-boundary-types'?: Linter.RuleEntry<TypescriptEslintExplicitModuleBoundaryTypes>;
127
+ /**
128
+ * Require or disallow spacing between function identifiers and their invocations
129
+ * @see https://typescript-eslint.io/rules/func-call-spacing
130
+ * @deprecated
131
+ */
132
+ '@typescript-eslint/func-call-spacing'?: Linter.RuleEntry<TypescriptEslintFuncCallSpacing>;
133
+ /**
134
+ * Enforce consistent indentation
135
+ * @see https://typescript-eslint.io/rules/indent
136
+ * @deprecated
137
+ */
138
+ '@typescript-eslint/indent'?: Linter.RuleEntry<TypescriptEslintIndent>;
139
+ /**
140
+ * Require or disallow initialization in variable declarations
141
+ * @see https://typescript-eslint.io/rules/init-declarations
142
+ */
143
+ '@typescript-eslint/init-declarations'?: Linter.RuleEntry<TypescriptEslintInitDeclarations>;
144
+ /**
145
+ * Enforce consistent spacing between property names and type annotations in types and interfaces
146
+ * @see https://typescript-eslint.io/rules/key-spacing
147
+ * @deprecated
148
+ */
149
+ '@typescript-eslint/key-spacing'?: Linter.RuleEntry<TypescriptEslintKeySpacing>;
150
+ /**
151
+ * Enforce consistent spacing before and after keywords
152
+ * @see https://typescript-eslint.io/rules/keyword-spacing
153
+ * @deprecated
154
+ */
155
+ '@typescript-eslint/keyword-spacing'?: Linter.RuleEntry<TypescriptEslintKeywordSpacing>;
156
+ /**
157
+ * Require empty lines around comments
158
+ * @see https://typescript-eslint.io/rules/lines-around-comment
159
+ * @deprecated
160
+ */
161
+ '@typescript-eslint/lines-around-comment'?: Linter.RuleEntry<TypescriptEslintLinesAroundComment>;
162
+ /**
163
+ * Require or disallow an empty line between class members
164
+ * @see https://typescript-eslint.io/rules/lines-between-class-members
165
+ * @deprecated
166
+ */
167
+ '@typescript-eslint/lines-between-class-members'?: Linter.RuleEntry<TypescriptEslintLinesBetweenClassMembers>;
168
+ /**
169
+ * Enforce a maximum number of parameters in function definitions
170
+ * @see https://typescript-eslint.io/rules/max-params
171
+ */
172
+ '@typescript-eslint/max-params'?: Linter.RuleEntry<TypescriptEslintMaxParams>;
173
+ /**
174
+ * Require a specific member delimiter style for interfaces and type literals
175
+ * @see https://typescript-eslint.io/rules/member-delimiter-style
176
+ * @deprecated
177
+ */
178
+ '@typescript-eslint/member-delimiter-style'?: Linter.RuleEntry<TypescriptEslintMemberDelimiterStyle>;
179
+ /**
180
+ * Require a consistent member declaration order
181
+ * @see https://typescript-eslint.io/rules/member-ordering
182
+ */
183
+ '@typescript-eslint/member-ordering'?: Linter.RuleEntry<TypescriptEslintMemberOrdering>;
184
+ /**
185
+ * Enforce using a particular method signature syntax
186
+ * @see https://typescript-eslint.io/rules/method-signature-style
187
+ */
188
+ '@typescript-eslint/method-signature-style'?: Linter.RuleEntry<TypescriptEslintMethodSignatureStyle>;
189
+ /**
190
+ * Enforce naming conventions for everything across a codebase
191
+ * @see https://typescript-eslint.io/rules/naming-convention
192
+ */
193
+ '@typescript-eslint/naming-convention'?: Linter.RuleEntry<TypescriptEslintNamingConvention>;
194
+ /**
195
+ * Disallow generic `Array` constructors
196
+ * @see https://typescript-eslint.io/rules/no-array-constructor
197
+ */
198
+ '@typescript-eslint/no-array-constructor'?: Linter.RuleEntry<[]>;
199
+ /**
200
+ * Disallow using the `delete` operator on array values
201
+ * @see https://typescript-eslint.io/rules/no-array-delete
202
+ */
203
+ '@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>;
204
+ /**
205
+ * Require `.toString()` to only be called on objects which provide useful information when stringified
206
+ * @see https://typescript-eslint.io/rules/no-base-to-string
207
+ */
208
+ '@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>;
209
+ /**
210
+ * Disallow non-null assertion in locations that may be confusing
211
+ * @see https://typescript-eslint.io/rules/no-confusing-non-null-assertion
212
+ */
213
+ '@typescript-eslint/no-confusing-non-null-assertion'?: Linter.RuleEntry<[]>;
214
+ /**
215
+ * Require expressions of type void to appear in statement position
216
+ * @see https://typescript-eslint.io/rules/no-confusing-void-expression
217
+ */
218
+ '@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>;
219
+ /**
220
+ * Disallow duplicate class members
221
+ * @see https://typescript-eslint.io/rules/no-dupe-class-members
222
+ */
223
+ '@typescript-eslint/no-dupe-class-members'?: Linter.RuleEntry<[]>;
224
+ /**
225
+ * Disallow duplicate enum member values
226
+ * @see https://typescript-eslint.io/rules/no-duplicate-enum-values
227
+ */
228
+ '@typescript-eslint/no-duplicate-enum-values'?: Linter.RuleEntry<[]>;
229
+ /**
230
+ * Disallow duplicate constituents of union or intersection types
231
+ * @see https://typescript-eslint.io/rules/no-duplicate-type-constituents
232
+ */
233
+ '@typescript-eslint/no-duplicate-type-constituents'?: Linter.RuleEntry<TypescriptEslintNoDuplicateTypeConstituents>;
234
+ /**
235
+ * Disallow using the `delete` operator on computed key expressions
236
+ * @see https://typescript-eslint.io/rules/no-dynamic-delete
237
+ */
238
+ '@typescript-eslint/no-dynamic-delete'?: Linter.RuleEntry<[]>;
239
+ /**
240
+ * Disallow empty functions
241
+ * @see https://typescript-eslint.io/rules/no-empty-function
242
+ */
243
+ '@typescript-eslint/no-empty-function'?: Linter.RuleEntry<TypescriptEslintNoEmptyFunction>;
244
+ /**
245
+ * Disallow the declaration of empty interfaces
246
+ * @see https://typescript-eslint.io/rules/no-empty-interface
247
+ */
248
+ '@typescript-eslint/no-empty-interface'?: Linter.RuleEntry<TypescriptEslintNoEmptyInterface>;
249
+ /**
250
+ * Disallow accidentally using the "empty object" type
251
+ * @see https://typescript-eslint.io/rules/no-empty-object-type
252
+ */
253
+ '@typescript-eslint/no-empty-object-type'?: Linter.RuleEntry<TypescriptEslintNoEmptyObjectType>;
254
+ /**
255
+ * Disallow the `any` type
256
+ * @see https://typescript-eslint.io/rules/no-explicit-any
257
+ */
258
+ '@typescript-eslint/no-explicit-any'?: Linter.RuleEntry<TypescriptEslintNoExplicitAny>;
259
+ /**
260
+ * Disallow extra non-null assertions
261
+ * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
262
+ */
263
+ '@typescript-eslint/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>;
264
+ /**
265
+ * Disallow unnecessary parentheses
266
+ * @see https://typescript-eslint.io/rules/no-extra-parens
267
+ * @deprecated
268
+ */
269
+ '@typescript-eslint/no-extra-parens'?: Linter.RuleEntry<TypescriptEslintNoExtraParens>;
270
+ /**
271
+ * Disallow unnecessary semicolons
272
+ * @see https://typescript-eslint.io/rules/no-extra-semi
273
+ * @deprecated
274
+ */
275
+ '@typescript-eslint/no-extra-semi'?: Linter.RuleEntry<[]>;
276
+ /**
277
+ * Disallow classes used as namespaces
278
+ * @see https://typescript-eslint.io/rules/no-extraneous-class
279
+ */
280
+ '@typescript-eslint/no-extraneous-class'?: Linter.RuleEntry<TypescriptEslintNoExtraneousClass>;
281
+ /**
282
+ * Require Promise-like statements to be handled appropriately
283
+ * @see https://typescript-eslint.io/rules/no-floating-promises
284
+ */
285
+ '@typescript-eslint/no-floating-promises'?: Linter.RuleEntry<TypescriptEslintNoFloatingPromises>;
286
+ /**
287
+ * Disallow iterating over an array with a for-in loop
288
+ * @see https://typescript-eslint.io/rules/no-for-in-array
289
+ */
290
+ '@typescript-eslint/no-for-in-array'?: Linter.RuleEntry<[]>;
291
+ /**
292
+ * Disallow the use of `eval()`-like methods
293
+ * @see https://typescript-eslint.io/rules/no-implied-eval
294
+ */
295
+ '@typescript-eslint/no-implied-eval'?: Linter.RuleEntry<[]>;
296
+ /**
297
+ * Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers
298
+ * @see https://typescript-eslint.io/rules/no-import-type-side-effects
299
+ */
300
+ '@typescript-eslint/no-import-type-side-effects'?: Linter.RuleEntry<[]>;
301
+ /**
302
+ * Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean
303
+ * @see https://typescript-eslint.io/rules/no-inferrable-types
304
+ */
305
+ '@typescript-eslint/no-inferrable-types'?: Linter.RuleEntry<TypescriptEslintNoInferrableTypes>;
306
+ /**
307
+ * Disallow `this` keywords outside of classes or class-like objects
308
+ * @see https://typescript-eslint.io/rules/no-invalid-this
309
+ */
310
+ '@typescript-eslint/no-invalid-this'?: Linter.RuleEntry<TypescriptEslintNoInvalidThis>;
311
+ /**
312
+ * Disallow `void` type outside of generic or return types
313
+ * @see https://typescript-eslint.io/rules/no-invalid-void-type
314
+ */
315
+ '@typescript-eslint/no-invalid-void-type'?: Linter.RuleEntry<TypescriptEslintNoInvalidVoidType>;
316
+ /**
317
+ * Disallow function declarations that contain unsafe references inside loop statements
318
+ * @see https://typescript-eslint.io/rules/no-loop-func
319
+ */
320
+ '@typescript-eslint/no-loop-func'?: Linter.RuleEntry<[]>;
321
+ /**
322
+ * Disallow literal numbers that lose precision
323
+ * @see https://typescript-eslint.io/rules/no-loss-of-precision
324
+ */
325
+ '@typescript-eslint/no-loss-of-precision'?: Linter.RuleEntry<[]>;
326
+ /**
327
+ * Disallow magic numbers
328
+ * @see https://typescript-eslint.io/rules/no-magic-numbers
329
+ */
330
+ '@typescript-eslint/no-magic-numbers'?: Linter.RuleEntry<TypescriptEslintNoMagicNumbers>;
331
+ /**
332
+ * Disallow the `void` operator except when used to discard a value
333
+ * @see https://typescript-eslint.io/rules/no-meaningless-void-operator
334
+ */
335
+ '@typescript-eslint/no-meaningless-void-operator'?: Linter.RuleEntry<TypescriptEslintNoMeaninglessVoidOperator>;
336
+ /**
337
+ * Enforce valid definition of `new` and `constructor`
338
+ * @see https://typescript-eslint.io/rules/no-misused-new
339
+ */
340
+ '@typescript-eslint/no-misused-new'?: Linter.RuleEntry<[]>;
341
+ /**
342
+ * Disallow Promises in places not designed to handle them
343
+ * @see https://typescript-eslint.io/rules/no-misused-promises
344
+ */
345
+ '@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
346
+ /**
347
+ * Disallow enums from having both number and string members
348
+ * @see https://typescript-eslint.io/rules/no-mixed-enums
349
+ */
350
+ '@typescript-eslint/no-mixed-enums'?: Linter.RuleEntry<[]>;
351
+ /**
352
+ * Disallow TypeScript namespaces
353
+ * @see https://typescript-eslint.io/rules/no-namespace
354
+ */
355
+ '@typescript-eslint/no-namespace'?: Linter.RuleEntry<TypescriptEslintNoNamespace>;
356
+ /**
357
+ * Disallow non-null assertions in the left operand of a nullish coalescing operator
358
+ * @see https://typescript-eslint.io/rules/no-non-null-asserted-nullish-coalescing
359
+ */
360
+ '@typescript-eslint/no-non-null-asserted-nullish-coalescing'?: Linter.RuleEntry<[]>;
361
+ /**
362
+ * Disallow non-null assertions after an optional chain expression
363
+ * @see https://typescript-eslint.io/rules/no-non-null-asserted-optional-chain
364
+ */
365
+ '@typescript-eslint/no-non-null-asserted-optional-chain'?: Linter.RuleEntry<[]>;
366
+ /**
367
+ * Disallow non-null assertions using the `!` postfix operator
368
+ * @see https://typescript-eslint.io/rules/no-non-null-assertion
369
+ */
370
+ '@typescript-eslint/no-non-null-assertion'?: Linter.RuleEntry<[]>;
371
+ /**
372
+ * Disallow variable redeclaration
373
+ * @see https://typescript-eslint.io/rules/no-redeclare
374
+ */
375
+ '@typescript-eslint/no-redeclare'?: Linter.RuleEntry<TypescriptEslintNoRedeclare>;
376
+ /**
377
+ * Disallow members of unions and intersections that do nothing or override type information
378
+ * @see https://typescript-eslint.io/rules/no-redundant-type-constituents
379
+ */
380
+ '@typescript-eslint/no-redundant-type-constituents'?: Linter.RuleEntry<[]>;
381
+ /**
382
+ * Disallow invocation of `require()`
383
+ * @see https://typescript-eslint.io/rules/no-require-imports
384
+ */
385
+ '@typescript-eslint/no-require-imports'?: Linter.RuleEntry<TypescriptEslintNoRequireImports>;
386
+ /**
387
+ * Disallow specified modules when loaded by `import`
388
+ * @see https://typescript-eslint.io/rules/no-restricted-imports
389
+ */
390
+ '@typescript-eslint/no-restricted-imports'?: Linter.RuleEntry<TypescriptEslintNoRestrictedImports>;
391
+ /**
392
+ * Disallow variable declarations from shadowing variables declared in the outer scope
393
+ * @see https://typescript-eslint.io/rules/no-shadow
394
+ */
395
+ '@typescript-eslint/no-shadow'?: Linter.RuleEntry<TypescriptEslintNoShadow>;
396
+ /**
397
+ * Disallow aliasing `this`
398
+ * @see https://typescript-eslint.io/rules/no-this-alias
399
+ */
400
+ '@typescript-eslint/no-this-alias'?: Linter.RuleEntry<TypescriptEslintNoThisAlias>;
401
+ /**
402
+ * Disallow throwing literals as exceptions
403
+ * @see https://typescript-eslint.io/rules/no-throw-literal
404
+ * @deprecated
405
+ */
406
+ '@typescript-eslint/no-throw-literal'?: Linter.RuleEntry<TypescriptEslintNoThrowLiteral>;
407
+ /**
408
+ * Disallow type aliases
409
+ * @see https://typescript-eslint.io/rules/no-type-alias
410
+ * @deprecated
411
+ */
412
+ '@typescript-eslint/no-type-alias'?: Linter.RuleEntry<TypescriptEslintNoTypeAlias>;
413
+ /**
414
+ * Disallow unnecessary equality comparisons against boolean literals
415
+ * @see https://typescript-eslint.io/rules/no-unnecessary-boolean-literal-compare
416
+ */
417
+ '@typescript-eslint/no-unnecessary-boolean-literal-compare'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryBooleanLiteralCompare>;
418
+ /**
419
+ * Disallow conditionals where the type is always truthy or always falsy
420
+ * @see https://typescript-eslint.io/rules/no-unnecessary-condition
421
+ */
422
+ '@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryCondition>;
423
+ /**
424
+ * Disallow unnecessary namespace qualifiers
425
+ * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
426
+ */
427
+ '@typescript-eslint/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>;
428
+ /**
429
+ * Disallow unnecessary template expressions
430
+ * @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
431
+ */
432
+ '@typescript-eslint/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>;
433
+ /**
434
+ * Disallow type arguments that are equal to the default
435
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
436
+ */
437
+ '@typescript-eslint/no-unnecessary-type-arguments'?: Linter.RuleEntry<[]>;
438
+ /**
439
+ * Disallow type assertions that do not change the type of an expression
440
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-assertion
441
+ */
442
+ '@typescript-eslint/no-unnecessary-type-assertion'?: Linter.RuleEntry<TypescriptEslintNoUnnecessaryTypeAssertion>;
443
+ /**
444
+ * Disallow unnecessary constraints on generic types
445
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
446
+ */
447
+ '@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>;
448
+ /**
449
+ * Disallow calling a function with a value with type `any`
450
+ * @see https://typescript-eslint.io/rules/no-unsafe-argument
451
+ */
452
+ '@typescript-eslint/no-unsafe-argument'?: Linter.RuleEntry<[]>;
453
+ /**
454
+ * Disallow assigning a value with type `any` to variables and properties
455
+ * @see https://typescript-eslint.io/rules/no-unsafe-assignment
456
+ */
457
+ '@typescript-eslint/no-unsafe-assignment'?: Linter.RuleEntry<[]>;
458
+ /**
459
+ * Disallow calling a value with type `any`
460
+ * @see https://typescript-eslint.io/rules/no-unsafe-call
461
+ */
462
+ '@typescript-eslint/no-unsafe-call'?: Linter.RuleEntry<[]>;
463
+ /**
464
+ * Disallow unsafe declaration merging
465
+ * @see https://typescript-eslint.io/rules/no-unsafe-declaration-merging
466
+ */
467
+ '@typescript-eslint/no-unsafe-declaration-merging'?: Linter.RuleEntry<[]>;
468
+ /**
469
+ * Disallow comparing an enum value with a non-enum value
470
+ * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
471
+ */
472
+ '@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>;
473
+ /**
474
+ * Disallow member access on a value with type `any`
475
+ * @see https://typescript-eslint.io/rules/no-unsafe-member-access
476
+ */
477
+ '@typescript-eslint/no-unsafe-member-access'?: Linter.RuleEntry<[]>;
478
+ /**
479
+ * Disallow returning a value with type `any` from a function
480
+ * @see https://typescript-eslint.io/rules/no-unsafe-return
481
+ */
482
+ '@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>;
483
+ /**
484
+ * Require unary negation to take a number
485
+ * @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
486
+ */
487
+ '@typescript-eslint/no-unsafe-unary-minus'?: Linter.RuleEntry<[]>;
488
+ /**
489
+ * Disallow unused expressions
490
+ * @see https://typescript-eslint.io/rules/no-unused-expressions
491
+ */
492
+ '@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
493
+ /**
494
+ * Disallow unused variables
495
+ * @see https://typescript-eslint.io/rules/no-unused-vars
496
+ */
497
+ '@typescript-eslint/no-unused-vars'?: Linter.RuleEntry<TypescriptEslintNoUnusedVars>;
498
+ /**
499
+ * Disallow the use of variables before they are defined
500
+ * @see https://typescript-eslint.io/rules/no-use-before-define
501
+ */
502
+ '@typescript-eslint/no-use-before-define'?: Linter.RuleEntry<TypescriptEslintNoUseBeforeDefine>;
503
+ /**
504
+ * Disallow unnecessary constructors
505
+ * @see https://typescript-eslint.io/rules/no-useless-constructor
506
+ */
507
+ '@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>;
508
+ /**
509
+ * Disallow empty exports that don't change anything in a module file
510
+ * @see https://typescript-eslint.io/rules/no-useless-empty-export
511
+ */
512
+ '@typescript-eslint/no-useless-empty-export'?: Linter.RuleEntry<[]>;
513
+ /**
514
+ * Disallow unnecessary template expressions
515
+ * @see https://typescript-eslint.io/rules/no-useless-template-literals
516
+ * @deprecated
517
+ */
518
+ '@typescript-eslint/no-useless-template-literals'?: Linter.RuleEntry<[]>;
519
+ /**
520
+ * Disallow `require` statements except in import statements
521
+ * @see https://typescript-eslint.io/rules/no-var-requires
522
+ */
523
+ '@typescript-eslint/no-var-requires'?: Linter.RuleEntry<TypescriptEslintNoVarRequires>;
524
+ /**
525
+ * Enforce non-null assertions over explicit type casts
526
+ * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
527
+ */
528
+ '@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>;
529
+ /**
530
+ * Enforce consistent spacing inside braces
531
+ * @see https://typescript-eslint.io/rules/object-curly-spacing
532
+ * @deprecated
533
+ */
534
+ '@typescript-eslint/object-curly-spacing'?: Linter.RuleEntry<TypescriptEslintObjectCurlySpacing>;
535
+ /**
536
+ * Disallow throwing non-`Error` values as exceptions
537
+ * @see https://typescript-eslint.io/rules/only-throw-error
538
+ */
539
+ '@typescript-eslint/only-throw-error'?: Linter.RuleEntry<TypescriptEslintOnlyThrowError>;
540
+ /**
541
+ * Require or disallow padding lines between statements
542
+ * @see https://typescript-eslint.io/rules/padding-line-between-statements
543
+ * @deprecated
544
+ */
545
+ '@typescript-eslint/padding-line-between-statements'?: Linter.RuleEntry<TypescriptEslintPaddingLineBetweenStatements>;
546
+ /**
547
+ * Require or disallow parameter properties in class constructors
548
+ * @see https://typescript-eslint.io/rules/parameter-properties
549
+ */
550
+ '@typescript-eslint/parameter-properties'?: Linter.RuleEntry<TypescriptEslintParameterProperties>;
551
+ /**
552
+ * Enforce the use of `as const` over literal type
553
+ * @see https://typescript-eslint.io/rules/prefer-as-const
554
+ */
555
+ '@typescript-eslint/prefer-as-const'?: Linter.RuleEntry<[]>;
556
+ /**
557
+ * Require destructuring from arrays and/or objects
558
+ * @see https://typescript-eslint.io/rules/prefer-destructuring
559
+ */
560
+ '@typescript-eslint/prefer-destructuring'?: Linter.RuleEntry<TypescriptEslintPreferDestructuring>;
561
+ /**
562
+ * Require each enum member value to be explicitly initialized
563
+ * @see https://typescript-eslint.io/rules/prefer-enum-initializers
564
+ */
565
+ '@typescript-eslint/prefer-enum-initializers'?: Linter.RuleEntry<[]>;
566
+ /**
567
+ * Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result
568
+ * @see https://typescript-eslint.io/rules/prefer-find
569
+ */
570
+ '@typescript-eslint/prefer-find'?: Linter.RuleEntry<[]>;
571
+ /**
572
+ * Enforce the use of `for-of` loop over the standard `for` loop where possible
573
+ * @see https://typescript-eslint.io/rules/prefer-for-of
574
+ */
575
+ '@typescript-eslint/prefer-for-of'?: Linter.RuleEntry<[]>;
576
+ /**
577
+ * Enforce using function types instead of interfaces with call signatures
578
+ * @see https://typescript-eslint.io/rules/prefer-function-type
579
+ */
580
+ '@typescript-eslint/prefer-function-type'?: Linter.RuleEntry<[]>;
581
+ /**
582
+ * Enforce `includes` method over `indexOf` method
583
+ * @see https://typescript-eslint.io/rules/prefer-includes
584
+ */
585
+ '@typescript-eslint/prefer-includes'?: Linter.RuleEntry<[]>;
586
+ /**
587
+ * Require all enum members to be literal values
588
+ * @see https://typescript-eslint.io/rules/prefer-literal-enum-member
589
+ */
590
+ '@typescript-eslint/prefer-literal-enum-member'?: Linter.RuleEntry<TypescriptEslintPreferLiteralEnumMember>;
591
+ /**
592
+ * Require using `namespace` keyword over `module` keyword to declare custom TypeScript modules
593
+ * @see https://typescript-eslint.io/rules/prefer-namespace-keyword
594
+ */
595
+ '@typescript-eslint/prefer-namespace-keyword'?: Linter.RuleEntry<[]>;
596
+ /**
597
+ * Enforce using the nullish coalescing operator instead of logical assignments or chaining
598
+ * @see https://typescript-eslint.io/rules/prefer-nullish-coalescing
599
+ */
600
+ '@typescript-eslint/prefer-nullish-coalescing'?: Linter.RuleEntry<TypescriptEslintPreferNullishCoalescing>;
601
+ /**
602
+ * Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects
603
+ * @see https://typescript-eslint.io/rules/prefer-optional-chain
604
+ */
605
+ '@typescript-eslint/prefer-optional-chain'?: Linter.RuleEntry<TypescriptEslintPreferOptionalChain>;
606
+ /**
607
+ * Require using Error objects as Promise rejection reasons
608
+ * @see https://typescript-eslint.io/rules/prefer-promise-reject-errors
609
+ */
610
+ '@typescript-eslint/prefer-promise-reject-errors'?: Linter.RuleEntry<TypescriptEslintPreferPromiseRejectErrors>;
611
+ /**
612
+ * Require private members to be marked as `readonly` if they're never modified outside of the constructor
613
+ * @see https://typescript-eslint.io/rules/prefer-readonly
614
+ */
615
+ '@typescript-eslint/prefer-readonly'?: Linter.RuleEntry<TypescriptEslintPreferReadonly>;
616
+ /**
617
+ * Require function parameters to be typed as `readonly` to prevent accidental mutation of inputs
618
+ * @see https://typescript-eslint.io/rules/prefer-readonly-parameter-types
619
+ */
620
+ '@typescript-eslint/prefer-readonly-parameter-types'?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>;
621
+ /**
622
+ * Enforce using type parameter when calling `Array#reduce` instead of casting
623
+ * @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
624
+ */
625
+ '@typescript-eslint/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>;
626
+ /**
627
+ * Enforce `RegExp#exec` over `String#match` if no global flag is provided
628
+ * @see https://typescript-eslint.io/rules/prefer-regexp-exec
629
+ */
630
+ '@typescript-eslint/prefer-regexp-exec'?: Linter.RuleEntry<[]>;
631
+ /**
632
+ * Enforce that `this` is used when only `this` type is returned
633
+ * @see https://typescript-eslint.io/rules/prefer-return-this-type
634
+ */
635
+ '@typescript-eslint/prefer-return-this-type'?: Linter.RuleEntry<[]>;
636
+ /**
637
+ * Enforce using `String#startsWith` and `String#endsWith` over other equivalent methods of checking substrings
638
+ * @see https://typescript-eslint.io/rules/prefer-string-starts-ends-with
639
+ */
640
+ '@typescript-eslint/prefer-string-starts-ends-with'?: Linter.RuleEntry<TypescriptEslintPreferStringStartsEndsWith>;
641
+ /**
642
+ * Enforce using `@ts-expect-error` over `@ts-ignore`
643
+ * @see https://typescript-eslint.io/rules/prefer-ts-expect-error
644
+ * @deprecated
645
+ */
646
+ '@typescript-eslint/prefer-ts-expect-error'?: Linter.RuleEntry<[]>;
647
+ /**
648
+ * Require any function or method that returns a Promise to be marked async
649
+ * @see https://typescript-eslint.io/rules/promise-function-async
650
+ */
651
+ '@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
652
+ /**
653
+ * Enforce the consistent use of either backticks, double, or single quotes
654
+ * @see https://typescript-eslint.io/rules/quotes
655
+ * @deprecated
656
+ */
657
+ '@typescript-eslint/quotes'?: Linter.RuleEntry<TypescriptEslintQuotes>;
658
+ /**
659
+ * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
660
+ * @see https://typescript-eslint.io/rules/require-array-sort-compare
661
+ */
662
+ '@typescript-eslint/require-array-sort-compare'?: Linter.RuleEntry<TypescriptEslintRequireArraySortCompare>;
663
+ /**
664
+ * Disallow async functions which do not return promises and have no `await` expression
665
+ * @see https://typescript-eslint.io/rules/require-await
666
+ */
667
+ '@typescript-eslint/require-await'?: Linter.RuleEntry<[]>;
668
+ /**
669
+ * Require both operands of addition to be the same type and be `bigint`, `number`, or `string`
670
+ * @see https://typescript-eslint.io/rules/restrict-plus-operands
671
+ */
672
+ '@typescript-eslint/restrict-plus-operands'?: Linter.RuleEntry<TypescriptEslintRestrictPlusOperands>;
673
+ /**
674
+ * Enforce template literal expressions to be of `string` type
675
+ * @see https://typescript-eslint.io/rules/restrict-template-expressions
676
+ */
677
+ '@typescript-eslint/restrict-template-expressions'?: Linter.RuleEntry<TypescriptEslintRestrictTemplateExpressions>;
678
+ /**
679
+ * Enforce consistent awaiting of returned promises
680
+ * @see https://typescript-eslint.io/rules/return-await
681
+ */
682
+ '@typescript-eslint/return-await'?: Linter.RuleEntry<TypescriptEslintReturnAwait>;
683
+ /**
684
+ * Require or disallow semicolons instead of ASI
685
+ * @see https://typescript-eslint.io/rules/semi
686
+ * @deprecated
687
+ */
688
+ '@typescript-eslint/semi'?: Linter.RuleEntry<TypescriptEslintSemi>;
689
+ /**
690
+ * Enforce constituents of a type union/intersection to be sorted alphabetically
691
+ * @see https://typescript-eslint.io/rules/sort-type-constituents
692
+ * @deprecated
693
+ */
694
+ '@typescript-eslint/sort-type-constituents'?: Linter.RuleEntry<TypescriptEslintSortTypeConstituents>;
695
+ /**
696
+ * Enforce consistent spacing before blocks
697
+ * @see https://typescript-eslint.io/rules/space-before-blocks
698
+ * @deprecated
699
+ */
700
+ '@typescript-eslint/space-before-blocks'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeBlocks>;
701
+ /**
702
+ * Enforce consistent spacing before function parenthesis
703
+ * @see https://typescript-eslint.io/rules/space-before-function-paren
704
+ * @deprecated
705
+ */
706
+ '@typescript-eslint/space-before-function-paren'?: Linter.RuleEntry<TypescriptEslintSpaceBeforeFunctionParen>;
707
+ /**
708
+ * Require spacing around infix operators
709
+ * @see https://typescript-eslint.io/rules/space-infix-ops
710
+ * @deprecated
711
+ */
712
+ '@typescript-eslint/space-infix-ops'?: Linter.RuleEntry<TypescriptEslintSpaceInfixOps>;
713
+ /**
714
+ * Disallow certain types in boolean expressions
715
+ * @see https://typescript-eslint.io/rules/strict-boolean-expressions
716
+ */
717
+ '@typescript-eslint/strict-boolean-expressions'?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>;
718
+ /**
719
+ * Require switch-case statements to be exhaustive
720
+ * @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
721
+ */
722
+ '@typescript-eslint/switch-exhaustiveness-check'?: Linter.RuleEntry<TypescriptEslintSwitchExhaustivenessCheck>;
723
+ /**
724
+ * Disallow certain triple slash directives in favor of ES6-style import declarations
725
+ * @see https://typescript-eslint.io/rules/triple-slash-reference
726
+ */
727
+ '@typescript-eslint/triple-slash-reference'?: Linter.RuleEntry<TypescriptEslintTripleSlashReference>;
728
+ /**
729
+ * Require consistent spacing around type annotations
730
+ * @see https://typescript-eslint.io/rules/type-annotation-spacing
731
+ * @deprecated
732
+ */
733
+ '@typescript-eslint/type-annotation-spacing'?: Linter.RuleEntry<TypescriptEslintTypeAnnotationSpacing>;
734
+ /**
735
+ * Require type annotations in certain places
736
+ * @see https://typescript-eslint.io/rules/typedef
737
+ */
738
+ '@typescript-eslint/typedef'?: Linter.RuleEntry<TypescriptEslintTypedef>;
739
+ /**
740
+ * Enforce unbound methods are called with their expected scope
741
+ * @see https://typescript-eslint.io/rules/unbound-method
742
+ */
743
+ '@typescript-eslint/unbound-method'?: Linter.RuleEntry<TypescriptEslintUnboundMethod>;
744
+ /**
745
+ * Disallow two overloads that could be unified into one with a union or an optional/rest parameter
746
+ * @see https://typescript-eslint.io/rules/unified-signatures
747
+ */
748
+ '@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
749
+ /**
750
+ * Enforce typing arguments in `.catch()` callbacks as `unknown`
751
+ * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
752
+ */
753
+ '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>;
754
+ }
755
+ type TypescriptEslintArrayType = [] | [
756
+ {
757
+ default?: ("array" | "generic" | "array-simple");
758
+ readonly?: ("array" | "generic" | "array-simple");
759
+ }
760
+ ];
761
+ type TypescriptEslintBanTsComment = [] | [
762
+ {
763
+ "ts-expect-error"?: (boolean | "allow-with-description" | {
764
+ descriptionFormat?: string;
765
+ });
766
+ "ts-ignore"?: (boolean | "allow-with-description" | {
767
+ descriptionFormat?: string;
768
+ });
769
+ "ts-nocheck"?: (boolean | "allow-with-description" | {
770
+ descriptionFormat?: string;
771
+ });
772
+ "ts-check"?: (boolean | "allow-with-description" | {
773
+ descriptionFormat?: string;
774
+ });
775
+ minimumDescriptionLength?: number;
776
+ }
777
+ ];
778
+ type TypescriptEslintBanTypes = [] | [
779
+ {
780
+ types?: {
781
+ [k: string]: (null | false | true | string | {
782
+ message?: string;
783
+ fixWith?: string;
784
+ suggest?: string[];
785
+ }) | undefined;
786
+ };
787
+ extendDefaults?: boolean;
788
+ }
789
+ ];
790
+ type TypescriptEslintBlockSpacing = [] | [("always" | "never")];
791
+ type TypescriptEslintBraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [
792
+ ("1tbs" | "stroustrup" | "allman"),
793
+ {
794
+ allowSingleLine?: boolean;
795
+ }
796
+ ];
797
+ type TypescriptEslintClassLiteralPropertyStyle = [] | [("fields" | "getters")];
798
+ type TypescriptEslintClassMethodsUseThis = [] | [
799
+ {
800
+ exceptMethods?: string[];
801
+ enforceForClassFields?: boolean;
802
+ ignoreOverrideMethods?: boolean;
803
+ ignoreClassesThatImplementAnInterface?: (boolean | "public-fields");
804
+ }
805
+ ];
806
+ type TypescriptEslintCommaDangle = [] | [
807
+ (_TypescriptEslintCommaDangleValue | {
808
+ arrays?: _TypescriptEslintCommaDangleValueWithIgnore;
809
+ objects?: _TypescriptEslintCommaDangleValueWithIgnore;
810
+ imports?: _TypescriptEslintCommaDangleValueWithIgnore;
811
+ exports?: _TypescriptEslintCommaDangleValueWithIgnore;
812
+ functions?: _TypescriptEslintCommaDangleValueWithIgnore;
813
+ enums?: _TypescriptEslintCommaDangleValueWithIgnore;
814
+ generics?: _TypescriptEslintCommaDangleValueWithIgnore;
815
+ tuples?: _TypescriptEslintCommaDangleValueWithIgnore;
816
+ })
817
+ ];
818
+ type _TypescriptEslintCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
819
+ type _TypescriptEslintCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore");
820
+ type TypescriptEslintCommaSpacing = [] | [
821
+ {
822
+ before?: boolean;
823
+ after?: boolean;
824
+ }
825
+ ];
826
+ type TypescriptEslintConsistentGenericConstructors = [] | [("type-annotation" | "constructor")];
827
+ type TypescriptEslintConsistentIndexedObjectStyle = [] | [("record" | "index-signature")];
828
+ type TypescriptEslintConsistentReturn = [] | [
829
+ {
830
+ treatUndefinedAsUnspecified?: boolean;
831
+ }
832
+ ];
833
+ type TypescriptEslintConsistentTypeAssertions = [] | [
834
+ ({
835
+ assertionStyle: "never";
836
+ } | {
837
+ assertionStyle: ("as" | "angle-bracket");
838
+ objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
839
+ })
840
+ ];
841
+ type TypescriptEslintConsistentTypeDefinitions = [] | [("interface" | "type")];
842
+ type TypescriptEslintConsistentTypeExports = [] | [
843
+ {
844
+ fixMixedExportsWithInlineTypeSpecifier?: boolean;
845
+ }
846
+ ];
847
+ type TypescriptEslintConsistentTypeImports = [] | [
848
+ {
849
+ disallowTypeAnnotations?: boolean;
850
+ fixStyle?: ("separate-type-imports" | "inline-type-imports");
851
+ prefer?: ("type-imports" | "no-type-imports");
852
+ }
853
+ ];
854
+ type TypescriptEslintDotNotation = [] | [
855
+ {
856
+ allowKeywords?: boolean;
857
+ allowPattern?: string;
858
+ allowPrivateClassPropertyAccess?: boolean;
859
+ allowProtectedClassPropertyAccess?: boolean;
860
+ allowIndexSignaturePropertyAccess?: boolean;
861
+ }
862
+ ];
863
+ type TypescriptEslintExplicitFunctionReturnType = [] | [
864
+ {
865
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
866
+ allowExpressions?: boolean;
867
+ allowHigherOrderFunctions?: boolean;
868
+ allowTypedFunctionExpressions?: boolean;
869
+ allowDirectConstAssertionInArrowFunctions?: boolean;
870
+ allowFunctionsWithoutTypeParameters?: boolean;
871
+ allowedNames?: string[];
872
+ allowIIFEs?: boolean;
873
+ }
874
+ ];
875
+ type TypescriptEslintExplicitMemberAccessibility = [] | [
876
+ {
877
+ accessibility?: ("explicit" | "no-public" | "off");
878
+ overrides?: {
879
+ accessors?: ("explicit" | "no-public" | "off");
880
+ constructors?: ("explicit" | "no-public" | "off");
881
+ methods?: ("explicit" | "no-public" | "off");
882
+ properties?: ("explicit" | "no-public" | "off");
883
+ parameterProperties?: ("explicit" | "no-public" | "off");
884
+ };
885
+ ignoredMethodNames?: string[];
886
+ }
887
+ ];
888
+ type TypescriptEslintExplicitModuleBoundaryTypes = [] | [
889
+ {
890
+ allowArgumentsExplicitlyTypedAsAny?: boolean;
891
+ allowDirectConstAssertionInArrowFunctions?: boolean;
892
+ allowedNames?: string[];
893
+ allowHigherOrderFunctions?: boolean;
894
+ allowTypedFunctionExpressions?: boolean;
895
+ }
896
+ ];
897
+ type TypescriptEslintFuncCallSpacing = ([] | ["never"] | [] | ["always"] | [
898
+ "always",
899
+ {
900
+ allowNewlines?: boolean;
901
+ }
902
+ ]);
903
+ type TypescriptEslintIndent = [] | [("tab" | number)] | [
904
+ ("tab" | number),
905
+ {
906
+ SwitchCase?: number;
907
+ VariableDeclarator?: ((number | ("first" | "off")) | {
908
+ var?: (number | ("first" | "off"));
909
+ let?: (number | ("first" | "off"));
910
+ const?: (number | ("first" | "off"));
911
+ });
912
+ outerIIFEBody?: (number | "off");
913
+ MemberExpression?: (number | "off");
914
+ FunctionDeclaration?: {
915
+ parameters?: (number | ("first" | "off"));
916
+ body?: number;
917
+ };
918
+ FunctionExpression?: {
919
+ parameters?: (number | ("first" | "off"));
920
+ body?: number;
921
+ };
922
+ StaticBlock?: {
923
+ body?: number;
924
+ };
925
+ CallExpression?: {
926
+ arguments?: (number | ("first" | "off"));
927
+ };
928
+ ArrayExpression?: (number | ("first" | "off"));
929
+ ObjectExpression?: (number | ("first" | "off"));
930
+ ImportDeclaration?: (number | ("first" | "off"));
931
+ flatTernaryExpressions?: boolean;
932
+ offsetTernaryExpressions?: boolean;
933
+ ignoredNodes?: string[];
934
+ ignoreComments?: boolean;
935
+ }
936
+ ];
937
+ type TypescriptEslintInitDeclarations = ([] | ["always"] | [] | ["never"] | [
938
+ "never",
939
+ {
940
+ ignoreForLoopInit?: boolean;
941
+ }
942
+ ]);
943
+ type TypescriptEslintKeySpacing = [] | [
944
+ ({
945
+ align?: (("colon" | "value") | {
946
+ mode?: ("strict" | "minimum");
947
+ on?: ("colon" | "value");
948
+ beforeColon?: boolean;
949
+ afterColon?: boolean;
950
+ });
951
+ mode?: ("strict" | "minimum");
952
+ beforeColon?: boolean;
953
+ afterColon?: boolean;
954
+ } | {
955
+ singleLine?: {
956
+ mode?: ("strict" | "minimum");
957
+ beforeColon?: boolean;
958
+ afterColon?: boolean;
959
+ };
960
+ multiLine?: {
961
+ align?: (("colon" | "value") | {
962
+ mode?: ("strict" | "minimum");
963
+ on?: ("colon" | "value");
964
+ beforeColon?: boolean;
965
+ afterColon?: boolean;
966
+ });
967
+ mode?: ("strict" | "minimum");
968
+ beforeColon?: boolean;
969
+ afterColon?: boolean;
970
+ };
971
+ } | {
972
+ singleLine?: {
973
+ mode?: ("strict" | "minimum");
974
+ beforeColon?: boolean;
975
+ afterColon?: boolean;
976
+ };
977
+ multiLine?: {
978
+ mode?: ("strict" | "minimum");
979
+ beforeColon?: boolean;
980
+ afterColon?: boolean;
981
+ };
982
+ align?: {
983
+ mode?: ("strict" | "minimum");
984
+ on?: ("colon" | "value");
985
+ beforeColon?: boolean;
986
+ afterColon?: boolean;
987
+ };
988
+ })
989
+ ];
990
+ type TypescriptEslintKeywordSpacing = [] | [
991
+ {
992
+ before?: boolean;
993
+ after?: boolean;
994
+ overrides?: {
995
+ abstract?: {
996
+ before?: boolean;
997
+ after?: boolean;
998
+ };
999
+ as?: {
1000
+ before?: boolean;
1001
+ after?: boolean;
1002
+ };
1003
+ async?: {
1004
+ before?: boolean;
1005
+ after?: boolean;
1006
+ };
1007
+ await?: {
1008
+ before?: boolean;
1009
+ after?: boolean;
1010
+ };
1011
+ boolean?: {
1012
+ before?: boolean;
1013
+ after?: boolean;
1014
+ };
1015
+ break?: {
1016
+ before?: boolean;
1017
+ after?: boolean;
1018
+ };
1019
+ byte?: {
1020
+ before?: boolean;
1021
+ after?: boolean;
1022
+ };
1023
+ case?: {
1024
+ before?: boolean;
1025
+ after?: boolean;
1026
+ };
1027
+ catch?: {
1028
+ before?: boolean;
1029
+ after?: boolean;
1030
+ };
1031
+ char?: {
1032
+ before?: boolean;
1033
+ after?: boolean;
1034
+ };
1035
+ class?: {
1036
+ before?: boolean;
1037
+ after?: boolean;
1038
+ };
1039
+ const?: {
1040
+ before?: boolean;
1041
+ after?: boolean;
1042
+ };
1043
+ continue?: {
1044
+ before?: boolean;
1045
+ after?: boolean;
1046
+ };
1047
+ debugger?: {
1048
+ before?: boolean;
1049
+ after?: boolean;
1050
+ };
1051
+ default?: {
1052
+ before?: boolean;
1053
+ after?: boolean;
1054
+ };
1055
+ delete?: {
1056
+ before?: boolean;
1057
+ after?: boolean;
1058
+ };
1059
+ do?: {
1060
+ before?: boolean;
1061
+ after?: boolean;
1062
+ };
1063
+ double?: {
1064
+ before?: boolean;
1065
+ after?: boolean;
1066
+ };
1067
+ else?: {
1068
+ before?: boolean;
1069
+ after?: boolean;
1070
+ };
1071
+ enum?: {
1072
+ before?: boolean;
1073
+ after?: boolean;
1074
+ };
1075
+ export?: {
1076
+ before?: boolean;
1077
+ after?: boolean;
1078
+ };
1079
+ extends?: {
1080
+ before?: boolean;
1081
+ after?: boolean;
1082
+ };
1083
+ false?: {
1084
+ before?: boolean;
1085
+ after?: boolean;
1086
+ };
1087
+ final?: {
1088
+ before?: boolean;
1089
+ after?: boolean;
1090
+ };
1091
+ finally?: {
1092
+ before?: boolean;
1093
+ after?: boolean;
1094
+ };
1095
+ float?: {
1096
+ before?: boolean;
1097
+ after?: boolean;
1098
+ };
1099
+ for?: {
1100
+ before?: boolean;
1101
+ after?: boolean;
1102
+ };
1103
+ from?: {
1104
+ before?: boolean;
1105
+ after?: boolean;
1106
+ };
1107
+ function?: {
1108
+ before?: boolean;
1109
+ after?: boolean;
1110
+ };
1111
+ get?: {
1112
+ before?: boolean;
1113
+ after?: boolean;
1114
+ };
1115
+ goto?: {
1116
+ before?: boolean;
1117
+ after?: boolean;
1118
+ };
1119
+ if?: {
1120
+ before?: boolean;
1121
+ after?: boolean;
1122
+ };
1123
+ implements?: {
1124
+ before?: boolean;
1125
+ after?: boolean;
1126
+ };
1127
+ import?: {
1128
+ before?: boolean;
1129
+ after?: boolean;
1130
+ };
1131
+ in?: {
1132
+ before?: boolean;
1133
+ after?: boolean;
1134
+ };
1135
+ instanceof?: {
1136
+ before?: boolean;
1137
+ after?: boolean;
1138
+ };
1139
+ int?: {
1140
+ before?: boolean;
1141
+ after?: boolean;
1142
+ };
1143
+ interface?: {
1144
+ before?: boolean;
1145
+ after?: boolean;
1146
+ };
1147
+ let?: {
1148
+ before?: boolean;
1149
+ after?: boolean;
1150
+ };
1151
+ long?: {
1152
+ before?: boolean;
1153
+ after?: boolean;
1154
+ };
1155
+ native?: {
1156
+ before?: boolean;
1157
+ after?: boolean;
1158
+ };
1159
+ new?: {
1160
+ before?: boolean;
1161
+ after?: boolean;
1162
+ };
1163
+ null?: {
1164
+ before?: boolean;
1165
+ after?: boolean;
1166
+ };
1167
+ of?: {
1168
+ before?: boolean;
1169
+ after?: boolean;
1170
+ };
1171
+ package?: {
1172
+ before?: boolean;
1173
+ after?: boolean;
1174
+ };
1175
+ private?: {
1176
+ before?: boolean;
1177
+ after?: boolean;
1178
+ };
1179
+ protected?: {
1180
+ before?: boolean;
1181
+ after?: boolean;
1182
+ };
1183
+ public?: {
1184
+ before?: boolean;
1185
+ after?: boolean;
1186
+ };
1187
+ return?: {
1188
+ before?: boolean;
1189
+ after?: boolean;
1190
+ };
1191
+ set?: {
1192
+ before?: boolean;
1193
+ after?: boolean;
1194
+ };
1195
+ short?: {
1196
+ before?: boolean;
1197
+ after?: boolean;
1198
+ };
1199
+ static?: {
1200
+ before?: boolean;
1201
+ after?: boolean;
1202
+ };
1203
+ super?: {
1204
+ before?: boolean;
1205
+ after?: boolean;
1206
+ };
1207
+ switch?: {
1208
+ before?: boolean;
1209
+ after?: boolean;
1210
+ };
1211
+ synchronized?: {
1212
+ before?: boolean;
1213
+ after?: boolean;
1214
+ };
1215
+ this?: {
1216
+ before?: boolean;
1217
+ after?: boolean;
1218
+ };
1219
+ throw?: {
1220
+ before?: boolean;
1221
+ after?: boolean;
1222
+ };
1223
+ throws?: {
1224
+ before?: boolean;
1225
+ after?: boolean;
1226
+ };
1227
+ transient?: {
1228
+ before?: boolean;
1229
+ after?: boolean;
1230
+ };
1231
+ true?: {
1232
+ before?: boolean;
1233
+ after?: boolean;
1234
+ };
1235
+ try?: {
1236
+ before?: boolean;
1237
+ after?: boolean;
1238
+ };
1239
+ typeof?: {
1240
+ before?: boolean;
1241
+ after?: boolean;
1242
+ };
1243
+ var?: {
1244
+ before?: boolean;
1245
+ after?: boolean;
1246
+ };
1247
+ void?: {
1248
+ before?: boolean;
1249
+ after?: boolean;
1250
+ };
1251
+ volatile?: {
1252
+ before?: boolean;
1253
+ after?: boolean;
1254
+ };
1255
+ while?: {
1256
+ before?: boolean;
1257
+ after?: boolean;
1258
+ };
1259
+ with?: {
1260
+ before?: boolean;
1261
+ after?: boolean;
1262
+ };
1263
+ yield?: {
1264
+ before?: boolean;
1265
+ after?: boolean;
1266
+ };
1267
+ type?: {
1268
+ before?: boolean;
1269
+ after?: boolean;
1270
+ };
1271
+ };
1272
+ }
1273
+ ];
1274
+ type TypescriptEslintLinesAroundComment = [] | [
1275
+ {
1276
+ beforeBlockComment?: boolean;
1277
+ afterBlockComment?: boolean;
1278
+ beforeLineComment?: boolean;
1279
+ afterLineComment?: boolean;
1280
+ allowBlockStart?: boolean;
1281
+ allowBlockEnd?: boolean;
1282
+ allowClassStart?: boolean;
1283
+ allowClassEnd?: boolean;
1284
+ allowObjectStart?: boolean;
1285
+ allowObjectEnd?: boolean;
1286
+ allowArrayStart?: boolean;
1287
+ allowArrayEnd?: boolean;
1288
+ allowInterfaceStart?: boolean;
1289
+ allowInterfaceEnd?: boolean;
1290
+ allowTypeStart?: boolean;
1291
+ allowTypeEnd?: boolean;
1292
+ allowEnumStart?: boolean;
1293
+ allowEnumEnd?: boolean;
1294
+ allowModuleStart?: boolean;
1295
+ allowModuleEnd?: boolean;
1296
+ ignorePattern?: string;
1297
+ applyDefaultIgnorePatterns?: boolean;
1298
+ }
1299
+ ];
1300
+ type TypescriptEslintLinesBetweenClassMembers = [] | [
1301
+ ({
1302
+ enforce: [
1303
+ {
1304
+ blankLine: ("always" | "never");
1305
+ prev: ("method" | "field" | "*");
1306
+ next: ("method" | "field" | "*");
1307
+ },
1308
+ ...({
1309
+ blankLine: ("always" | "never");
1310
+ prev: ("method" | "field" | "*");
1311
+ next: ("method" | "field" | "*");
1312
+ })[]
1313
+ ];
1314
+ } | ("always" | "never"))
1315
+ ] | [
1316
+ ({
1317
+ enforce: [
1318
+ {
1319
+ blankLine: ("always" | "never");
1320
+ prev: ("method" | "field" | "*");
1321
+ next: ("method" | "field" | "*");
1322
+ },
1323
+ ...({
1324
+ blankLine: ("always" | "never");
1325
+ prev: ("method" | "field" | "*");
1326
+ next: ("method" | "field" | "*");
1327
+ })[]
1328
+ ];
1329
+ } | ("always" | "never")),
1330
+ {
1331
+ exceptAfterSingleLine?: boolean;
1332
+ exceptAfterOverload?: boolean;
1333
+ }
1334
+ ];
1335
+ type TypescriptEslintMaxParams = [] | [
1336
+ {
1337
+ maximum?: number;
1338
+ max?: number;
1339
+ countVoidThis?: boolean;
1340
+ }
1341
+ ];
1342
+ type TypescriptEslintMemberDelimiterStyle = [] | [
1343
+ {
1344
+ multiline?: {
1345
+ delimiter?: ("none" | "semi" | "comma");
1346
+ requireLast?: boolean;
1347
+ };
1348
+ singleline?: {
1349
+ delimiter?: ("semi" | "comma");
1350
+ requireLast?: boolean;
1351
+ };
1352
+ overrides?: {
1353
+ interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
1354
+ typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
1355
+ };
1356
+ multilineDetection?: ("brackets" | "last-member");
1357
+ }
1358
+ ];
1359
+ interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
1360
+ multiline?: {
1361
+ delimiter?: ("none" | "semi" | "comma");
1362
+ requireLast?: boolean;
1363
+ };
1364
+ singleline?: {
1365
+ delimiter?: ("semi" | "comma");
1366
+ requireLast?: boolean;
1367
+ };
1368
+ }
1369
+ type TypescriptEslintMemberOrdering = [] | [
1370
+ {
1371
+ 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")[])[] | {
1372
+ 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");
1373
+ order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
1374
+ optionalityOrder?: ("optional-first" | "required-first");
1375
+ });
1376
+ 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")[])[] | {
1377
+ 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");
1378
+ order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
1379
+ optionalityOrder?: ("optional-first" | "required-first");
1380
+ });
1381
+ 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")[])[] | {
1382
+ 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");
1383
+ order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
1384
+ optionalityOrder?: ("optional-first" | "required-first");
1385
+ });
1386
+ interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
1387
+ memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never");
1388
+ order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
1389
+ optionalityOrder?: ("optional-first" | "required-first");
1390
+ });
1391
+ typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
1392
+ memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never");
1393
+ order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
1394
+ optionalityOrder?: ("optional-first" | "required-first");
1395
+ });
1396
+ }
1397
+ ];
1398
+ type TypescriptEslintMethodSignatureStyle = [] | [("property" | "method")];
1399
+ type _TypescriptEslintNamingConventionFormatOptionsConfig = (_TypescriptEslintNamingConventionPredefinedFormats[] | null);
1400
+ type _TypescriptEslintNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE");
1401
+ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble");
1402
+ type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[];
1403
+ type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array");
1404
+ type TypescriptEslintNamingConvention = ({
1405
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1406
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1407
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1408
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1409
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1410
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1411
+ failureMessage?: string;
1412
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1413
+ 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")[];
1414
+ modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[];
1415
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1416
+ } | {
1417
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1418
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1419
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1420
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1421
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1422
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1423
+ failureMessage?: string;
1424
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1425
+ selector: "default";
1426
+ modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[];
1427
+ } | {
1428
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1429
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1430
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1431
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1432
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1433
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1434
+ failureMessage?: string;
1435
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1436
+ selector: "variableLike";
1437
+ modifiers?: ("unused" | "async")[];
1438
+ } | {
1439
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1440
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1441
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1442
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1443
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1444
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1445
+ failureMessage?: string;
1446
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1447
+ selector: "variable";
1448
+ modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[];
1449
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1450
+ } | {
1451
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1452
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1453
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1454
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1455
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1456
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1457
+ failureMessage?: string;
1458
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1459
+ selector: "function";
1460
+ modifiers?: ("exported" | "global" | "unused" | "async")[];
1461
+ } | {
1462
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1463
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1464
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1465
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1466
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1467
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1468
+ failureMessage?: string;
1469
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1470
+ selector: "parameter";
1471
+ modifiers?: ("destructured" | "unused")[];
1472
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1473
+ } | {
1474
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1475
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1476
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1477
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1478
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1479
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1480
+ failureMessage?: string;
1481
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1482
+ selector: "memberLike";
1483
+ modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[];
1484
+ } | {
1485
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1486
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1487
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1488
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1489
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1490
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1491
+ failureMessage?: string;
1492
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1493
+ selector: "classProperty";
1494
+ modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[];
1495
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1496
+ } | {
1497
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1498
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1499
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1500
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1501
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1502
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1503
+ failureMessage?: string;
1504
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1505
+ selector: "objectLiteralProperty";
1506
+ modifiers?: ("public" | "requiresQuotes")[];
1507
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1508
+ } | {
1509
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1510
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1511
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1512
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1513
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1514
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1515
+ failureMessage?: string;
1516
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1517
+ selector: "typeProperty";
1518
+ modifiers?: ("public" | "readonly" | "requiresQuotes")[];
1519
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1520
+ } | {
1521
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1522
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1523
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1524
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1525
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1526
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1527
+ failureMessage?: string;
1528
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1529
+ selector: "parameterProperty";
1530
+ modifiers?: ("private" | "protected" | "public" | "readonly")[];
1531
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1532
+ } | {
1533
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1534
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1535
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1536
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1537
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1538
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1539
+ failureMessage?: string;
1540
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1541
+ selector: "property";
1542
+ modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[];
1543
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1544
+ } | {
1545
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1546
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1547
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1548
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1549
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1550
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1551
+ failureMessage?: string;
1552
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1553
+ selector: "classMethod";
1554
+ modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[];
1555
+ } | {
1556
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1557
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1558
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1559
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1560
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1561
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1562
+ failureMessage?: string;
1563
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1564
+ selector: "objectLiteralMethod";
1565
+ modifiers?: ("public" | "requiresQuotes" | "async")[];
1566
+ } | {
1567
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1568
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1569
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1570
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1571
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1572
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1573
+ failureMessage?: string;
1574
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1575
+ selector: "typeMethod";
1576
+ modifiers?: ("public" | "requiresQuotes")[];
1577
+ } | {
1578
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1579
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1580
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1581
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1582
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1583
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1584
+ failureMessage?: string;
1585
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1586
+ selector: "method";
1587
+ modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[];
1588
+ } | {
1589
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1590
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1591
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1592
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1593
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1594
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1595
+ failureMessage?: string;
1596
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1597
+ selector: "classicAccessor";
1598
+ modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
1599
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1600
+ } | {
1601
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1602
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1603
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1604
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1605
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1606
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1607
+ failureMessage?: string;
1608
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1609
+ selector: "autoAccessor";
1610
+ modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
1611
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1612
+ } | {
1613
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1614
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1615
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1616
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1617
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1618
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1619
+ failureMessage?: string;
1620
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1621
+ selector: "accessor";
1622
+ modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[];
1623
+ types?: _TypescriptEslintNamingConventionTypeModifiers[];
1624
+ } | {
1625
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1626
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1627
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1628
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1629
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1630
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1631
+ failureMessage?: string;
1632
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1633
+ selector: "enumMember";
1634
+ modifiers?: ("requiresQuotes")[];
1635
+ } | {
1636
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1637
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1638
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1639
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1640
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1641
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1642
+ failureMessage?: string;
1643
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1644
+ selector: "typeLike";
1645
+ modifiers?: ("abstract" | "exported" | "unused")[];
1646
+ } | {
1647
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1648
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1649
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1650
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1651
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1652
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1653
+ failureMessage?: string;
1654
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1655
+ selector: "class";
1656
+ modifiers?: ("abstract" | "exported" | "unused")[];
1657
+ } | {
1658
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1659
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1660
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1661
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1662
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1663
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1664
+ failureMessage?: string;
1665
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1666
+ selector: "interface";
1667
+ modifiers?: ("exported" | "unused")[];
1668
+ } | {
1669
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1670
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1671
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1672
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1673
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1674
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1675
+ failureMessage?: string;
1676
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1677
+ selector: "typeAlias";
1678
+ modifiers?: ("exported" | "unused")[];
1679
+ } | {
1680
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1681
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1682
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1683
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1684
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1685
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1686
+ failureMessage?: string;
1687
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1688
+ selector: "enum";
1689
+ modifiers?: ("exported" | "unused")[];
1690
+ } | {
1691
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1692
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1693
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1694
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1695
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1696
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1697
+ failureMessage?: string;
1698
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1699
+ selector: "typeParameter";
1700
+ modifiers?: ("unused")[];
1701
+ } | {
1702
+ format: _TypescriptEslintNamingConventionFormatOptionsConfig;
1703
+ custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
1704
+ leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1705
+ trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
1706
+ prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1707
+ suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
1708
+ failureMessage?: string;
1709
+ filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig);
1710
+ selector: "import";
1711
+ modifiers?: ("default" | "namespace")[];
1712
+ })[];
1713
+ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
1714
+ match: boolean;
1715
+ regex: string;
1716
+ }
1717
+ type TypescriptEslintNoBaseToString = [] | [
1718
+ {
1719
+ ignoredTypeNames?: string[];
1720
+ }
1721
+ ];
1722
+ type TypescriptEslintNoConfusingVoidExpression = [] | [
1723
+ {
1724
+ ignoreArrowShorthand?: boolean;
1725
+ ignoreVoidOperator?: boolean;
1726
+ }
1727
+ ];
1728
+ type TypescriptEslintNoDuplicateTypeConstituents = [] | [
1729
+ {
1730
+ ignoreIntersections?: boolean;
1731
+ ignoreUnions?: boolean;
1732
+ }
1733
+ ];
1734
+ type TypescriptEslintNoEmptyFunction = [] | [
1735
+ {
1736
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[];
1737
+ }
1738
+ ];
1739
+ type TypescriptEslintNoEmptyInterface = [] | [
1740
+ {
1741
+ allowSingleExtends?: boolean;
1742
+ }
1743
+ ];
1744
+ type TypescriptEslintNoEmptyObjectType = [] | [
1745
+ {
1746
+ allowInterfaces?: ("always" | "never" | "with-single-extends");
1747
+ allowObjectTypes?: ("always" | "in-type-alias-with-name" | "never");
1748
+ allowWithName?: string;
1749
+ }
1750
+ ];
1751
+ type TypescriptEslintNoExplicitAny = [] | [
1752
+ {
1753
+ fixToUnknown?: boolean;
1754
+ ignoreRestArgs?: boolean;
1755
+ }
1756
+ ];
1757
+ type TypescriptEslintNoExtraParens = ([] | ["functions"] | [] | ["all"] | [
1758
+ "all",
1759
+ {
1760
+ conditionalAssign?: boolean;
1761
+ ternaryOperandBinaryExpressions?: boolean;
1762
+ nestedBinaryExpressions?: boolean;
1763
+ returnAssign?: boolean;
1764
+ ignoreJSX?: ("none" | "all" | "single-line" | "multi-line");
1765
+ enforceForArrowConditionals?: boolean;
1766
+ enforceForSequenceExpressions?: boolean;
1767
+ enforceForNewInMemberExpressions?: boolean;
1768
+ enforceForFunctionPrototypeMethods?: boolean;
1769
+ allowParensAfterCommentPattern?: string;
1770
+ }
1771
+ ]);
1772
+ type TypescriptEslintNoExtraneousClass = [] | [
1773
+ {
1774
+ allowConstructorOnly?: boolean;
1775
+ allowEmpty?: boolean;
1776
+ allowStaticOnly?: boolean;
1777
+ allowWithDecorator?: boolean;
1778
+ }
1779
+ ];
1780
+ type TypescriptEslintNoFloatingPromises = [] | [
1781
+ {
1782
+ ignoreVoid?: boolean;
1783
+ ignoreIIFE?: boolean;
1784
+ allowForKnownSafePromises?: (string | {
1785
+ from: "file";
1786
+ name: (string | [string, ...(string)[]]);
1787
+ path?: string;
1788
+ } | {
1789
+ from: "lib";
1790
+ name: (string | [string, ...(string)[]]);
1791
+ } | {
1792
+ from: "package";
1793
+ name: (string | [string, ...(string)[]]);
1794
+ package: string;
1795
+ })[];
1796
+ }
1797
+ ];
1798
+ type TypescriptEslintNoInferrableTypes = [] | [
1799
+ {
1800
+ ignoreParameters?: boolean;
1801
+ ignoreProperties?: boolean;
1802
+ }
1803
+ ];
1804
+ type TypescriptEslintNoInvalidThis = [] | [
1805
+ {
1806
+ capIsConstructor?: boolean;
1807
+ }
1808
+ ];
1809
+ type TypescriptEslintNoInvalidVoidType = [] | [
1810
+ {
1811
+ allowInGenericTypeArguments?: (boolean | [string, ...(string)[]]);
1812
+ allowAsThisParameter?: boolean;
1813
+ }
1814
+ ];
1815
+ type TypescriptEslintNoMagicNumbers = [] | [
1816
+ {
1817
+ detectObjects?: boolean;
1818
+ enforceConst?: boolean;
1819
+ ignore?: (number | string)[];
1820
+ ignoreArrayIndexes?: boolean;
1821
+ ignoreDefaultValues?: boolean;
1822
+ ignoreClassFieldInitialValues?: boolean;
1823
+ ignoreNumericLiteralTypes?: boolean;
1824
+ ignoreEnums?: boolean;
1825
+ ignoreReadonlyClassProperties?: boolean;
1826
+ ignoreTypeIndexes?: boolean;
1827
+ }
1828
+ ];
1829
+ type TypescriptEslintNoMeaninglessVoidOperator = [] | [
1830
+ {
1831
+ checkNever?: boolean;
1832
+ }
1833
+ ];
1834
+ type TypescriptEslintNoMisusedPromises = [] | [
1835
+ {
1836
+ checksConditionals?: boolean;
1837
+ checksVoidReturn?: (boolean | {
1838
+ arguments?: boolean;
1839
+ attributes?: boolean;
1840
+ properties?: boolean;
1841
+ returns?: boolean;
1842
+ variables?: boolean;
1843
+ });
1844
+ checksSpreads?: boolean;
1845
+ }
1846
+ ];
1847
+ type TypescriptEslintNoNamespace = [] | [
1848
+ {
1849
+ allowDeclarations?: boolean;
1850
+ allowDefinitionFiles?: boolean;
1851
+ }
1852
+ ];
1853
+ type TypescriptEslintNoRedeclare = [] | [
1854
+ {
1855
+ builtinGlobals?: boolean;
1856
+ ignoreDeclarationMerge?: boolean;
1857
+ }
1858
+ ];
1859
+ type TypescriptEslintNoRequireImports = [] | [
1860
+ {
1861
+ allow?: string[];
1862
+ }
1863
+ ];
1864
+ type TypescriptEslintNoRestrictedImports = ((string | {
1865
+ name: string;
1866
+ message?: string;
1867
+ importNames?: string[];
1868
+ allowImportNames?: string[];
1869
+ allowTypeImports?: boolean;
1870
+ })[] | [] | [
1871
+ {
1872
+ paths?: (string | {
1873
+ name: string;
1874
+ message?: string;
1875
+ importNames?: string[];
1876
+ allowImportNames?: string[];
1877
+ allowTypeImports?: boolean;
1878
+ })[];
1879
+ patterns?: (string[] | {
1880
+ importNames?: [string, ...(string)[]];
1881
+ allowImportNames?: [string, ...(string)[]];
1882
+ group: [string, ...(string)[]];
1883
+ importNamePattern?: string;
1884
+ allowImportNamePattern?: string;
1885
+ message?: string;
1886
+ caseSensitive?: boolean;
1887
+ allowTypeImports?: boolean;
1888
+ }[]);
1889
+ }
1890
+ ]);
1891
+ type TypescriptEslintNoShadow = [] | [
1892
+ {
1893
+ builtinGlobals?: boolean;
1894
+ hoist?: ("all" | "functions" | "never");
1895
+ allow?: string[];
1896
+ ignoreOnInitialization?: boolean;
1897
+ ignoreTypeValueShadow?: boolean;
1898
+ ignoreFunctionTypeParameterNameValueShadow?: boolean;
1899
+ }
1900
+ ];
1901
+ type TypescriptEslintNoThisAlias = [] | [
1902
+ {
1903
+ allowDestructuring?: boolean;
1904
+ allowedNames?: string[];
1905
+ }
1906
+ ];
1907
+ type TypescriptEslintNoThrowLiteral = [] | [
1908
+ {
1909
+ allowThrowingAny?: boolean;
1910
+ allowThrowingUnknown?: boolean;
1911
+ }
1912
+ ];
1913
+ type TypescriptEslintNoTypeAlias = [] | [
1914
+ {
1915
+ allowAliases?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
1916
+ allowCallbacks?: ("always" | "never");
1917
+ allowConditionalTypes?: ("always" | "never");
1918
+ allowConstructors?: ("always" | "never");
1919
+ allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
1920
+ allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
1921
+ allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
1922
+ allowGenerics?: ("always" | "never");
1923
+ }
1924
+ ];
1925
+ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = [] | [
1926
+ {
1927
+ allowComparingNullableBooleansToTrue?: boolean;
1928
+ allowComparingNullableBooleansToFalse?: boolean;
1929
+ }
1930
+ ];
1931
+ type TypescriptEslintNoUnnecessaryCondition = [] | [
1932
+ {
1933
+ allowConstantLoopConditions?: boolean;
1934
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
1935
+ }
1936
+ ];
1937
+ type TypescriptEslintNoUnnecessaryTypeAssertion = [] | [
1938
+ {
1939
+ typesToIgnore?: string[];
1940
+ }
1941
+ ];
1942
+ type TypescriptEslintNoUnusedExpressions = [] | [
1943
+ {
1944
+ allowShortCircuit?: boolean;
1945
+ allowTernary?: boolean;
1946
+ allowTaggedTemplates?: boolean;
1947
+ enforceForJSX?: boolean;
1948
+ }
1949
+ ];
1950
+ type TypescriptEslintNoUnusedVars = [] | [
1951
+ (("all" | "local") | {
1952
+ vars?: ("all" | "local");
1953
+ varsIgnorePattern?: string;
1954
+ args?: ("all" | "after-used" | "none");
1955
+ ignoreRestSiblings?: boolean;
1956
+ argsIgnorePattern?: string;
1957
+ caughtErrors?: ("all" | "none");
1958
+ caughtErrorsIgnorePattern?: string;
1959
+ destructuredArrayIgnorePattern?: string;
1960
+ })
1961
+ ];
1962
+ type TypescriptEslintNoUseBeforeDefine = [] | [
1963
+ ("nofunc" | {
1964
+ functions?: boolean;
1965
+ classes?: boolean;
1966
+ enums?: boolean;
1967
+ variables?: boolean;
1968
+ typedefs?: boolean;
1969
+ ignoreTypeReferences?: boolean;
1970
+ allowNamedExports?: boolean;
1971
+ })
1972
+ ];
1973
+ type TypescriptEslintNoVarRequires = [] | [
1974
+ {
1975
+ allow?: string[];
1976
+ }
1977
+ ];
1978
+ type TypescriptEslintObjectCurlySpacing = [] | [("always" | "never")] | [
1979
+ ("always" | "never"),
1980
+ {
1981
+ arraysInObjects?: boolean;
1982
+ objectsInObjects?: boolean;
1983
+ }
1984
+ ];
1985
+ type TypescriptEslintOnlyThrowError = [] | [
1986
+ {
1987
+ allowThrowingAny?: boolean;
1988
+ allowThrowingUnknown?: boolean;
1989
+ }
1990
+ ];
1991
+ type _TypescriptEslintPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
1992
+ type _TypescriptEslintPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]]);
1993
+ type TypescriptEslintPaddingLineBetweenStatements = {
1994
+ blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType;
1995
+ prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
1996
+ next: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
1997
+ }[];
1998
+ type TypescriptEslintParameterProperties = [] | [
1999
+ {
2000
+ allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[];
2001
+ prefer?: ("class-property" | "parameter-property");
2002
+ }
2003
+ ];
2004
+ type TypescriptEslintPreferDestructuring = [] | [
2005
+ ({
2006
+ VariableDeclarator?: {
2007
+ array?: boolean;
2008
+ object?: boolean;
2009
+ };
2010
+ AssignmentExpression?: {
2011
+ array?: boolean;
2012
+ object?: boolean;
2013
+ };
2014
+ } | {
2015
+ array?: boolean;
2016
+ object?: boolean;
2017
+ })
2018
+ ] | [
2019
+ ({
2020
+ VariableDeclarator?: {
2021
+ array?: boolean;
2022
+ object?: boolean;
2023
+ };
2024
+ AssignmentExpression?: {
2025
+ array?: boolean;
2026
+ object?: boolean;
2027
+ };
2028
+ } | {
2029
+ array?: boolean;
2030
+ object?: boolean;
2031
+ }),
2032
+ {
2033
+ enforceForRenamedProperties?: boolean;
2034
+ enforceForDeclarationWithTypeAnnotation?: boolean;
2035
+ [k: string]: unknown | undefined;
2036
+ }
2037
+ ];
2038
+ type TypescriptEslintPreferLiteralEnumMember = [] | [
2039
+ {
2040
+ allowBitwiseExpressions?: boolean;
2041
+ }
2042
+ ];
2043
+ type TypescriptEslintPreferNullishCoalescing = [] | [
2044
+ {
2045
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
2046
+ ignoreConditionalTests?: boolean;
2047
+ ignoreMixedLogicalExpressions?: boolean;
2048
+ ignorePrimitives?: ({
2049
+ bigint?: boolean;
2050
+ boolean?: boolean;
2051
+ number?: boolean;
2052
+ string?: boolean;
2053
+ [k: string]: unknown | undefined;
2054
+ } | true);
2055
+ ignoreTernaryTests?: boolean;
2056
+ }
2057
+ ];
2058
+ type TypescriptEslintPreferOptionalChain = [] | [
2059
+ {
2060
+ checkAny?: boolean;
2061
+ checkUnknown?: boolean;
2062
+ checkString?: boolean;
2063
+ checkNumber?: boolean;
2064
+ checkBoolean?: boolean;
2065
+ checkBigInt?: boolean;
2066
+ requireNullish?: boolean;
2067
+ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
2068
+ }
2069
+ ];
2070
+ type TypescriptEslintPreferPromiseRejectErrors = [] | [
2071
+ {
2072
+ allowEmptyReject?: boolean;
2073
+ }
2074
+ ];
2075
+ type TypescriptEslintPreferReadonly = [] | [
2076
+ {
2077
+ onlyInlineLambdas?: boolean;
2078
+ }
2079
+ ];
2080
+ type TypescriptEslintPreferReadonlyParameterTypes = [] | [
2081
+ {
2082
+ allow?: (string | {
2083
+ from: "file";
2084
+ name: (string | [string, ...(string)[]]);
2085
+ path?: string;
2086
+ } | {
2087
+ from: "lib";
2088
+ name: (string | [string, ...(string)[]]);
2089
+ } | {
2090
+ from: "package";
2091
+ name: (string | [string, ...(string)[]]);
2092
+ package: string;
2093
+ })[];
2094
+ checkParameterProperties?: boolean;
2095
+ ignoreInferredTypes?: boolean;
2096
+ treatMethodsAsReadonly?: boolean;
2097
+ }
2098
+ ];
2099
+ type TypescriptEslintPreferStringStartsEndsWith = [] | [
2100
+ {
2101
+ allowSingleElementEquality?: ("always" | "never");
2102
+ }
2103
+ ];
2104
+ type TypescriptEslintPromiseFunctionAsync = [] | [
2105
+ {
2106
+ allowAny?: boolean;
2107
+ allowedPromiseNames?: string[];
2108
+ checkArrowFunctions?: boolean;
2109
+ checkFunctionDeclarations?: boolean;
2110
+ checkFunctionExpressions?: boolean;
2111
+ checkMethodDeclarations?: boolean;
2112
+ }
2113
+ ];
2114
+ type TypescriptEslintQuotes = [] | [("single" | "double" | "backtick")] | [
2115
+ ("single" | "double" | "backtick"),
2116
+ ("avoid-escape" | {
2117
+ avoidEscape?: boolean;
2118
+ allowTemplateLiterals?: boolean;
2119
+ })
2120
+ ];
2121
+ type TypescriptEslintRequireArraySortCompare = [] | [
2122
+ {
2123
+ ignoreStringArrays?: boolean;
2124
+ }
2125
+ ];
2126
+ type TypescriptEslintRestrictPlusOperands = [] | [
2127
+ {
2128
+ allowAny?: boolean;
2129
+ allowBoolean?: boolean;
2130
+ allowNullish?: boolean;
2131
+ allowNumberAndString?: boolean;
2132
+ allowRegExp?: boolean;
2133
+ skipCompoundAssignments?: boolean;
2134
+ }
2135
+ ];
2136
+ type TypescriptEslintRestrictTemplateExpressions = [] | [
2137
+ {
2138
+ allowAny?: boolean;
2139
+ allowArray?: boolean;
2140
+ allowBoolean?: boolean;
2141
+ allowNullish?: boolean;
2142
+ allowNumber?: boolean;
2143
+ allowRegExp?: boolean;
2144
+ allowNever?: boolean;
2145
+ }
2146
+ ];
2147
+ type TypescriptEslintReturnAwait = [] | [("in-try-catch" | "always" | "never")];
2148
+ type TypescriptEslintSemi = ([] | ["never"] | [
2149
+ "never",
2150
+ {
2151
+ beforeStatementContinuationChars?: ("always" | "any" | "never");
2152
+ }
2153
+ ] | [] | ["always"] | [
2154
+ "always",
2155
+ {
2156
+ omitLastInOneLineBlock?: boolean;
2157
+ omitLastInOneLineClassBody?: boolean;
2158
+ }
2159
+ ]);
2160
+ type TypescriptEslintSortTypeConstituents = [] | [
2161
+ {
2162
+ checkIntersections?: boolean;
2163
+ checkUnions?: boolean;
2164
+ caseSensitive?: boolean;
2165
+ groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[];
2166
+ }
2167
+ ];
2168
+ type TypescriptEslintSpaceBeforeBlocks = [] | [
2169
+ (("always" | "never") | {
2170
+ keywords?: ("always" | "never" | "off");
2171
+ functions?: ("always" | "never" | "off");
2172
+ classes?: ("always" | "never" | "off");
2173
+ })
2174
+ ];
2175
+ type TypescriptEslintSpaceBeforeFunctionParen = [] | [
2176
+ (("always" | "never") | {
2177
+ anonymous?: ("always" | "never" | "ignore");
2178
+ named?: ("always" | "never" | "ignore");
2179
+ asyncArrow?: ("always" | "never" | "ignore");
2180
+ })
2181
+ ];
2182
+ type TypescriptEslintSpaceInfixOps = [] | [
2183
+ {
2184
+ int32Hint?: boolean;
2185
+ }
2186
+ ];
2187
+ type TypescriptEslintStrictBooleanExpressions = [] | [
2188
+ {
2189
+ allowString?: boolean;
2190
+ allowNumber?: boolean;
2191
+ allowNullableObject?: boolean;
2192
+ allowNullableBoolean?: boolean;
2193
+ allowNullableString?: boolean;
2194
+ allowNullableNumber?: boolean;
2195
+ allowNullableEnum?: boolean;
2196
+ allowAny?: boolean;
2197
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
2198
+ }
2199
+ ];
2200
+ type TypescriptEslintSwitchExhaustivenessCheck = [] | [
2201
+ {
2202
+ allowDefaultCaseForExhaustiveSwitch?: boolean;
2203
+ requireDefaultForNonUnion?: boolean;
2204
+ }
2205
+ ];
2206
+ type TypescriptEslintTripleSlashReference = [] | [
2207
+ {
2208
+ lib?: ("always" | "never");
2209
+ path?: ("always" | "never");
2210
+ types?: ("always" | "never" | "prefer-import");
2211
+ }
2212
+ ];
2213
+ type TypescriptEslintTypeAnnotationSpacing = [] | [
2214
+ {
2215
+ before?: boolean;
2216
+ after?: boolean;
2217
+ overrides?: {
2218
+ colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2219
+ arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2220
+ variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2221
+ parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2222
+ property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2223
+ returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
2224
+ };
2225
+ }
2226
+ ];
2227
+ interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
2228
+ before?: boolean;
2229
+ after?: boolean;
2230
+ }
2231
+ type TypescriptEslintTypedef = [] | [
2232
+ {
2233
+ arrayDestructuring?: boolean;
2234
+ arrowParameter?: boolean;
2235
+ memberVariableDeclaration?: boolean;
2236
+ objectDestructuring?: boolean;
2237
+ parameter?: boolean;
2238
+ propertyDeclaration?: boolean;
2239
+ variableDeclaration?: boolean;
2240
+ variableDeclarationIgnoreFunction?: boolean;
2241
+ }
2242
+ ];
2243
+ type TypescriptEslintUnboundMethod = [] | [
2244
+ {
2245
+ ignoreStatic?: boolean;
2246
+ }
2247
+ ];
2248
+ type TypescriptEslintUnifiedSignatures = [] | [
2249
+ {
2250
+ ignoreDifferentlyNamedParameters?: boolean;
2251
+ }
2252
+ ];
2253
+ export {};