@quentinhsu/biome-config 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +44 -0
  2. package/package.json +7 -4
  3. package/dist/build.mjs +0 -387
  4. package/dist/index.jsonc +0 -152
  5. package/dist/index.mjs +0 -357
  6. package/dist/next.jsonc +0 -169
  7. package/dist/nuxt.jsonc +0 -224
  8. package/dist/react.jsonc +0 -167
  9. package/dist/types/scripts/generate-biome-types.d.ts +0 -1
  10. package/dist/types/scripts/generate-changelog.d.ts +0 -6
  11. package/dist/types/src/build.d.ts +0 -1
  12. package/dist/types/src/constants/biome.d.ts +0 -1
  13. package/dist/types/src/generated/biome/index.d.ts +0 -11
  14. package/dist/types/src/generated/biome/no-compare-neg-zero-configuration.d.ts +0 -986
  15. package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +0 -306
  16. package/dist/types/src/generated/biome/no-nested-ternary-options.d.ts +0 -292
  17. package/dist/types/src/generated/biome/no-octal-escape-options.d.ts +0 -1138
  18. package/dist/types/src/generated/biome/no-shadow-configuration.d.ts +0 -241
  19. package/dist/types/src/generated/biome/nursery.d.ts +0 -1023
  20. package/dist/types/src/generated/biome/rule-with-no-duplicate-custom-properties-options.d.ts +0 -1095
  21. package/dist/types/src/generated/biome/rule-with-no-useless-catch-options.d.ts +0 -1430
  22. package/dist/types/src/generated/biome/rule-with-use-image-size-options.d.ts +0 -1339
  23. package/dist/types/src/generated/biome/schema.d.ts +0 -291
  24. package/dist/types/src/generated/biome/use-valid-lang-configuration.d.ts +0 -163
  25. package/dist/types/src/index.d.ts +0 -15
  26. package/dist/types/src/presets/next.d.ts +0 -1
  27. package/dist/types/src/presets/nuxt.d.ts +0 -1
  28. package/dist/types/src/presets/react.d.ts +0 -1
  29. package/dist/types/src/presets/vue.d.ts +0 -1
  30. package/dist/types/src/source/index.d.ts +0 -2
  31. package/dist/types/src/types.d.ts +0 -1
  32. package/dist/types/src/utils/merge.d.ts +0 -2
  33. package/dist/vue.jsonc +0 -176
