@storm-software/eslint 0.78.3 → 0.78.4

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