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