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