@quentinhsu/biome-config 0.3.2 → 0.3.3

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/dist/build.mjs +388 -0
  2. package/dist/index.jsonc +153 -0
  3. package/dist/index.mjs +358 -0
  4. package/dist/next.jsonc +170 -0
  5. package/dist/nuxt.jsonc +225 -0
  6. package/dist/react.jsonc +168 -0
  7. package/dist/types/scripts/build-presets.d.ts +1 -0
  8. package/dist/types/scripts/generate-biome-types.d.ts +1 -0
  9. package/dist/types/scripts/utils/biome-version.d.ts +12 -0
  10. package/dist/types/src/build.d.ts +1 -0
  11. package/dist/types/src/constants/biome.d.ts +1 -0
  12. package/dist/types/src/generated/biome/index.d.ts +11 -0
  13. package/dist/types/src/generated/biome/no-assign-in-expressions-configuration.d.ts +1002 -0
  14. package/dist/types/src/generated/biome/no-empty-source-configuration.d.ts +241 -0
  15. package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +320 -0
  16. package/dist/types/src/generated/biome/no-misrefactored-shorthand-assign-options.d.ts +1116 -0
  17. package/dist/types/src/generated/biome/no-non-null-assertion-options.d.ts +291 -0
  18. package/dist/types/src/generated/biome/nursery.d.ts +1023 -0
  19. package/dist/types/src/generated/biome/rule-with-no-document-import-in-page-options.d.ts +1148 -0
  20. package/dist/types/src/generated/biome/rule-with-no-implicit-coercions-options.d.ts +1440 -0
  21. package/dist/types/src/generated/biome/schema.d.ts +291 -0
  22. package/dist/types/src/generated/biome/use-consistent-arrow-return-options.d.ts +1341 -0
  23. package/dist/types/src/generated/biome/use-semantic-elements-configuration.d.ts +163 -0
  24. package/dist/types/src/index.d.ts +15 -0
  25. package/dist/types/src/presets/next.d.ts +1 -0
  26. package/dist/types/src/presets/nuxt.d.ts +1 -0
  27. package/dist/types/src/presets/react.d.ts +1 -0
  28. package/dist/types/src/presets/vue.d.ts +1 -0
  29. package/dist/types/src/source/index.d.ts +2 -0
  30. package/dist/types/src/types.d.ts +1 -0
  31. package/dist/types/src/utils/merge.d.ts +2 -0
  32. package/dist/vue.jsonc +177 -0
  33. package/package.json +12 -11