@@ -1,1430 +0,0 @@
1
- import type { FixKind, NoChildrenPropOptions, NoConstAssignOptions, NoConstantConditionOptions, NoConstantMathMinMaxClampOptions, NoConstructorReturnOptions, NoEmptyCharacterClassInRegexOptions, NoEmptyPatternOptions, NoGlobalDirnameFilenameOptions, NoUselessCatchOptions, NoUselessConstructorOptions, NoUselessContinueOptions, NoUselessEmptyExportOptions, NoUselessEscapeInRegexOptions, NoUselessFragmentsOptions, NoUselessLabelOptions, NoUselessLoneBlockStatementsOptions, NoUselessRenameOptions, NoUselessStringConcatOptions, NoUselessStringRawOptions, NoUselessSwitchCaseOptions, NoUselessTernaryOptions, NoUselessThisAliasOptions, NoUselessTypeConstraintOptions, NoUselessUndefinedInitializationOptions, NoVoidOptions, RulePlainConfiguration, UseArrowFunctionOptions, UseDateNowOptions, UseFlatMapOptions, UseIndexOfOptions, UseLiteralKeysOptions, UseNumericLiteralsOptions, UseOptionalChainOptions, UseRegexLiteralsOptions, UseSimpleNumberKeysOptions, UseSimplifiedLogicExpressionOptions, UseWhileOptions } from './schema.ts';
2
- import type { ConsistentTypeDefinition, CustomRestrictedElements, DependencyAvailability, NoDeprecatedImportsOptions, NoDuplicateDependenciesOptions, NoFloatingPromisesOptions, NoGlobalObjectCallsOptions, NoImportCyclesOptions, NoInnerDeclarationsOptions, NoInvalidBuiltinInstantiationOptions, NoInvalidConstructorSuperOptions, NoInvalidDirectionInLinearGradientOptions, NoInvalidGridAreasOptions, NoInvalidPositionAtImportRuleOptions, NoInvalidUseBeforeDeclarationOptions, NoJsxLiteralsOptions, NoMissingVarFunctionOptions, NoMisusedPromisesOptions, NoNestedComponentDefinitionsOptions, NoNextAsyncClientComponentOptions, NoNodejsModulesOptions, NoNonNullAssertedOptionalChainOptions, NoNonoctalDecimalEscapeOptions, NoPrecisionLossOptions, NoProcessGlobalOptions, NoQwikUseVisibleTaskOptions, NoReactForwardRefOptions, NoReactPropAssignmentsOptions, NoRenderReturnValueOptions, NoSecretsOptions, NoSelfAssignOptions, NoSetterReturnOptions, NoShadowOptions, NoSolidDestructuredPropsOptions, NoStringCaseMismatchOptions, NoSwitchDeclarationsOptions, NoUndeclaredVariablesOptions, NoUnknownFunctionOptions, NoUnknownMediaFeatureNameOptions, NoUnknownPropertyOptions, NoUnknownPseudoClassOptions, NoUnknownPseudoElementOptions, NoUnknownTypeSelectorOptions, NoUnknownUnitOptions, NoUnmatchableAnbSelectorOptions, NoUnnecessaryConditionsOptions, NoUnreachableOptions, NoUnreachableSuperOptions, NoUnresolvedImportsOptions, NoUnsafeFinallyOptions, NoUnsafeOptionalChainingOptions, NoUnusedExpressionsOptions, NoUnusedFunctionParametersOptions, NoUnusedImportsOptions, NoUnusedLabelsOptions, NoUnusedPrivateClassMembersOptions, NoUnusedVariablesOptions, NoUselessCatchBindingOptions, NoUselessUndefinedOptions, NoVoidElementsWithChildrenOptions, NoVoidTypeReturnOptions, NoVueDataObjectDeclarationOptions, NoVueDuplicateKeysOptions, NoVueReservedKeysOptions, NoVueReservedPropsOptions, StableHookResult, UseAnchorHrefOptions, UseConsistentArrowReturnStyle, UseDeprecatedDateOptions, UseExhaustiveSwitchCasesOptions, UseExplicitTypeOptions, UseGraphqlNamedOperationsOptions, UseHookAtTopLevelOptions, UseImportExtensionsOptions, UseIsNanOptions, UseJsonImportAttributesOptions, UseJsxKeyInIterableOptions, UseParseIntRadixOptions, UseSingleJsDocAsteriskOptions, UseUniqueElementIdsOptions, UseValidForDirectionOptions, UseValidTypeofOptions, UseYieldOptions, Visibility } from './no-global-object-calls-options.ts';
3
- export interface RuleWithNoUselessCatchOptions {
4
- /**
5
- * The kind of the code actions emitted by the rule
6
- */
7
- fix?: FixKind | null;
8
- /**
9
- * The severity of the emitted diagnostics by the rule
10
- */
11
- level: RulePlainConfiguration;
12
- /**
13
- * Rule's options
14
- */
15
- options: NoUselessCatchOptions;
16
- }
17
- export interface RuleWithNoUselessConstructorOptions {
18
- /**
19
- * The kind of the code actions emitted by the rule
20
- */
21
- fix?: FixKind | null;
22
- /**
23
- * The severity of the emitted diagnostics by the rule
24
- */
25
- level: RulePlainConfiguration;
26
- /**
27
- * Rule's options
28
- */
29
- options: NoUselessConstructorOptions;
30
- }
31
- export interface RuleWithNoUselessContinueOptions {
32
- /**
33
- * The kind of the code actions emitted by the rule
34
- */
35
- fix?: FixKind | null;
36
- /**
37
- * The severity of the emitted diagnostics by the rule
38
- */
39
- level: RulePlainConfiguration;
40
- /**
41
- * Rule's options
42
- */
43
- options: NoUselessContinueOptions;
44
- }
45
- export interface RuleWithNoUselessEmptyExportOptions {
46
- /**
47
- * The kind of the code actions emitted by the rule
48
- */
49
- fix?: FixKind | null;
50
- /**
51
- * The severity of the emitted diagnostics by the rule
52
- */
53
- level: RulePlainConfiguration;
54
- /**
55
- * Rule's options
56
- */
57
- options: NoUselessEmptyExportOptions;
58
- }
59
- export interface RuleWithNoUselessEscapeInRegexOptions {
60
- /**
61
- * The kind of the code actions emitted by the rule
62
- */
63
- fix?: FixKind | null;
64
- /**
65
- * The severity of the emitted diagnostics by the rule
66
- */
67
- level: RulePlainConfiguration;
68
- /**
69
- * Rule's options
70
- */
71
- options: NoUselessEscapeInRegexOptions;
72
- }
73
- export interface RuleWithNoUselessFragmentsOptions {
74
- /**
75
- * The kind of the code actions emitted by the rule
76
- */
77
- fix?: FixKind | null;
78
- /**
79
- * The severity of the emitted diagnostics by the rule
80
- */
81
- level: RulePlainConfiguration;
82
- /**
83
- * Rule's options
84
- */
85
- options: NoUselessFragmentsOptions;
86
- }
87
- export interface RuleWithNoUselessLabelOptions {
88
- /**
89
- * The kind of the code actions emitted by the rule
90
- */
91
- fix?: FixKind | null;
92
- /**
93
- * The severity of the emitted diagnostics by the rule
94
- */
95
- level: RulePlainConfiguration;
96
- /**
97
- * Rule's options
98
- */
99
- options: NoUselessLabelOptions;
100
- }
101
- export interface RuleWithNoUselessLoneBlockStatementsOptions {
102
- /**
103
- * The kind of the code actions emitted by the rule
104
- */
105
- fix?: FixKind | null;
106
- /**
107
- * The severity of the emitted diagnostics by the rule
108
- */
109
- level: RulePlainConfiguration;
110
- /**
111
- * Rule's options
112
- */
113
- options: NoUselessLoneBlockStatementsOptions;
114
- }
115
- export interface RuleWithNoUselessRenameOptions {
116
- /**
117
- * The kind of the code actions emitted by the rule
118
- */
119
- fix?: FixKind | null;
120
- /**
121
- * The severity of the emitted diagnostics by the rule
122
- */
123
- level: RulePlainConfiguration;
124
- /**
125
- * Rule's options
126
- */
127
- options: NoUselessRenameOptions;
128
- }
129
- export interface RuleWithNoUselessStringConcatOptions {
130
- /**
131
- * The kind of the code actions emitted by the rule
132
- */
133
- fix?: FixKind | null;
134
- /**
135
- * The severity of the emitted diagnostics by the rule
136
- */
137
- level: RulePlainConfiguration;
138
- /**
139
- * Rule's options
140
- */
141
- options: NoUselessStringConcatOptions;
142
- }
143
- export interface RuleWithNoUselessStringRawOptions {
144
- /**
145
- * The severity of the emitted diagnostics by the rule
146
- */
147
- level: RulePlainConfiguration;
148
- /**
149
- * Rule's options
150
- */
151
- options: NoUselessStringRawOptions;
152
- }
153
- export interface RuleWithNoUselessSwitchCaseOptions {
154
- /**
155
- * The kind of the code actions emitted by the rule
156
- */
157
- fix?: FixKind | null;
158
- /**
159
- * The severity of the emitted diagnostics by the rule
160
- */
161
- level: RulePlainConfiguration;
162
- /**
163
- * Rule's options
164
- */
165
- options: NoUselessSwitchCaseOptions;
166
- }
167
- export interface RuleWithNoUselessTernaryOptions {
168
- /**
169
- * The kind of the code actions emitted by the rule
170
- */
171
- fix?: FixKind | null;
172
- /**
173
- * The severity of the emitted diagnostics by the rule
174
- */
175
- level: RulePlainConfiguration;
176
- /**
177
- * Rule's options
178
- */
179
- options: NoUselessTernaryOptions;
180
- }
181
- export interface RuleWithNoUselessThisAliasOptions {
182
- /**
183
- * The kind of the code actions emitted by the rule
184
- */
185
- fix?: FixKind | null;
186
- /**
187
- * The severity of the emitted diagnostics by the rule
188
- */
189
- level: RulePlainConfiguration;
190
- /**
191
- * Rule's options
192
- */
193
- options: NoUselessThisAliasOptions;
194
- }
195
- export interface RuleWithNoUselessTypeConstraintOptions {
196
- /**
197
- * The kind of the code actions emitted by the rule
198
- */
199
- fix?: FixKind | null;
200
- /**
201
- * The severity of the emitted diagnostics by the rule
202
- */
203
- level: RulePlainConfiguration;
204
- /**
205
- * Rule's options
206
- */
207
- options: NoUselessTypeConstraintOptions;
208
- }
209
- export interface RuleWithNoUselessUndefinedInitializationOptions {
210
- /**
211
- * The kind of the code actions emitted by the rule
212
- */
213
- fix?: FixKind | null;
214
- /**
215
- * The severity of the emitted diagnostics by the rule
216
- */
217
- level: RulePlainConfiguration;
218
- /**
219
- * Rule's options
220
- */
221
- options: NoUselessUndefinedInitializationOptions;
222
- }
223
- export interface RuleWithNoVoidOptions {
224
- /**
225
- * The severity of the emitted diagnostics by the rule
226
- */
227
- level: RulePlainConfiguration;
228
- /**
229
- * Rule's options
230
- */
231
- options: NoVoidOptions;
232
- }
233
- export interface RuleWithUseArrowFunctionOptions {
234
- /**
235
- * The kind of the code actions emitted by the rule
236
- */
237
- fix?: FixKind | null;
238
- /**
239
- * The severity of the emitted diagnostics by the rule
240
- */
241
- level: RulePlainConfiguration;
242
- /**
243
- * Rule's options
244
- */
245
- options: UseArrowFunctionOptions;
246
- }
247
- export interface RuleWithUseDateNowOptions {
248
- /**
249
- * The kind of the code actions emitted by the rule
250
- */
251
- fix?: FixKind | null;
252
- /**
253
- * The severity of the emitted diagnostics by the rule
254
- */
255
- level: RulePlainConfiguration;
256
- /**
257
- * Rule's options
258
- */
259
- options: UseDateNowOptions;
260
- }
261
- export interface RuleWithUseFlatMapOptions {
262
- /**
263
- * The kind of the code actions emitted by the rule
264
- */
265
- fix?: FixKind | null;
266
- /**
267
- * The severity of the emitted diagnostics by the rule
268
- */
269
- level: RulePlainConfiguration;
270
- /**
271
- * Rule's options
272
- */
273
- options: UseFlatMapOptions;
274
- }
275
- export interface RuleWithUseIndexOfOptions {
276
- /**
277
- * The kind of the code actions emitted by the rule
278
- */
279
- fix?: FixKind | null;
280
- /**
281
- * The severity of the emitted diagnostics by the rule
282
- */
283
- level: RulePlainConfiguration;
284
- /**
285
- * Rule's options
286
- */
287
- options: UseIndexOfOptions;
288
- }
289
- export interface RuleWithUseLiteralKeysOptions {
290
- /**
291
- * The kind of the code actions emitted by the rule
292
- */
293
- fix?: FixKind | null;
294
- /**
295
- * The severity of the emitted diagnostics by the rule
296
- */
297
- level: RulePlainConfiguration;
298
- /**
299
- * Rule's options
300
- */
301
- options: UseLiteralKeysOptions;
302
- }
303
- export interface RuleWithUseNumericLiteralsOptions {
304
- /**
305
- * The kind of the code actions emitted by the rule
306
- */
307
- fix?: FixKind | null;
308
- /**
309
- * The severity of the emitted diagnostics by the rule
310
- */
311
- level: RulePlainConfiguration;
312
- /**
313
- * Rule's options
314
- */
315
- options: UseNumericLiteralsOptions;
316
- }
317
- export interface RuleWithUseOptionalChainOptions {
318
- /**
319
- * The kind of the code actions emitted by the rule
320
- */
321
- fix?: FixKind | null;
322
- /**
323
- * The severity of the emitted diagnostics by the rule
324
- */
325
- level: RulePlainConfiguration;
326
- /**
327
- * Rule's options
328
- */
329
- options: UseOptionalChainOptions;
330
- }
331
- export interface RuleWithUseRegexLiteralsOptions {
332
- /**
333
- * The kind of the code actions emitted by the rule
334
- */
335
- fix?: FixKind | null;
336
- /**
337
- * The severity of the emitted diagnostics by the rule
338
- */
339
- level: RulePlainConfiguration;
340
- /**
341
- * Rule's options
342
- */
343
- options: UseRegexLiteralsOptions;
344
- }
345
- export interface RuleWithUseSimpleNumberKeysOptions {
346
- /**
347
- * The kind of the code actions emitted by the rule
348
- */
349
- fix?: FixKind | null;
350
- /**
351
- * The severity of the emitted diagnostics by the rule
352
- */
353
- level: RulePlainConfiguration;
354
- /**
355
- * Rule's options
356
- */
357
- options: UseSimpleNumberKeysOptions;
358
- }
359
- export interface RuleWithUseSimplifiedLogicExpressionOptions {
360
- /**
361
- * The kind of the code actions emitted by the rule
362
- */
363
- fix?: FixKind | null;
364
- /**
365
- * The severity of the emitted diagnostics by the rule
366
- */
367
- level: RulePlainConfiguration;
368
- /**
369
- * Rule's options
370
- */
371
- options: UseSimplifiedLogicExpressionOptions;
372
- }
373
- export interface RuleWithUseWhileOptions {
374
- /**
375
- * The kind of the code actions emitted by the rule
376
- */
377
- fix?: FixKind | null;
378
- /**
379
- * The severity of the emitted diagnostics by the rule
380
- */
381
- level: RulePlainConfiguration;
382
- /**
383
- * Rule's options
384
- */
385
- options: UseWhileOptions;
386
- }
387
- export interface RuleWithNoChildrenPropOptions {
388
- /**
389
- * The severity of the emitted diagnostics by the rule
390
- */
391
- level: RulePlainConfiguration;
392
- /**
393
- * Rule's options
394
- */
395
- options: NoChildrenPropOptions;
396
- }
397
- export interface RuleWithNoConstAssignOptions {
398
- /**
399
- * The kind of the code actions emitted by the rule
400
- */
401
- fix?: FixKind | null;
402
- /**
403
- * The severity of the emitted diagnostics by the rule
404
- */
405
- level: RulePlainConfiguration;
406
- /**
407
- * Rule's options
408
- */
409
- options: NoConstAssignOptions;
410
- }
411
- export interface RuleWithNoConstantConditionOptions {
412
- /**
413
- * The severity of the emitted diagnostics by the rule
414
- */
415
- level: RulePlainConfiguration;
416
- /**
417
- * Rule's options
418
- */
419
- options: NoConstantConditionOptions;
420
- }
421
- export interface RuleWithNoConstantMathMinMaxClampOptions {
422
- /**
423
- * The kind of the code actions emitted by the rule
424
- */
425
- fix?: FixKind | null;
426
- /**
427
- * The severity of the emitted diagnostics by the rule
428
- */
429
- level: RulePlainConfiguration;
430
- /**
431
- * Rule's options
432
- */
433
- options: NoConstantMathMinMaxClampOptions;
434
- }
435
- export interface RuleWithNoConstructorReturnOptions {
436
- /**
437
- * The severity of the emitted diagnostics by the rule
438
- */
439
- level: RulePlainConfiguration;
440
- /**
441
- * Rule's options
442
- */
443
- options: NoConstructorReturnOptions;
444
- }
445
- export interface RuleWithNoEmptyCharacterClassInRegexOptions {
446
- /**
447
- * The severity of the emitted diagnostics by the rule
448
- */
449
- level: RulePlainConfiguration;
450
- /**
451
- * Rule's options
452
- */
453
- options: NoEmptyCharacterClassInRegexOptions;
454
- }
455
- export interface RuleWithNoEmptyPatternOptions {
456
- /**
457
- * The severity of the emitted diagnostics by the rule
458
- */
459
- level: RulePlainConfiguration;
460
- /**
461
- * Rule's options
462
- */
463
- options: NoEmptyPatternOptions;
464
- }
465
- export interface RuleWithNoGlobalDirnameFilenameOptions {
466
- /**
467
- * The kind of the code actions emitted by the rule
468
- */
469
- fix?: FixKind | null;
470
- /**
471
- * The severity of the emitted diagnostics by the rule
472
- */
473
- level: RulePlainConfiguration;
474
- /**
475
- * Rule's options
476
- */
477
- options: NoGlobalDirnameFilenameOptions;
478
- }
479
- export interface RuleWithNoGlobalObjectCallsOptions {
480
- /**
481
- * The severity of the emitted diagnostics by the rule
482
- */
483
- level: RulePlainConfiguration;
484
- /**
485
- * Rule's options
486
- */
487
- options: NoGlobalObjectCallsOptions;
488
- }
489
- export interface RuleWithNoInnerDeclarationsOptions {
490
- /**
491
- * The severity of the emitted diagnostics by the rule
492
- */
493
- level: RulePlainConfiguration;
494
- /**
495
- * Rule's options
496
- */
497
- options: NoInnerDeclarationsOptions;
498
- }
499
- export interface RuleWithNoInvalidBuiltinInstantiationOptions {
500
- /**
501
- * The kind of the code actions emitted by the rule
502
- */
503
- fix?: FixKind | null;
504
- /**
505
- * The severity of the emitted diagnostics by the rule
506
- */
507
- level: RulePlainConfiguration;
508
- /**
509
- * Rule's options
510
- */
511
- options: NoInvalidBuiltinInstantiationOptions;
512
- }
513
- export interface RuleWithNoInvalidConstructorSuperOptions {
514
- /**
515
- * The severity of the emitted diagnostics by the rule
516
- */
517
- level: RulePlainConfiguration;
518
- /**
519
- * Rule's options
520
- */
521
- options: NoInvalidConstructorSuperOptions;
522
- }
523
- export interface RuleWithNoInvalidDirectionInLinearGradientOptions {
524
- /**
525
- * The severity of the emitted diagnostics by the rule
526
- */
527
- level: RulePlainConfiguration;
528
- /**
529
- * Rule's options
530
- */
531
- options: NoInvalidDirectionInLinearGradientOptions;
532
- }
533
- export interface RuleWithNoInvalidGridAreasOptions {
534
- /**
535
- * The severity of the emitted diagnostics by the rule
536
- */
537
- level: RulePlainConfiguration;
538
- /**
539
- * Rule's options
540
- */
541
- options: NoInvalidGridAreasOptions;
542
- }
543
- export interface RuleWithNoInvalidPositionAtImportRuleOptions {
544
- /**
545
- * The severity of the emitted diagnostics by the rule
546
- */
547
- level: RulePlainConfiguration;
548
- /**
549
- * Rule's options
550
- */
551
- options: NoInvalidPositionAtImportRuleOptions;
552
- }
553
- export interface RuleWithNoInvalidUseBeforeDeclarationOptions {
554
- /**
555
- * The severity of the emitted diagnostics by the rule
556
- */
557
- level: RulePlainConfiguration;
558
- /**
559
- * Rule's options
560
- */
561
- options: NoInvalidUseBeforeDeclarationOptions;
562
- }
563
- export interface RuleWithNoMissingVarFunctionOptions {
564
- /**
565
- * The severity of the emitted diagnostics by the rule
566
- */
567
- level: RulePlainConfiguration;
568
- /**
569
- * Rule's options
570
- */
571
- options: NoMissingVarFunctionOptions;
572
- }
573
- export interface RuleWithNoNestedComponentDefinitionsOptions {
574
- /**
575
- * The severity of the emitted diagnostics by the rule
576
- */
577
- level: RulePlainConfiguration;
578
- /**
579
- * Rule's options
580
- */
581
- options: NoNestedComponentDefinitionsOptions;
582
- }
583
- export interface RuleWithNoNodejsModulesOptions {
584
- /**
585
- * The severity of the emitted diagnostics by the rule
586
- */
587
- level: RulePlainConfiguration;
588
- /**
589
- * Rule's options
590
- */
591
- options: NoNodejsModulesOptions;
592
- }
593
- export interface RuleWithNoNonoctalDecimalEscapeOptions {
594
- /**
595
- * The kind of the code actions emitted by the rule
596
- */
597
- fix?: FixKind | null;
598
- /**
599
- * The severity of the emitted diagnostics by the rule
600
- */
601
- level: RulePlainConfiguration;
602
- /**
603
- * Rule's options
604
- */
605
- options: NoNonoctalDecimalEscapeOptions;
606
- }
607
- export interface RuleWithNoPrecisionLossOptions {
608
- /**
609
- * The severity of the emitted diagnostics by the rule
610
- */
611
- level: RulePlainConfiguration;
612
- /**
613
- * Rule's options
614
- */
615
- options: NoPrecisionLossOptions;
616
- }
617
- export interface NoPrivateImportsOptions {
618
- /**
619
- * The default visibility to assume for symbols without visibility tag.
620
- *
621
- * Default: **public**.
622
- */
623
- defaultVisibility?: Visibility & string;
624
- }
625
- export interface RuleWithNoProcessGlobalOptions {
626
- /**
627
- * The kind of the code actions emitted by the rule
628
- */
629
- fix?: FixKind | null;
630
- /**
631
- * The severity of the emitted diagnostics by the rule
632
- */
633
- level: RulePlainConfiguration;
634
- /**
635
- * Rule's options
636
- */
637
- options: NoProcessGlobalOptions;
638
- }
639
- export interface RuleWithNoReactPropAssignmentsOptions {
640
- /**
641
- * The severity of the emitted diagnostics by the rule
642
- */
643
- level: RulePlainConfiguration;
644
- /**
645
- * Rule's options
646
- */
647
- options: NoReactPropAssignmentsOptions;
648
- }
649
- export interface RuleWithNoRenderReturnValueOptions {
650
- /**
651
- * The severity of the emitted diagnostics by the rule
652
- */
653
- level: RulePlainConfiguration;
654
- /**
655
- * Rule's options
656
- */
657
- options: NoRenderReturnValueOptions;
658
- }
659
- export interface NoRestrictedElementsOptions {
660
- /**
661
- * Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
662
- */
663
- elements?: CustomRestrictedElements;
664
- }
665
- export interface RuleWithNoSelfAssignOptions {
666
- /**
667
- * The severity of the emitted diagnostics by the rule
668
- */
669
- level: RulePlainConfiguration;
670
- /**
671
- * Rule's options
672
- */
673
- options: NoSelfAssignOptions;
674
- }
675
- export interface RuleWithNoSetterReturnOptions {
676
- /**
677
- * The severity of the emitted diagnostics by the rule
678
- */
679
- level: RulePlainConfiguration;
680
- /**
681
- * Rule's options
682
- */
683
- options: NoSetterReturnOptions;
684
- }
685
- export interface RuleWithNoSolidDestructuredPropsOptions {
686
- /**
687
- * The severity of the emitted diagnostics by the rule
688
- */
689
- level: RulePlainConfiguration;
690
- /**
691
- * Rule's options
692
- */
693
- options: NoSolidDestructuredPropsOptions;
694
- }
695
- export interface RuleWithNoStringCaseMismatchOptions {
696
- /**
697
- * The kind of the code actions emitted by the rule
698
- */
699
- fix?: FixKind | null;
700
- /**
701
- * The severity of the emitted diagnostics by the rule
702
- */
703
- level: RulePlainConfiguration;
704
- /**
705
- * Rule's options
706
- */
707
- options: NoStringCaseMismatchOptions;
708
- }
709
- export interface RuleWithNoSwitchDeclarationsOptions {
710
- /**
711
- * The kind of the code actions emitted by the rule
712
- */
713
- fix?: FixKind | null;
714
- /**
715
- * The severity of the emitted diagnostics by the rule
716
- */
717
- level: RulePlainConfiguration;
718
- /**
719
- * Rule's options
720
- */
721
- options: NoSwitchDeclarationsOptions;
722
- }
723
- export interface NoUndeclaredDependenciesOptions {
724
- /**
725
- * If set to `false`, then the rule will show an error when `devDependencies` are imported. Defaults to `true`.
726
- */
727
- devDependencies?: DependencyAvailability & boolean;
728
- /**
729
- * If set to `false`, then the rule will show an error when `optionalDependencies` are imported. Defaults to `true`.
730
- */
731
- optionalDependencies?: DependencyAvailability & boolean;
732
- /**
733
- * If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `true`.
734
- */
735
- peerDependencies?: DependencyAvailability & boolean;
736
- }
737
- export interface RuleWithNoUndeclaredVariablesOptions {
738
- /**
739
- * The severity of the emitted diagnostics by the rule
740
- */
741
- level: RulePlainConfiguration;
742
- /**
743
- * Rule's options
744
- */
745
- options: NoUndeclaredVariablesOptions;
746
- }
747
- export interface RuleWithNoUnknownFunctionOptions {
748
- /**
749
- * The severity of the emitted diagnostics by the rule
750
- */
751
- level: RulePlainConfiguration;
752
- /**
753
- * Rule's options
754
- */
755
- options: NoUnknownFunctionOptions;
756
- }
757
- export interface RuleWithNoUnknownMediaFeatureNameOptions {
758
- /**
759
- * The severity of the emitted diagnostics by the rule
760
- */
761
- level: RulePlainConfiguration;
762
- /**
763
- * Rule's options
764
- */
765
- options: NoUnknownMediaFeatureNameOptions;
766
- }
767
- export interface RuleWithNoUnknownPropertyOptions {
768
- /**
769
- * The severity of the emitted diagnostics by the rule
770
- */
771
- level: RulePlainConfiguration;
772
- /**
773
- * Rule's options
774
- */
775
- options: NoUnknownPropertyOptions;
776
- }
777
- export interface RuleWithNoUnknownPseudoClassOptions {
778
- /**
779
- * The severity of the emitted diagnostics by the rule
780
- */
781
- level: RulePlainConfiguration;
782
- /**
783
- * Rule's options
784
- */
785
- options: NoUnknownPseudoClassOptions;
786
- }
787
- export interface RuleWithNoUnknownPseudoElementOptions {
788
- /**
789
- * The severity of the emitted diagnostics by the rule
790
- */
791
- level: RulePlainConfiguration;
792
- /**
793
- * Rule's options
794
- */
795
- options: NoUnknownPseudoElementOptions;
796
- }
797
- export interface RuleWithNoUnknownTypeSelectorOptions {
798
- /**
799
- * The severity of the emitted diagnostics by the rule
800
- */
801
- level: RulePlainConfiguration;
802
- /**
803
- * Rule's options
804
- */
805
- options: NoUnknownTypeSelectorOptions;
806
- }
807
- export interface RuleWithNoUnknownUnitOptions {
808
- /**
809
- * The severity of the emitted diagnostics by the rule
810
- */
811
- level: RulePlainConfiguration;
812
- /**
813
- * Rule's options
814
- */
815
- options: NoUnknownUnitOptions;
816
- }
817
- export interface RuleWithNoUnmatchableAnbSelectorOptions {
818
- /**
819
- * The severity of the emitted diagnostics by the rule
820
- */
821
- level: RulePlainConfiguration;
822
- /**
823
- * Rule's options
824
- */
825
- options: NoUnmatchableAnbSelectorOptions;
826
- }
827
- export interface RuleWithNoUnreachableOptions {
828
- /**
829
- * The severity of the emitted diagnostics by the rule
830
- */
831
- level: RulePlainConfiguration;
832
- /**
833
- * Rule's options
834
- */
835
- options: NoUnreachableOptions;
836
- }
837
- export interface RuleWithNoUnreachableSuperOptions {
838
- /**
839
- * The severity of the emitted diagnostics by the rule
840
- */
841
- level: RulePlainConfiguration;
842
- /**
843
- * Rule's options
844
- */
845
- options: NoUnreachableSuperOptions;
846
- }
847
- export interface RuleWithNoUnsafeFinallyOptions {
848
- /**
849
- * The severity of the emitted diagnostics by the rule
850
- */
851
- level: RulePlainConfiguration;
852
- /**
853
- * Rule's options
854
- */
855
- options: NoUnsafeFinallyOptions;
856
- }
857
- export interface RuleWithNoUnsafeOptionalChainingOptions {
858
- /**
859
- * The severity of the emitted diagnostics by the rule
860
- */
861
- level: RulePlainConfiguration;
862
- /**
863
- * Rule's options
864
- */
865
- options: NoUnsafeOptionalChainingOptions;
866
- }
867
- export interface RuleWithNoUnusedFunctionParametersOptions {
868
- /**
869
- * The kind of the code actions emitted by the rule
870
- */
871
- fix?: FixKind | null;
872
- /**
873
- * The severity of the emitted diagnostics by the rule
874
- */
875
- level: RulePlainConfiguration;
876
- /**
877
- * Rule's options
878
- */
879
- options: NoUnusedFunctionParametersOptions;
880
- }
881
- export interface RuleWithNoUnusedImportsOptions {
882
- /**
883
- * The kind of the code actions emitted by the rule
884
- */
885
- fix?: FixKind | null;
886
- /**
887
- * The severity of the emitted diagnostics by the rule
888
- */
889
- level: RulePlainConfiguration;
890
- /**
891
- * Rule's options
892
- */
893
- options: NoUnusedImportsOptions;
894
- }
895
- export interface RuleWithNoUnusedLabelsOptions {
896
- /**
897
- * The kind of the code actions emitted by the rule
898
- */
899
- fix?: FixKind | null;
900
- /**
901
- * The severity of the emitted diagnostics by the rule
902
- */
903
- level: RulePlainConfiguration;
904
- /**
905
- * Rule's options
906
- */
907
- options: NoUnusedLabelsOptions;
908
- }
909
- export interface RuleWithNoUnusedPrivateClassMembersOptions {
910
- /**
911
- * The kind of the code actions emitted by the rule
912
- */
913
- fix?: FixKind | null;
914
- /**
915
- * The severity of the emitted diagnostics by the rule
916
- */
917
- level: RulePlainConfiguration;
918
- /**
919
- * Rule's options
920
- */
921
- options: NoUnusedPrivateClassMembersOptions;
922
- }
923
- export interface RuleWithNoUnusedVariablesOptions {
924
- /**
925
- * The kind of the code actions emitted by the rule
926
- */
927
- fix?: FixKind | null;
928
- /**
929
- * The severity of the emitted diagnostics by the rule
930
- */
931
- level: RulePlainConfiguration;
932
- /**
933
- * Rule's options
934
- */
935
- options: NoUnusedVariablesOptions;
936
- }
937
- export interface RuleWithNoVoidElementsWithChildrenOptions {
938
- /**
939
- * The kind of the code actions emitted by the rule
940
- */
941
- fix?: FixKind | null;
942
- /**
943
- * The severity of the emitted diagnostics by the rule
944
- */
945
- level: RulePlainConfiguration;
946
- /**
947
- * Rule's options
948
- */
949
- options: NoVoidElementsWithChildrenOptions;
950
- }
951
- export interface RuleWithNoVoidTypeReturnOptions {
952
- /**
953
- * The severity of the emitted diagnostics by the rule
954
- */
955
- level: RulePlainConfiguration;
956
- /**
957
- * Rule's options
958
- */
959
- options: NoVoidTypeReturnOptions;
960
- }
961
- export interface Hook {
962
- /**
963
- * The "position" of the closure function, starting from zero.
964
- *
965
- * For example, for React's `useEffect()` hook, the closure index is 0.
966
- */
967
- closureIndex?: number | null;
968
- /**
969
- * The "position" of the array of dependencies, starting from zero.
970
- *
971
- * For example, for React's `useEffect()` hook, the dependencies index is 1.
972
- */
973
- dependenciesIndex?: number | null;
974
- /**
975
- * The name of the hook.
976
- */
977
- name?: string;
978
- /**
979
- * Whether the result of the hook is stable.
980
- *
981
- * Set to `true` to mark the identity of the hook's return value as stable, or use a number/an array of numbers to mark the "positions" in the return array as stable.
982
- *
983
- * For example, for React's `useRef()` hook the value would be `true`, while for `useState()` it would be `[1]`.
984
- */
985
- stableResult?: StableHookResult | null;
986
- }
987
- export interface RuleWithUseGraphqlNamedOperationsOptions {
988
- /**
989
- * The kind of the code actions emitted by the rule
990
- */
991
- fix?: FixKind | null;
992
- /**
993
- * The severity of the emitted diagnostics by the rule
994
- */
995
- level: RulePlainConfiguration;
996
- /**
997
- * Rule's options
998
- */
999
- options: UseGraphqlNamedOperationsOptions;
1000
- }
1001
- export interface RuleWithUseHookAtTopLevelOptions {
1002
- /**
1003
- * The severity of the emitted diagnostics by the rule
1004
- */
1005
- level: RulePlainConfiguration;
1006
- /**
1007
- * Rule's options
1008
- */
1009
- options: UseHookAtTopLevelOptions;
1010
- }
1011
- export interface RuleWithUseImportExtensionsOptions {
1012
- /**
1013
- * The kind of the code actions emitted by the rule
1014
- */
1015
- fix?: FixKind | null;
1016
- /**
1017
- * The severity of the emitted diagnostics by the rule
1018
- */
1019
- level: RulePlainConfiguration;
1020
- /**
1021
- * Rule's options
1022
- */
1023
- options: UseImportExtensionsOptions;
1024
- }
1025
- export interface RuleWithUseIsNanOptions {
1026
- /**
1027
- * The kind of the code actions emitted by the rule
1028
- */
1029
- fix?: FixKind | null;
1030
- /**
1031
- * The severity of the emitted diagnostics by the rule
1032
- */
1033
- level: RulePlainConfiguration;
1034
- /**
1035
- * Rule's options
1036
- */
1037
- options: UseIsNanOptions;
1038
- }
1039
- export interface RuleWithUseJsonImportAttributesOptions {
1040
- /**
1041
- * The kind of the code actions emitted by the rule
1042
- */
1043
- fix?: FixKind | null;
1044
- /**
1045
- * The severity of the emitted diagnostics by the rule
1046
- */
1047
- level: RulePlainConfiguration;
1048
- /**
1049
- * Rule's options
1050
- */
1051
- options: UseJsonImportAttributesOptions;
1052
- }
1053
- export interface RuleWithUseJsxKeyInIterableOptions {
1054
- /**
1055
- * The severity of the emitted diagnostics by the rule
1056
- */
1057
- level: RulePlainConfiguration;
1058
- /**
1059
- * Rule's options
1060
- */
1061
- options: UseJsxKeyInIterableOptions;
1062
- }
1063
- export interface RuleWithUseParseIntRadixOptions {
1064
- /**
1065
- * The kind of the code actions emitted by the rule
1066
- */
1067
- fix?: FixKind | null;
1068
- /**
1069
- * The severity of the emitted diagnostics by the rule
1070
- */
1071
- level: RulePlainConfiguration;
1072
- /**
1073
- * Rule's options
1074
- */
1075
- options: UseParseIntRadixOptions;
1076
- }
1077
- export interface RuleWithUseSingleJsDocAsteriskOptions {
1078
- /**
1079
- * The kind of the code actions emitted by the rule
1080
- */
1081
- fix?: FixKind | null;
1082
- /**
1083
- * The severity of the emitted diagnostics by the rule
1084
- */
1085
- level: RulePlainConfiguration;
1086
- /**
1087
- * Rule's options
1088
- */
1089
- options: UseSingleJsDocAsteriskOptions;
1090
- }
1091
- export interface RuleWithUseUniqueElementIdsOptions {
1092
- /**
1093
- * The severity of the emitted diagnostics by the rule
1094
- */
1095
- level: RulePlainConfiguration;
1096
- /**
1097
- * Rule's options
1098
- */
1099
- options: UseUniqueElementIdsOptions;
1100
- }
1101
- export interface RuleWithUseValidForDirectionOptions {
1102
- /**
1103
- * The severity of the emitted diagnostics by the rule
1104
- */
1105
- level: RulePlainConfiguration;
1106
- /**
1107
- * Rule's options
1108
- */
1109
- options: UseValidForDirectionOptions;
1110
- }
1111
- export interface RuleWithUseValidTypeofOptions {
1112
- /**
1113
- * The kind of the code actions emitted by the rule
1114
- */
1115
- fix?: FixKind | null;
1116
- /**
1117
- * The severity of the emitted diagnostics by the rule
1118
- */
1119
- level: RulePlainConfiguration;
1120
- /**
1121
- * Rule's options
1122
- */
1123
- options: UseValidTypeofOptions;
1124
- }
1125
- export interface RuleWithUseYieldOptions {
1126
- /**
1127
- * The severity of the emitted diagnostics by the rule
1128
- */
1129
- level: RulePlainConfiguration;
1130
- /**
1131
- * Rule's options
1132
- */
1133
- options: UseYieldOptions;
1134
- }
1135
- export interface RuleWithNoDeprecatedImportsOptions {
1136
- /**
1137
- * The severity of the emitted diagnostics by the rule
1138
- */
1139
- level: RulePlainConfiguration;
1140
- /**
1141
- * Rule's options
1142
- */
1143
- options: NoDeprecatedImportsOptions;
1144
- }
1145
- export interface RuleWithNoDuplicateDependenciesOptions {
1146
- /**
1147
- * The severity of the emitted diagnostics by the rule
1148
- */
1149
- level: RulePlainConfiguration;
1150
- /**
1151
- * Rule's options
1152
- */
1153
- options: NoDuplicateDependenciesOptions;
1154
- }
1155
- export interface RuleWithNoFloatingPromisesOptions {
1156
- /**
1157
- * The kind of the code actions emitted by the rule
1158
- */
1159
- fix?: FixKind | null;
1160
- /**
1161
- * The severity of the emitted diagnostics by the rule
1162
- */
1163
- level: RulePlainConfiguration;
1164
- /**
1165
- * Rule's options
1166
- */
1167
- options: NoFloatingPromisesOptions;
1168
- }
1169
- export interface RuleWithNoImportCyclesOptions {
1170
- /**
1171
- * The severity of the emitted diagnostics by the rule
1172
- */
1173
- level: RulePlainConfiguration;
1174
- /**
1175
- * Rule's options
1176
- */
1177
- options: NoImportCyclesOptions;
1178
- }
1179
- export interface RuleWithNoJsxLiteralsOptions {
1180
- /**
1181
- * The severity of the emitted diagnostics by the rule
1182
- */
1183
- level: RulePlainConfiguration;
1184
- /**
1185
- * Rule's options
1186
- */
1187
- options: NoJsxLiteralsOptions;
1188
- }
1189
- export interface RuleWithNoMisusedPromisesOptions {
1190
- /**
1191
- * The kind of the code actions emitted by the rule
1192
- */
1193
- fix?: FixKind | null;
1194
- /**
1195
- * The severity of the emitted diagnostics by the rule
1196
- */
1197
- level: RulePlainConfiguration;
1198
- /**
1199
- * Rule's options
1200
- */
1201
- options: NoMisusedPromisesOptions;
1202
- }
1203
- export interface RuleWithNoNextAsyncClientComponentOptions {
1204
- /**
1205
- * The severity of the emitted diagnostics by the rule
1206
- */
1207
- level: RulePlainConfiguration;
1208
- /**
1209
- * Rule's options
1210
- */
1211
- options: NoNextAsyncClientComponentOptions;
1212
- }
1213
- export interface RuleWithNoNonNullAssertedOptionalChainOptions {
1214
- /**
1215
- * The severity of the emitted diagnostics by the rule
1216
- */
1217
- level: RulePlainConfiguration;
1218
- /**
1219
- * Rule's options
1220
- */
1221
- options: NoNonNullAssertedOptionalChainOptions;
1222
- }
1223
- export interface RuleWithNoQwikUseVisibleTaskOptions {
1224
- /**
1225
- * The severity of the emitted diagnostics by the rule
1226
- */
1227
- level: RulePlainConfiguration;
1228
- /**
1229
- * Rule's options
1230
- */
1231
- options: NoQwikUseVisibleTaskOptions;
1232
- }
1233
- export interface RuleWithNoReactForwardRefOptions {
1234
- /**
1235
- * The kind of the code actions emitted by the rule
1236
- */
1237
- fix?: FixKind | null;
1238
- /**
1239
- * The severity of the emitted diagnostics by the rule
1240
- */
1241
- level: RulePlainConfiguration;
1242
- /**
1243
- * Rule's options
1244
- */
1245
- options: NoReactForwardRefOptions;
1246
- }
1247
- export interface RuleWithNoSecretsOptions {
1248
- /**
1249
- * The severity of the emitted diagnostics by the rule
1250
- */
1251
- level: RulePlainConfiguration;
1252
- /**
1253
- * Rule's options
1254
- */
1255
- options: NoSecretsOptions;
1256
- }
1257
- export interface RuleWithNoShadowOptions {
1258
- /**
1259
- * The severity of the emitted diagnostics by the rule
1260
- */
1261
- level: RulePlainConfiguration;
1262
- /**
1263
- * Rule's options
1264
- */
1265
- options: NoShadowOptions;
1266
- }
1267
- export interface RuleWithNoUnnecessaryConditionsOptions {
1268
- /**
1269
- * The severity of the emitted diagnostics by the rule
1270
- */
1271
- level: RulePlainConfiguration;
1272
- /**
1273
- * Rule's options
1274
- */
1275
- options: NoUnnecessaryConditionsOptions;
1276
- }
1277
- export interface RuleWithNoUnresolvedImportsOptions {
1278
- /**
1279
- * The severity of the emitted diagnostics by the rule
1280
- */
1281
- level: RulePlainConfiguration;
1282
- /**
1283
- * Rule's options
1284
- */
1285
- options: NoUnresolvedImportsOptions;
1286
- }
1287
- export interface RuleWithNoUnusedExpressionsOptions {
1288
- /**
1289
- * The severity of the emitted diagnostics by the rule
1290
- */
1291
- level: RulePlainConfiguration;
1292
- /**
1293
- * Rule's options
1294
- */
1295
- options: NoUnusedExpressionsOptions;
1296
- }
1297
- export interface RuleWithNoUselessCatchBindingOptions {
1298
- /**
1299
- * The kind of the code actions emitted by the rule
1300
- */
1301
- fix?: FixKind | null;
1302
- /**
1303
- * The severity of the emitted diagnostics by the rule
1304
- */
1305
- level: RulePlainConfiguration;
1306
- /**
1307
- * Rule's options
1308
- */
1309
- options: NoUselessCatchBindingOptions;
1310
- }
1311
- export interface RuleWithNoUselessUndefinedOptions {
1312
- /**
1313
- * The kind of the code actions emitted by the rule
1314
- */
1315
- fix?: FixKind | null;
1316
- /**
1317
- * The severity of the emitted diagnostics by the rule
1318
- */
1319
- level: RulePlainConfiguration;
1320
- /**
1321
- * Rule's options
1322
- */
1323
- options: NoUselessUndefinedOptions;
1324
- }
1325
- export interface RuleWithNoVueDataObjectDeclarationOptions {
1326
- /**
1327
- * The kind of the code actions emitted by the rule
1328
- */
1329
- fix?: FixKind | null;
1330
- /**
1331
- * The severity of the emitted diagnostics by the rule
1332
- */
1333
- level: RulePlainConfiguration;
1334
- /**
1335
- * Rule's options
1336
- */
1337
- options: NoVueDataObjectDeclarationOptions;
1338
- }
1339
- export interface RuleWithNoVueDuplicateKeysOptions {
1340
- /**
1341
- * The severity of the emitted diagnostics by the rule
1342
- */
1343
- level: RulePlainConfiguration;
1344
- /**
1345
- * Rule's options
1346
- */
1347
- options: NoVueDuplicateKeysOptions;
1348
- }
1349
- export interface RuleWithNoVueReservedKeysOptions {
1350
- /**
1351
- * The severity of the emitted diagnostics by the rule
1352
- */
1353
- level: RulePlainConfiguration;
1354
- /**
1355
- * Rule's options
1356
- */
1357
- options: NoVueReservedKeysOptions;
1358
- }
1359
- export interface RuleWithNoVueReservedPropsOptions {
1360
- /**
1361
- * The severity of the emitted diagnostics by the rule
1362
- */
1363
- level: RulePlainConfiguration;
1364
- /**
1365
- * Rule's options
1366
- */
1367
- options: NoVueReservedPropsOptions;
1368
- }
1369
- export interface RuleWithUseAnchorHrefOptions {
1370
- /**
1371
- * The severity of the emitted diagnostics by the rule
1372
- */
1373
- level: RulePlainConfiguration;
1374
- /**
1375
- * Rule's options
1376
- */
1377
- options: UseAnchorHrefOptions;
1378
- }
1379
- /**
1380
- * Options for the `useConsistentArrowReturn` rule.
1381
- */
1382
- export interface UseConsistentArrowReturnOptions {
1383
- /**
1384
- * Determines whether the rule enforces a consistent style when the return value is an object literal.
1385
- *
1386
- * This option is only applicable when used in conjunction with the `asNeeded` option.
1387
- */
1388
- requireForObjectLiteral?: boolean;
1389
- /**
1390
- * The style to enforce for arrow function return statements.
1391
- */
1392
- style?: UseConsistentArrowReturnStyle & string;
1393
- }
1394
- export interface UseConsistentTypeDefinitionsOptions {
1395
- style?: ConsistentTypeDefinition & string;
1396
- }
1397
- export interface RuleWithUseDeprecatedDateOptions {
1398
- /**
1399
- * The severity of the emitted diagnostics by the rule
1400
- */
1401
- level: RulePlainConfiguration;
1402
- /**
1403
- * Rule's options
1404
- */
1405
- options: UseDeprecatedDateOptions;
1406
- }
1407
- export interface RuleWithUseExhaustiveSwitchCasesOptions {
1408
- /**
1409
- * The kind of the code actions emitted by the rule
1410
- */
1411
- fix?: FixKind | null;
1412
- /**
1413
- * The severity of the emitted diagnostics by the rule
1414
- */
1415
- level: RulePlainConfiguration;
1416
- /**
1417
- * Rule's options
1418
- */
1419
- options: UseExhaustiveSwitchCasesOptions;
1420
- }
1421
- export interface RuleWithUseExplicitTypeOptions {
1422
- /**
1423
- * The severity of the emitted diagnostics by the rule
1424
- */
1425
- level: RulePlainConfiguration;
1426
- /**
1427
- * Rule's options
1428
- */
1429
- options: UseExplicitTypeOptions;
1430
- }