@@ -0,0 +1,1341 @@
1
+ import type { FixKind, RulePlainConfiguration } from './schema.ts';
2
+ import type { NoAccumulatingSpreadOptions, NoAwaitInLoopsOptions, NoBarrelFileOptions, NoBlankTargetOptions, NoCommonJsOptions, NoDangerouslySetInnerHtmlOptions, NoDangerouslySetInnerHtmlWithChildrenOptions, NoDefaultExportOptions, NoDeleteOptions, NoDescendingSpecificityOptions, NoDoneCallbackOptions, NoDynamicNamespaceImportAccessOptions, NoEnumOptions, NoExportedImportsOptions, NoGlobalEvalOptions, NoHeadElementOptions, NoImgElementOptions, NoImplicitBooleanOptions, NoInferrableTypesOptions, NoMagicNumbersOptions, NoNamespaceImportOptions, NoNamespaceOptions, NoNegationElseOptions, NoNestedTernaryOptions, NoReExportAllOptions, NoSecretsOptions, NoUnwantedPolyfillioOptions, UseConsistentArrowReturnStyle, UseDeprecatedDateOptions, UseExhaustiveSwitchCasesOptions, UseExplicitTypeOptions, UseGoogleFontPreconnectOptions, UseMaxParamsOptions, UseQwikMethodUsageOptions, UseQwikValidLexicalScopeOptions, UseSolidForComponentOptions, UseSortedClassesOptions, UseTopLevelRegexOptions, UseVueDefineMacrosOrderOptions, UseVueMultiWordComponentNamesOptions } from './no-global-object-calls-options.ts';
3
+ import type { Accessibility, ConsistentArrayType, ConsistentTypeDefinition, CustomRestrictedTypeOptions, FilenameCase, Format, NoAlertOptions, NoApproximativeNumericConstantOptions, NoArrayIndexKeyOptions, NoAssignInExpressionsOptions, NoAsyncPromiseExecutorOptions, NoBiomeFirstExceptionOptions, NoBitwiseOperatorsOptions, NoCatchAssignOptions, NoClassAssignOptions, NoCommentTextOptions, NoCompareNegZeroOptions, NoConfusingLabelsOptions, NoConfusingVoidTypeOptions, NoConsoleOptions, NoConstEnumOptions, NoConstantBinaryExpressionsOptions, NoControlCharactersInRegexOptions, NoDebuggerOptions, NoDocumentCookieOptions, NoNonNullAssertionOptions, NoParameterPropertiesOptions, NoProcessEnvOptions, NoRestrictedGlobalsOptions, NoShoutyConstantsOptions, NoSubstrOptions, NoUnusedTemplateLiteralOptions, NoUselessElseOptions, NoValueAtRuleOptions, NoYodaExpressionOptions, ObjectPropertySyntax, PathOptions, PropertyAssignmentMode, RestrictedModifier, Style2, UseArrayLiteralsOptions, UseAsConstAssertionOptions, UseAtIndexOptions, UseBlockStatementsOptions, UseCollapsedElseIfOptions, UseCollapsedIfOptions, UseComponentExportOnlyModulesOptions, UseConsistentBuiltinInstantiationOptions, UseConsistentCurlyBracesOptions, UseConstOptions, UseDefaultParameterLastOptions, UseDefaultSwitchClauseOptions, UseDeprecatedReasonOptions, UseEnumInitializersOptions, UseExplicitLengthCheckOptions, UseExponentiationOperatorOptions, UseExportTypeOptions, UseExportsLastOptions, UseForOfOptions, UseFragmentSyntaxOptions, UseGraphqlNamingConventionOptions, UseGroupedAccessorPairsOptions, UseLiteralEnumMembersOptions, UseNodeAssertStrictOptions, UseNodejsImportProtocolOptions, UseNumberNamespaceOptions, UseNumericSeparatorsOptions, UseObjectSpreadOptions, UseReactFunctionComponentsOptions, UseReadonlyClassPropertiesOptions, UseSelfClosingElementsOptions, UseShorthandAssignOptions, UseShorthandFunctionTypeOptions, UseSingleVarDeclaratorOptions, UseSymbolDescriptionOptions, UseTemplateOptions, UseThrowNewErrorOptions, UseThrowOnlyErrorOptions, UseTrimStartEndOptions, UseUnifiedTypeSignaturesOptions } from './no-non-null-assertion-options.ts';
4
+ /**
5
+ * Options for the `useConsistentArrowReturn` rule.
6
+ */
7
+ export interface UseConsistentArrowReturnOptions {
8
+ /**
9
+ * Determines whether the rule enforces a consistent style when the return value is an object literal.
10
+ *
11
+ * This option is only applicable when used in conjunction with the `asNeeded` option.
12
+ */
13
+ requireForObjectLiteral?: boolean;
14
+ /**
15
+ * The style to enforce for arrow function return statements.
16
+ */
17
+ style?: UseConsistentArrowReturnStyle & string;
18
+ }
19
+ export interface RuleWithUseDeprecatedDateOptions {
20
+ /**
21
+ * The severity of the emitted diagnostics by the rule
22
+ */
23
+ level: RulePlainConfiguration;
24
+ /**
25
+ * Rule's options
26
+ */
27
+ options: UseDeprecatedDateOptions;
28
+ }
29
+ export interface RuleWithUseExhaustiveSwitchCasesOptions {
30
+ /**
31
+ * The kind of the code actions emitted by the rule
32
+ */
33
+ fix?: FixKind | null;
34
+ /**
35
+ * The severity of the emitted diagnostics by the rule
36
+ */
37
+ level: RulePlainConfiguration;
38
+ /**
39
+ * Rule's options
40
+ */
41
+ options: UseExhaustiveSwitchCasesOptions;
42
+ }
43
+ export interface RuleWithUseExplicitTypeOptions {
44
+ /**
45
+ * The severity of the emitted diagnostics by the rule
46
+ */
47
+ level: RulePlainConfiguration;
48
+ /**
49
+ * Rule's options
50
+ */
51
+ options: UseExplicitTypeOptions;
52
+ }
53
+ export interface RuleWithUseMaxParamsOptions {
54
+ /**
55
+ * The severity of the emitted diagnostics by the rule
56
+ */
57
+ level: RulePlainConfiguration;
58
+ /**
59
+ * Rule's options
60
+ */
61
+ options: UseMaxParamsOptions;
62
+ }
63
+ export interface RuleWithUseQwikMethodUsageOptions {
64
+ /**
65
+ * The severity of the emitted diagnostics by the rule
66
+ */
67
+ level: RulePlainConfiguration;
68
+ /**
69
+ * Rule's options
70
+ */
71
+ options: UseQwikMethodUsageOptions;
72
+ }
73
+ export interface RuleWithUseQwikValidLexicalScopeOptions {
74
+ /**
75
+ * The severity of the emitted diagnostics by the rule
76
+ */
77
+ level: RulePlainConfiguration;
78
+ /**
79
+ * Rule's options
80
+ */
81
+ options: UseQwikValidLexicalScopeOptions;
82
+ }
83
+ export interface RuleWithUseSortedClassesOptions {
84
+ /**
85
+ * The kind of the code actions emitted by the rule
86
+ */
87
+ fix?: FixKind | null;
88
+ /**
89
+ * The severity of the emitted diagnostics by the rule
90
+ */
91
+ level: RulePlainConfiguration;
92
+ /**
93
+ * Rule's options
94
+ */
95
+ options: UseSortedClassesOptions;
96
+ }
97
+ export interface RuleWithUseVueDefineMacrosOrderOptions {
98
+ /**
99
+ * The kind of the code actions emitted by the rule
100
+ */
101
+ fix?: FixKind | null;
102
+ /**
103
+ * The severity of the emitted diagnostics by the rule
104
+ */
105
+ level: RulePlainConfiguration;
106
+ /**
107
+ * Rule's options
108
+ */
109
+ options: UseVueDefineMacrosOrderOptions;
110
+ }
111
+ export interface RuleWithUseVueMultiWordComponentNamesOptions {
112
+ /**
113
+ * The severity of the emitted diagnostics by the rule
114
+ */
115
+ level: RulePlainConfiguration;
116
+ /**
117
+ * Rule's options
118
+ */
119
+ options: UseVueMultiWordComponentNamesOptions;
120
+ }
121
+ export interface RuleWithNoAccumulatingSpreadOptions {
122
+ /**
123
+ * The severity of the emitted diagnostics by the rule
124
+ */
125
+ level: RulePlainConfiguration;
126
+ /**
127
+ * Rule's options
128
+ */
129
+ options: NoAccumulatingSpreadOptions;
130
+ }
131
+ export interface RuleWithNoAwaitInLoopsOptions {
132
+ /**
133
+ * The severity of the emitted diagnostics by the rule
134
+ */
135
+ level: RulePlainConfiguration;
136
+ /**
137
+ * Rule's options
138
+ */
139
+ options: NoAwaitInLoopsOptions;
140
+ }
141
+ export interface RuleWithNoBarrelFileOptions {
142
+ /**
143
+ * The severity of the emitted diagnostics by the rule
144
+ */
145
+ level: RulePlainConfiguration;
146
+ /**
147
+ * Rule's options
148
+ */
149
+ options: NoBarrelFileOptions;
150
+ }
151
+ export interface RuleWithNoDeleteOptions {
152
+ /**
153
+ * The kind of the code actions emitted by the rule
154
+ */
155
+ fix?: FixKind | null;
156
+ /**
157
+ * The severity of the emitted diagnostics by the rule
158
+ */
159
+ level: RulePlainConfiguration;
160
+ /**
161
+ * Rule's options
162
+ */
163
+ options: NoDeleteOptions;
164
+ }
165
+ export interface RuleWithNoDynamicNamespaceImportAccessOptions {
166
+ /**
167
+ * The severity of the emitted diagnostics by the rule
168
+ */
169
+ level: RulePlainConfiguration;
170
+ /**
171
+ * Rule's options
172
+ */
173
+ options: NoDynamicNamespaceImportAccessOptions;
174
+ }
175
+ export interface RuleWithNoImgElementOptions {
176
+ /**
177
+ * The severity of the emitted diagnostics by the rule
178
+ */
179
+ level: RulePlainConfiguration;
180
+ /**
181
+ * Rule's options
182
+ */
183
+ options: NoImgElementOptions;
184
+ }
185
+ export interface RuleWithNoNamespaceImportOptions {
186
+ /**
187
+ * The severity of the emitted diagnostics by the rule
188
+ */
189
+ level: RulePlainConfiguration;
190
+ /**
191
+ * Rule's options
192
+ */
193
+ options: NoNamespaceImportOptions;
194
+ }
195
+ export interface RuleWithNoReExportAllOptions {
196
+ /**
197
+ * The severity of the emitted diagnostics by the rule
198
+ */
199
+ level: RulePlainConfiguration;
200
+ /**
201
+ * Rule's options
202
+ */
203
+ options: NoReExportAllOptions;
204
+ }
205
+ export interface RuleWithNoUnwantedPolyfillioOptions {
206
+ /**
207
+ * The severity of the emitted diagnostics by the rule
208
+ */
209
+ level: RulePlainConfiguration;
210
+ /**
211
+ * Rule's options
212
+ */
213
+ options: NoUnwantedPolyfillioOptions;
214
+ }
215
+ export interface RuleWithUseGoogleFontPreconnectOptions {
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: UseGoogleFontPreconnectOptions;
228
+ }
229
+ export interface RuleWithUseSolidForComponentOptions {
230
+ /**
231
+ * The severity of the emitted diagnostics by the rule
232
+ */
233
+ level: RulePlainConfiguration;
234
+ /**
235
+ * Rule's options
236
+ */
237
+ options: UseSolidForComponentOptions;
238
+ }
239
+ export interface RuleWithUseTopLevelRegexOptions {
240
+ /**
241
+ * The severity of the emitted diagnostics by the rule
242
+ */
243
+ level: RulePlainConfiguration;
244
+ /**
245
+ * Rule's options
246
+ */
247
+ options: UseTopLevelRegexOptions;
248
+ }
249
+ export interface RuleWithNoBlankTargetOptions {
250
+ /**
251
+ * The kind of the code actions emitted by the rule
252
+ */
253
+ fix?: FixKind | null;
254
+ /**
255
+ * The severity of the emitted diagnostics by the rule
256
+ */
257
+ level: RulePlainConfiguration;
258
+ /**
259
+ * Rule's options
260
+ */
261
+ options: NoBlankTargetOptions;
262
+ }
263
+ export interface RuleWithNoDangerouslySetInnerHtmlOptions {
264
+ /**
265
+ * The severity of the emitted diagnostics by the rule
266
+ */
267
+ level: RulePlainConfiguration;
268
+ /**
269
+ * Rule's options
270
+ */
271
+ options: NoDangerouslySetInnerHtmlOptions;
272
+ }
273
+ export interface RuleWithNoDangerouslySetInnerHtmlWithChildrenOptions {
274
+ /**
275
+ * The severity of the emitted diagnostics by the rule
276
+ */
277
+ level: RulePlainConfiguration;
278
+ /**
279
+ * Rule's options
280
+ */
281
+ options: NoDangerouslySetInnerHtmlWithChildrenOptions;
282
+ }
283
+ export interface RuleWithNoGlobalEvalOptions {
284
+ /**
285
+ * The severity of the emitted diagnostics by the rule
286
+ */
287
+ level: RulePlainConfiguration;
288
+ /**
289
+ * Rule's options
290
+ */
291
+ options: NoGlobalEvalOptions;
292
+ }
293
+ export interface RuleWithNoSecretsOptions {
294
+ /**
295
+ * The severity of the emitted diagnostics by the rule
296
+ */
297
+ level: RulePlainConfiguration;
298
+ /**
299
+ * Rule's options
300
+ */
301
+ options: NoSecretsOptions;
302
+ }
303
+ export interface RuleWithNoCommonJsOptions {
304
+ /**
305
+ * The severity of the emitted diagnostics by the rule
306
+ */
307
+ level: RulePlainConfiguration;
308
+ /**
309
+ * Rule's options
310
+ */
311
+ options: NoCommonJsOptions;
312
+ }
313
+ export interface RuleWithNoDefaultExportOptions {
314
+ /**
315
+ * The severity of the emitted diagnostics by the rule
316
+ */
317
+ level: RulePlainConfiguration;
318
+ /**
319
+ * Rule's options
320
+ */
321
+ options: NoDefaultExportOptions;
322
+ }
323
+ export interface RuleWithNoDescendingSpecificityOptions {
324
+ /**
325
+ * The severity of the emitted diagnostics by the rule
326
+ */
327
+ level: RulePlainConfiguration;
328
+ /**
329
+ * Rule's options
330
+ */
331
+ options: NoDescendingSpecificityOptions;
332
+ }
333
+ export interface RuleWithNoDoneCallbackOptions {
334
+ /**
335
+ * The severity of the emitted diagnostics by the rule
336
+ */
337
+ level: RulePlainConfiguration;
338
+ /**
339
+ * Rule's options
340
+ */
341
+ options: NoDoneCallbackOptions;
342
+ }
343
+ export interface RuleWithNoEnumOptions {
344
+ /**
345
+ * The severity of the emitted diagnostics by the rule
346
+ */
347
+ level: RulePlainConfiguration;
348
+ /**
349
+ * Rule's options
350
+ */
351
+ options: NoEnumOptions;
352
+ }
353
+ export interface RuleWithNoExportedImportsOptions {
354
+ /**
355
+ * The severity of the emitted diagnostics by the rule
356
+ */
357
+ level: RulePlainConfiguration;
358
+ /**
359
+ * Rule's options
360
+ */
361
+ options: NoExportedImportsOptions;
362
+ }
363
+ export interface RuleWithNoHeadElementOptions {
364
+ /**
365
+ * The severity of the emitted diagnostics by the rule
366
+ */
367
+ level: RulePlainConfiguration;
368
+ /**
369
+ * Rule's options
370
+ */
371
+ options: NoHeadElementOptions;
372
+ }
373
+ export interface RuleWithNoImplicitBooleanOptions {
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: NoImplicitBooleanOptions;
386
+ }
387
+ export interface RuleWithNoInferrableTypesOptions {
388
+ /**
389
+ * The kind of the code actions emitted by the rule
390
+ */
391
+ fix?: FixKind | null;
392
+ /**
393
+ * The severity of the emitted diagnostics by the rule
394
+ */
395
+ level: RulePlainConfiguration;
396
+ /**
397
+ * Rule's options
398
+ */
399
+ options: NoInferrableTypesOptions;
400
+ }
401
+ export interface RuleWithNoMagicNumbersOptions {
402
+ /**
403
+ * The severity of the emitted diagnostics by the rule
404
+ */
405
+ level: RulePlainConfiguration;
406
+ /**
407
+ * Rule's options
408
+ */
409
+ options: NoMagicNumbersOptions;
410
+ }
411
+ export interface RuleWithNoNamespaceOptions {
412
+ /**
413
+ * The severity of the emitted diagnostics by the rule
414
+ */
415
+ level: RulePlainConfiguration;
416
+ /**
417
+ * Rule's options
418
+ */
419
+ options: NoNamespaceOptions;
420
+ }
421
+ export interface RuleWithNoNegationElseOptions {
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: NoNegationElseOptions;
434
+ }
435
+ export interface RuleWithNoNestedTernaryOptions {
436
+ /**
437
+ * The severity of the emitted diagnostics by the rule
438
+ */
439
+ level: RulePlainConfiguration;
440
+ /**
441
+ * Rule's options
442
+ */
443
+ options: NoNestedTernaryOptions;
444
+ }
445
+ export interface RuleWithNoNonNullAssertionOptions {
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: NoNonNullAssertionOptions;
458
+ }
459
+ export interface NoParameterAssignOptions {
460
+ /**
461
+ * Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to `allow`.
462
+ */
463
+ propertyAssignment?: PropertyAssignmentMode & string;
464
+ }
465
+ export interface RuleWithNoParameterPropertiesOptions {
466
+ /**
467
+ * The severity of the emitted diagnostics by the rule
468
+ */
469
+ level: RulePlainConfiguration;
470
+ /**
471
+ * Rule's options
472
+ */
473
+ options: NoParameterPropertiesOptions;
474
+ }
475
+ export interface RuleWithNoProcessEnvOptions {
476
+ /**
477
+ * The severity of the emitted diagnostics by the rule
478
+ */
479
+ level: RulePlainConfiguration;
480
+ /**
481
+ * Rule's options
482
+ */
483
+ options: NoProcessEnvOptions;
484
+ }
485
+ export interface RuleWithNoRestrictedGlobalsOptions {
486
+ /**
487
+ * The severity of the emitted diagnostics by the rule
488
+ */
489
+ level: RulePlainConfiguration;
490
+ /**
491
+ * Rule's options
492
+ */
493
+ options: NoRestrictedGlobalsOptions;
494
+ }
495
+ export type Paths = string | PathOptions;
496
+ export type CustomRestrictedType = string | CustomRestrictedTypeOptions;
497
+ export interface RuleWithNoShoutyConstantsOptions {
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: NoShoutyConstantsOptions;
510
+ }
511
+ export interface RuleWithNoSubstrOptions {
512
+ /**
513
+ * The kind of the code actions emitted by the rule
514
+ */
515
+ fix?: FixKind | null;
516
+ /**
517
+ * The severity of the emitted diagnostics by the rule
518
+ */
519
+ level: RulePlainConfiguration;
520
+ /**
521
+ * Rule's options
522
+ */
523
+ options: NoSubstrOptions;
524
+ }
525
+ export interface RuleWithNoUnusedTemplateLiteralOptions {
526
+ /**
527
+ * The kind of the code actions emitted by the rule
528
+ */
529
+ fix?: FixKind | null;
530
+ /**
531
+ * The severity of the emitted diagnostics by the rule
532
+ */
533
+ level: RulePlainConfiguration;
534
+ /**
535
+ * Rule's options
536
+ */
537
+ options: NoUnusedTemplateLiteralOptions;
538
+ }
539
+ export interface RuleWithNoUselessElseOptions {
540
+ /**
541
+ * The kind of the code actions emitted by the rule
542
+ */
543
+ fix?: FixKind | null;
544
+ /**
545
+ * The severity of the emitted diagnostics by the rule
546
+ */
547
+ level: RulePlainConfiguration;
548
+ /**
549
+ * Rule's options
550
+ */
551
+ options: NoUselessElseOptions;
552
+ }
553
+ export interface RuleWithNoValueAtRuleOptions {
554
+ /**
555
+ * The severity of the emitted diagnostics by the rule
556
+ */
557
+ level: RulePlainConfiguration;
558
+ /**
559
+ * Rule's options
560
+ */
561
+ options: NoValueAtRuleOptions;
562
+ }
563
+ export interface RuleWithNoYodaExpressionOptions {
564
+ /**
565
+ * The kind of the code actions emitted by the rule
566
+ */
567
+ fix?: FixKind | null;
568
+ /**
569
+ * The severity of the emitted diagnostics by the rule
570
+ */
571
+ level: RulePlainConfiguration;
572
+ /**
573
+ * Rule's options
574
+ */
575
+ options: NoYodaExpressionOptions;
576
+ }
577
+ export interface RuleWithUseArrayLiteralsOptions {
578
+ /**
579
+ * The kind of the code actions emitted by the rule
580
+ */
581
+ fix?: FixKind | null;
582
+ /**
583
+ * The severity of the emitted diagnostics by the rule
584
+ */
585
+ level: RulePlainConfiguration;
586
+ /**
587
+ * Rule's options
588
+ */
589
+ options: UseArrayLiteralsOptions;
590
+ }
591
+ export interface RuleWithUseAsConstAssertionOptions {
592
+ /**
593
+ * The kind of the code actions emitted by the rule
594
+ */
595
+ fix?: FixKind | null;
596
+ /**
597
+ * The severity of the emitted diagnostics by the rule
598
+ */
599
+ level: RulePlainConfiguration;
600
+ /**
601
+ * Rule's options
602
+ */
603
+ options: UseAsConstAssertionOptions;
604
+ }
605
+ export interface RuleWithUseAtIndexOptions {
606
+ /**
607
+ * The kind of the code actions emitted by the rule
608
+ */
609
+ fix?: FixKind | null;
610
+ /**
611
+ * The severity of the emitted diagnostics by the rule
612
+ */
613
+ level: RulePlainConfiguration;
614
+ /**
615
+ * Rule's options
616
+ */
617
+ options: UseAtIndexOptions;
618
+ }
619
+ export interface RuleWithUseBlockStatementsOptions {
620
+ /**
621
+ * The kind of the code actions emitted by the rule
622
+ */
623
+ fix?: FixKind | null;
624
+ /**
625
+ * The severity of the emitted diagnostics by the rule
626
+ */
627
+ level: RulePlainConfiguration;
628
+ /**
629
+ * Rule's options
630
+ */
631
+ options: UseBlockStatementsOptions;
632
+ }
633
+ export interface RuleWithUseCollapsedElseIfOptions {
634
+ /**
635
+ * The kind of the code actions emitted by the rule
636
+ */
637
+ fix?: FixKind | null;
638
+ /**
639
+ * The severity of the emitted diagnostics by the rule
640
+ */
641
+ level: RulePlainConfiguration;
642
+ /**
643
+ * Rule's options
644
+ */
645
+ options: UseCollapsedElseIfOptions;
646
+ }
647
+ export interface RuleWithUseCollapsedIfOptions {
648
+ /**
649
+ * The kind of the code actions emitted by the rule
650
+ */
651
+ fix?: FixKind | null;
652
+ /**
653
+ * The severity of the emitted diagnostics by the rule
654
+ */
655
+ level: RulePlainConfiguration;
656
+ /**
657
+ * Rule's options
658
+ */
659
+ options: UseCollapsedIfOptions;
660
+ }
661
+ export interface RuleWithUseComponentExportOnlyModulesOptions {
662
+ /**
663
+ * The severity of the emitted diagnostics by the rule
664
+ */
665
+ level: RulePlainConfiguration;
666
+ /**
667
+ * Rule's options
668
+ */
669
+ options: UseComponentExportOnlyModulesOptions;
670
+ }
671
+ export interface UseConsistentArrayTypeOptions {
672
+ syntax?: ConsistentArrayType & string;
673
+ }
674
+ export interface RuleWithUseConsistentBuiltinInstantiationOptions {
675
+ /**
676
+ * The kind of the code actions emitted by the rule
677
+ */
678
+ fix?: FixKind | null;
679
+ /**
680
+ * The severity of the emitted diagnostics by the rule
681
+ */
682
+ level: RulePlainConfiguration;
683
+ /**
684
+ * Rule's options
685
+ */
686
+ options: UseConsistentBuiltinInstantiationOptions;
687
+ }
688
+ export interface RuleWithUseConsistentCurlyBracesOptions {
689
+ /**
690
+ * The kind of the code actions emitted by the rule
691
+ */
692
+ fix?: FixKind | null;
693
+ /**
694
+ * The severity of the emitted diagnostics by the rule
695
+ */
696
+ level: RulePlainConfiguration;
697
+ /**
698
+ * Rule's options
699
+ */
700
+ options: UseConsistentCurlyBracesOptions;
701
+ }
702
+ export interface UseConsistentMemberAccessibilityOptions {
703
+ /**
704
+ * The kind of accessibility you want to enforce. Default to "noPublic"
705
+ */
706
+ accessibility?: Accessibility & string;
707
+ }
708
+ export interface UseConsistentObjectDefinitionsOptions {
709
+ /**
710
+ * The preferred syntax to enforce.
711
+ */
712
+ syntax?: ObjectPropertySyntax & string;
713
+ }
714
+ export interface UseConsistentTypeDefinitionsOptions {
715
+ style?: ConsistentTypeDefinition & string;
716
+ }
717
+ export interface RuleWithUseConstOptions {
718
+ /**
719
+ * The kind of the code actions emitted by the rule
720
+ */
721
+ fix?: FixKind | null;
722
+ /**
723
+ * The severity of the emitted diagnostics by the rule
724
+ */
725
+ level: RulePlainConfiguration;
726
+ /**
727
+ * Rule's options
728
+ */
729
+ options: UseConstOptions;
730
+ }
731
+ export interface RuleWithUseDefaultParameterLastOptions {
732
+ /**
733
+ * The kind of the code actions emitted by the rule
734
+ */
735
+ fix?: FixKind | null;
736
+ /**
737
+ * The severity of the emitted diagnostics by the rule
738
+ */
739
+ level: RulePlainConfiguration;
740
+ /**
741
+ * Rule's options
742
+ */
743
+ options: UseDefaultParameterLastOptions;
744
+ }
745
+ export interface RuleWithUseDefaultSwitchClauseOptions {
746
+ /**
747
+ * The severity of the emitted diagnostics by the rule
748
+ */
749
+ level: RulePlainConfiguration;
750
+ /**
751
+ * Rule's options
752
+ */
753
+ options: UseDefaultSwitchClauseOptions;
754
+ }
755
+ export interface RuleWithUseDeprecatedReasonOptions {
756
+ /**
757
+ * The severity of the emitted diagnostics by the rule
758
+ */
759
+ level: RulePlainConfiguration;
760
+ /**
761
+ * Rule's options
762
+ */
763
+ options: UseDeprecatedReasonOptions;
764
+ }
765
+ export interface RuleWithUseEnumInitializersOptions {
766
+ /**
767
+ * The kind of the code actions emitted by the rule
768
+ */
769
+ fix?: FixKind | null;
770
+ /**
771
+ * The severity of the emitted diagnostics by the rule
772
+ */
773
+ level: RulePlainConfiguration;
774
+ /**
775
+ * Rule's options
776
+ */
777
+ options: UseEnumInitializersOptions;
778
+ }
779
+ export interface RuleWithUseExplicitLengthCheckOptions {
780
+ /**
781
+ * The kind of the code actions emitted by the rule
782
+ */
783
+ fix?: FixKind | null;
784
+ /**
785
+ * The severity of the emitted diagnostics by the rule
786
+ */
787
+ level: RulePlainConfiguration;
788
+ /**
789
+ * Rule's options
790
+ */
791
+ options: UseExplicitLengthCheckOptions;
792
+ }
793
+ export interface RuleWithUseExponentiationOperatorOptions {
794
+ /**
795
+ * The kind of the code actions emitted by the rule
796
+ */
797
+ fix?: FixKind | null;
798
+ /**
799
+ * The severity of the emitted diagnostics by the rule
800
+ */
801
+ level: RulePlainConfiguration;
802
+ /**
803
+ * Rule's options
804
+ */
805
+ options: UseExponentiationOperatorOptions;
806
+ }
807
+ export interface RuleWithUseExportTypeOptions {
808
+ /**
809
+ * The kind of the code actions emitted by the rule
810
+ */
811
+ fix?: FixKind | null;
812
+ /**
813
+ * The severity of the emitted diagnostics by the rule
814
+ */
815
+ level: RulePlainConfiguration;
816
+ /**
817
+ * Rule's options
818
+ */
819
+ options: UseExportTypeOptions;
820
+ }
821
+ export interface RuleWithUseExportsLastOptions {
822
+ /**
823
+ * The severity of the emitted diagnostics by the rule
824
+ */
825
+ level: RulePlainConfiguration;
826
+ /**
827
+ * Rule's options
828
+ */
829
+ options: UseExportsLastOptions;
830
+ }
831
+ export type FilenameCases = FilenameCase[];
832
+ export interface RuleWithUseForOfOptions {
833
+ /**
834
+ * The severity of the emitted diagnostics by the rule
835
+ */
836
+ level: RulePlainConfiguration;
837
+ /**
838
+ * Rule's options
839
+ */
840
+ options: UseForOfOptions;
841
+ }
842
+ export interface RuleWithUseFragmentSyntaxOptions {
843
+ /**
844
+ * The kind of the code actions emitted by the rule
845
+ */
846
+ fix?: FixKind | null;
847
+ /**
848
+ * The severity of the emitted diagnostics by the rule
849
+ */
850
+ level: RulePlainConfiguration;
851
+ /**
852
+ * Rule's options
853
+ */
854
+ options: UseFragmentSyntaxOptions;
855
+ }
856
+ export interface RuleWithUseGraphqlNamingConventionOptions {
857
+ /**
858
+ * The severity of the emitted diagnostics by the rule
859
+ */
860
+ level: RulePlainConfiguration;
861
+ /**
862
+ * Rule's options
863
+ */
864
+ options: UseGraphqlNamingConventionOptions;
865
+ }
866
+ export interface RuleWithUseGroupedAccessorPairsOptions {
867
+ /**
868
+ * The severity of the emitted diagnostics by the rule
869
+ */
870
+ level: RulePlainConfiguration;
871
+ /**
872
+ * Rule's options
873
+ */
874
+ options: UseGroupedAccessorPairsOptions;
875
+ }
876
+ export interface UseImportTypeOptions {
877
+ /**
878
+ * The style to apply when import types. Default to "auto"
879
+ */
880
+ style?: Style2 & string;
881
+ }
882
+ export interface RuleWithUseLiteralEnumMembersOptions {
883
+ /**
884
+ * The severity of the emitted diagnostics by the rule
885
+ */
886
+ level: RulePlainConfiguration;
887
+ /**
888
+ * Rule's options
889
+ */
890
+ options: UseLiteralEnumMembersOptions;
891
+ }
892
+ export type Formats = Format[];
893
+ export type Modifiers = RestrictedModifier[];
894
+ export interface RuleWithUseNodeAssertStrictOptions {
895
+ /**
896
+ * The kind of the code actions emitted by the rule
897
+ */
898
+ fix?: FixKind | null;
899
+ /**
900
+ * The severity of the emitted diagnostics by the rule
901
+ */
902
+ level: RulePlainConfiguration;
903
+ /**
904
+ * Rule's options
905
+ */
906
+ options: UseNodeAssertStrictOptions;
907
+ }
908
+ export interface RuleWithUseNodejsImportProtocolOptions {
909
+ /**
910
+ * The kind of the code actions emitted by the rule
911
+ */
912
+ fix?: FixKind | null;
913
+ /**
914
+ * The severity of the emitted diagnostics by the rule
915
+ */
916
+ level: RulePlainConfiguration;
917
+ /**
918
+ * Rule's options
919
+ */
920
+ options: UseNodejsImportProtocolOptions;
921
+ }
922
+ export interface RuleWithUseNumberNamespaceOptions {
923
+ /**
924
+ * The kind of the code actions emitted by the rule
925
+ */
926
+ fix?: FixKind | null;
927
+ /**
928
+ * The severity of the emitted diagnostics by the rule
929
+ */
930
+ level: RulePlainConfiguration;
931
+ /**
932
+ * Rule's options
933
+ */
934
+ options: UseNumberNamespaceOptions;
935
+ }
936
+ export interface RuleWithUseNumericSeparatorsOptions {
937
+ /**
938
+ * The kind of the code actions emitted by the rule
939
+ */
940
+ fix?: FixKind | null;
941
+ /**
942
+ * The severity of the emitted diagnostics by the rule
943
+ */
944
+ level: RulePlainConfiguration;
945
+ /**
946
+ * Rule's options
947
+ */
948
+ options: UseNumericSeparatorsOptions;
949
+ }
950
+ export interface RuleWithUseObjectSpreadOptions {
951
+ /**
952
+ * The kind of the code actions emitted by the rule
953
+ */
954
+ fix?: FixKind | null;
955
+ /**
956
+ * The severity of the emitted diagnostics by the rule
957
+ */
958
+ level: RulePlainConfiguration;
959
+ /**
960
+ * Rule's options
961
+ */
962
+ options: UseObjectSpreadOptions;
963
+ }
964
+ export interface RuleWithUseReactFunctionComponentsOptions {
965
+ /**
966
+ * The severity of the emitted diagnostics by the rule
967
+ */
968
+ level: RulePlainConfiguration;
969
+ /**
970
+ * Rule's options
971
+ */
972
+ options: UseReactFunctionComponentsOptions;
973
+ }
974
+ export interface RuleWithUseReadonlyClassPropertiesOptions {
975
+ /**
976
+ * The kind of the code actions emitted by the rule
977
+ */
978
+ fix?: FixKind | null;
979
+ /**
980
+ * The severity of the emitted diagnostics by the rule
981
+ */
982
+ level: RulePlainConfiguration;
983
+ /**
984
+ * Rule's options
985
+ */
986
+ options: UseReadonlyClassPropertiesOptions;
987
+ }
988
+ export interface RuleWithUseSelfClosingElementsOptions {
989
+ /**
990
+ * The kind of the code actions emitted by the rule
991
+ */
992
+ fix?: FixKind | null;
993
+ /**
994
+ * The severity of the emitted diagnostics by the rule
995
+ */
996
+ level: RulePlainConfiguration;
997
+ /**
998
+ * Rule's options
999
+ */
1000
+ options: UseSelfClosingElementsOptions;
1001
+ }
1002
+ export interface RuleWithUseShorthandAssignOptions {
1003
+ /**
1004
+ * The kind of the code actions emitted by the rule
1005
+ */
1006
+ fix?: FixKind | null;
1007
+ /**
1008
+ * The severity of the emitted diagnostics by the rule
1009
+ */
1010
+ level: RulePlainConfiguration;
1011
+ /**
1012
+ * Rule's options
1013
+ */
1014
+ options: UseShorthandAssignOptions;
1015
+ }
1016
+ export interface RuleWithUseShorthandFunctionTypeOptions {
1017
+ /**
1018
+ * The kind of the code actions emitted by the rule
1019
+ */
1020
+ fix?: FixKind | null;
1021
+ /**
1022
+ * The severity of the emitted diagnostics by the rule
1023
+ */
1024
+ level: RulePlainConfiguration;
1025
+ /**
1026
+ * Rule's options
1027
+ */
1028
+ options: UseShorthandFunctionTypeOptions;
1029
+ }
1030
+ export interface RuleWithUseSingleVarDeclaratorOptions {
1031
+ /**
1032
+ * The kind of the code actions emitted by the rule
1033
+ */
1034
+ fix?: FixKind | null;
1035
+ /**
1036
+ * The severity of the emitted diagnostics by the rule
1037
+ */
1038
+ level: RulePlainConfiguration;
1039
+ /**
1040
+ * Rule's options
1041
+ */
1042
+ options: UseSingleVarDeclaratorOptions;
1043
+ }
1044
+ export interface RuleWithUseSymbolDescriptionOptions {
1045
+ /**
1046
+ * The severity of the emitted diagnostics by the rule
1047
+ */
1048
+ level: RulePlainConfiguration;
1049
+ /**
1050
+ * Rule's options
1051
+ */
1052
+ options: UseSymbolDescriptionOptions;
1053
+ }
1054
+ export interface RuleWithUseTemplateOptions {
1055
+ /**
1056
+ * The kind of the code actions emitted by the rule
1057
+ */
1058
+ fix?: FixKind | null;
1059
+ /**
1060
+ * The severity of the emitted diagnostics by the rule
1061
+ */
1062
+ level: RulePlainConfiguration;
1063
+ /**
1064
+ * Rule's options
1065
+ */
1066
+ options: UseTemplateOptions;
1067
+ }
1068
+ export interface RuleWithUseThrowNewErrorOptions {
1069
+ /**
1070
+ * The kind of the code actions emitted by the rule
1071
+ */
1072
+ fix?: FixKind | null;
1073
+ /**
1074
+ * The severity of the emitted diagnostics by the rule
1075
+ */
1076
+ level: RulePlainConfiguration;
1077
+ /**
1078
+ * Rule's options
1079
+ */
1080
+ options: UseThrowNewErrorOptions;
1081
+ }
1082
+ export interface RuleWithUseThrowOnlyErrorOptions {
1083
+ /**
1084
+ * The severity of the emitted diagnostics by the rule
1085
+ */
1086
+ level: RulePlainConfiguration;
1087
+ /**
1088
+ * Rule's options
1089
+ */
1090
+ options: UseThrowOnlyErrorOptions;
1091
+ }
1092
+ export interface RuleWithUseTrimStartEndOptions {
1093
+ /**
1094
+ * The kind of the code actions emitted by the rule
1095
+ */
1096
+ fix?: FixKind | null;
1097
+ /**
1098
+ * The severity of the emitted diagnostics by the rule
1099
+ */
1100
+ level: RulePlainConfiguration;
1101
+ /**
1102
+ * Rule's options
1103
+ */
1104
+ options: UseTrimStartEndOptions;
1105
+ }
1106
+ export interface RuleWithUseUnifiedTypeSignaturesOptions {
1107
+ /**
1108
+ * The kind of the code actions emitted by the rule
1109
+ */
1110
+ fix?: FixKind | null;
1111
+ /**
1112
+ * The severity of the emitted diagnostics by the rule
1113
+ */
1114
+ level: RulePlainConfiguration;
1115
+ /**
1116
+ * Rule's options
1117
+ */
1118
+ options: UseUnifiedTypeSignaturesOptions;
1119
+ }
1120
+ export interface RuleWithNoAlertOptions {
1121
+ /**
1122
+ * The severity of the emitted diagnostics by the rule
1123
+ */
1124
+ level: RulePlainConfiguration;
1125
+ /**
1126
+ * Rule's options
1127
+ */
1128
+ options: NoAlertOptions;
1129
+ }
1130
+ export interface RuleWithNoApproximativeNumericConstantOptions {
1131
+ /**
1132
+ * The kind of the code actions emitted by the rule
1133
+ */
1134
+ fix?: FixKind | null;
1135
+ /**
1136
+ * The severity of the emitted diagnostics by the rule
1137
+ */
1138
+ level: RulePlainConfiguration;
1139
+ /**
1140
+ * Rule's options
1141
+ */
1142
+ options: NoApproximativeNumericConstantOptions;
1143
+ }
1144
+ export interface RuleWithNoArrayIndexKeyOptions {
1145
+ /**
1146
+ * The severity of the emitted diagnostics by the rule
1147
+ */
1148
+ level: RulePlainConfiguration;
1149
+ /**
1150
+ * Rule's options
1151
+ */
1152
+ options: NoArrayIndexKeyOptions;
1153
+ }
1154
+ export interface RuleWithNoAssignInExpressionsOptions {
1155
+ /**
1156
+ * The severity of the emitted diagnostics by the rule
1157
+ */
1158
+ level: RulePlainConfiguration;
1159
+ /**
1160
+ * Rule's options
1161
+ */
1162
+ options: NoAssignInExpressionsOptions;
1163
+ }
1164
+ export interface RuleWithNoAsyncPromiseExecutorOptions {
1165
+ /**
1166
+ * The severity of the emitted diagnostics by the rule
1167
+ */
1168
+ level: RulePlainConfiguration;
1169
+ /**
1170
+ * Rule's options
1171
+ */
1172
+ options: NoAsyncPromiseExecutorOptions;
1173
+ }
1174
+ export interface RuleWithNoBiomeFirstExceptionOptions {
1175
+ /**
1176
+ * The kind of the code actions emitted by the rule
1177
+ */
1178
+ fix?: FixKind | null;
1179
+ /**
1180
+ * The severity of the emitted diagnostics by the rule
1181
+ */
1182
+ level: RulePlainConfiguration;
1183
+ /**
1184
+ * Rule's options
1185
+ */
1186
+ options: NoBiomeFirstExceptionOptions;
1187
+ }
1188
+ export interface RuleWithNoBitwiseOperatorsOptions {
1189
+ /**
1190
+ * The severity of the emitted diagnostics by the rule
1191
+ */
1192
+ level: RulePlainConfiguration;
1193
+ /**
1194
+ * Rule's options
1195
+ */
1196
+ options: NoBitwiseOperatorsOptions;
1197
+ }
1198
+ export interface RuleWithNoCatchAssignOptions {
1199
+ /**
1200
+ * The severity of the emitted diagnostics by the rule
1201
+ */
1202
+ level: RulePlainConfiguration;
1203
+ /**
1204
+ * Rule's options
1205
+ */
1206
+ options: NoCatchAssignOptions;
1207
+ }
1208
+ export interface RuleWithNoClassAssignOptions {
1209
+ /**
1210
+ * The severity of the emitted diagnostics by the rule
1211
+ */
1212
+ level: RulePlainConfiguration;
1213
+ /**
1214
+ * Rule's options
1215
+ */
1216
+ options: NoClassAssignOptions;
1217
+ }
1218
+ export interface RuleWithNoCommentTextOptions {
1219
+ /**
1220
+ * The kind of the code actions emitted by the rule
1221
+ */
1222
+ fix?: FixKind | null;
1223
+ /**
1224
+ * The severity of the emitted diagnostics by the rule
1225
+ */
1226
+ level: RulePlainConfiguration;
1227
+ /**
1228
+ * Rule's options
1229
+ */
1230
+ options: NoCommentTextOptions;
1231
+ }
1232
+ export interface RuleWithNoCompareNegZeroOptions {
1233
+ /**
1234
+ * The kind of the code actions emitted by the rule
1235
+ */
1236
+ fix?: FixKind | null;
1237
+ /**
1238
+ * The severity of the emitted diagnostics by the rule
1239
+ */
1240
+ level: RulePlainConfiguration;
1241
+ /**
1242
+ * Rule's options
1243
+ */
1244
+ options: NoCompareNegZeroOptions;
1245
+ }
1246
+ export interface RuleWithNoConfusingLabelsOptions {
1247
+ /**
1248
+ * The severity of the emitted diagnostics by the rule
1249
+ */
1250
+ level: RulePlainConfiguration;
1251
+ /**
1252
+ * Rule's options
1253
+ */
1254
+ options: NoConfusingLabelsOptions;
1255
+ }
1256
+ export interface RuleWithNoConfusingVoidTypeOptions {
1257
+ /**
1258
+ * The kind of the code actions emitted by the rule
1259
+ */
1260
+ fix?: FixKind | null;
1261
+ /**
1262
+ * The severity of the emitted diagnostics by the rule
1263
+ */
1264
+ level: RulePlainConfiguration;
1265
+ /**
1266
+ * Rule's options
1267
+ */
1268
+ options: NoConfusingVoidTypeOptions;
1269
+ }
1270
+ export interface RuleWithNoConsoleOptions {
1271
+ /**
1272
+ * The kind of the code actions emitted by the rule
1273
+ */
1274
+ fix?: FixKind | null;
1275
+ /**
1276
+ * The severity of the emitted diagnostics by the rule
1277
+ */
1278
+ level: RulePlainConfiguration;
1279
+ /**
1280
+ * Rule's options
1281
+ */
1282
+ options: NoConsoleOptions;
1283
+ }
1284
+ export interface RuleWithNoConstEnumOptions {
1285
+ /**
1286
+ * The kind of the code actions emitted by the rule
1287
+ */
1288
+ fix?: FixKind | null;
1289
+ /**
1290
+ * The severity of the emitted diagnostics by the rule
1291
+ */
1292
+ level: RulePlainConfiguration;
1293
+ /**
1294
+ * Rule's options
1295
+ */
1296
+ options: NoConstEnumOptions;
1297
+ }
1298
+ export interface RuleWithNoConstantBinaryExpressionsOptions {
1299
+ /**
1300
+ * The severity of the emitted diagnostics by the rule
1301
+ */
1302
+ level: RulePlainConfiguration;
1303
+ /**
1304
+ * Rule's options
1305
+ */
1306
+ options: NoConstantBinaryExpressionsOptions;
1307
+ }
1308
+ export interface RuleWithNoControlCharactersInRegexOptions {
1309
+ /**
1310
+ * The severity of the emitted diagnostics by the rule
1311
+ */
1312
+ level: RulePlainConfiguration;
1313
+ /**
1314
+ * Rule's options
1315
+ */
1316
+ options: NoControlCharactersInRegexOptions;
1317
+ }
1318
+ export interface RuleWithNoDebuggerOptions {
1319
+ /**
1320
+ * The kind of the code actions emitted by the rule
1321
+ */
1322
+ fix?: FixKind | null;
1323
+ /**
1324
+ * The severity of the emitted diagnostics by the rule
1325
+ */
1326
+ level: RulePlainConfiguration;
1327
+ /**
1328
+ * Rule's options
1329
+ */
1330
+ options: NoDebuggerOptions;
1331
+ }
1332
+ export interface RuleWithNoDocumentCookieOptions {
1333
+ /**
1334
+ * The severity of the emitted diagnostics by the rule
1335
+ */
1336
+ level: RulePlainConfiguration;
1337
+ /**
1338
+ * Rule's options
1339
+ */
1340
+ options: NoDocumentCookieOptions;
1341
+ }