@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,4 +1,105 @@
1
- import type { ArrowParentheses, AttributePosition, Bool, BracketSameLine, BracketSpacing, Expand, FixKind, Glob, IndentScriptAndStyle, IndentStyle, IndentWidth, LineEnding, LineWidth, MaxSize, NoAccessKeyOptions, NoAdjacentSpacesInRegexOptions, NoArgumentsOptions, NoAriaHiddenOnFocusableOptions, NoAriaUnsupportedElementsOptions, NoAutofocusOptions, NoBannedTypesOptions, NoCommaOperatorOptions, NoDistractingElementsOptions, NoEmptyTypeParametersOptions, NoExcessiveCognitiveComplexityOptions, NoExcessiveLinesPerFunctionOptions, NoHeaderScopeOptions, NoInteractiveElementToNoninteractiveRoleOptions, NoLabelWithoutControlOptions, NoNoninteractiveElementInteractionsOptions, NoNoninteractiveElementToInteractiveRoleOptions, NoNoninteractiveTabindexOptions, NoPositiveTabindexOptions, NoRedundantAltOptions, NoRedundantRolesOptions, NoStaticElementInteractionsOptions, NoSvgWithoutTitleOptions, OperatorLinebreak, QuoteProperties, QuoteStyle, RuleAssistPlainConfiguration, RuleDomainValue, RulePlainConfiguration, SelfCloseVoidElements, Semicolons, SortOrder, TrailingCommas, TrailingCommas2, UseAltTextOptions, UseAnchorContentOptions, UseAriaActivedescendantWithTabindexOptions, UseAriaPropsForRoleOptions, UseAriaPropsSupportedByRoleOptions, UseButtonTypeOptions, UseFocusableInteractiveOptions, UseGenericFontNamesOptions, UseHeadingContentOptions, UseHtmlLangOptions, UseIframeTitleOptions, UseKeyWithClickEventsOptions, UseKeyWithMouseEventsOptions, UseMediaCaptionOptions, UseSemanticElementsOptions, UseSortedPropertiesOptions, UseValidAnchorOptions, UseValidAriaPropsOptions, UseValidAriaRoleOptions, UseValidAriaValuesOptions, UseValidAutocompleteOptions, UseValidLangOptions, WhitespaceSensitivity } from './schema.ts';
1
+ import type { ArrowParentheses, AttributePosition, Bool, BracketSameLine, BracketSpacing, Expand, IndentScriptAndStyle, IndentStyle, IndentWidth, JsTrailingCommas, JsonTrailingCommas, LineEnding, LineWidth, MaxSize, NegatablePredefinedSourceMatcher, NormalizedGlob, OperatorLinebreak, QuoteProperties, QuoteStyle, RuleAssistPlainConfiguration, RuleDomainValue, SelfCloseVoidElements, Semicolons, SortOrder, UseSortedPropertiesOptions, WhitespaceSensitivity } from './schema.ts';
2
+ export interface NoCommentTextOptions {
3
+ }
4
+ export interface NoCompareNegZeroOptions {
5
+ }
6
+ export interface NoConfusingLabelsOptions {
7
+ /**
8
+ * A list of (non-confusing) labels that should be allowed
9
+ */
10
+ allowedLabels?: string[] | null;
11
+ }
12
+ export interface NoConfusingVoidTypeOptions {
13
+ }
14
+ export interface NoConsoleOptions {
15
+ /**
16
+ * Allowed calls on the console object.
17
+ */
18
+ allow?: string[] | null;
19
+ }
20
+ export interface NoConstEnumOptions {
21
+ }
22
+ export interface NoConstantBinaryExpressionsOptions {
23
+ }
24
+ export interface NoControlCharactersInRegexOptions {
25
+ }
26
+ export interface NoDebuggerOptions {
27
+ }
28
+ export interface NoDocumentCookieOptions {
29
+ }
30
+ export interface NoDocumentImportInPageOptions {
31
+ }
32
+ export interface NoDoubleEqualsOptions {
33
+ /**
34
+ * If `true`, an exception is made when comparing with `null`, as it's often relied on to check
35
+ * both for `null` or `undefined`.
36
+ *
37
+ * If `false`, no such exception will be made.
38
+ */
39
+ ignoreNull?: boolean | null;
40
+ }
41
+ export interface NoDuplicateAtImportRulesOptions {
42
+ }
43
+ export interface NoDuplicateCaseOptions {
44
+ }
45
+ export interface NoDuplicateClassMembersOptions {
46
+ }
47
+ export interface NoDuplicateCustomPropertiesOptions {
48
+ }
49
+ export interface NoDuplicateElseIfOptions {
50
+ }
51
+ export interface NoDuplicateFieldsOptions {
52
+ }
53
+ export interface NoDuplicateFontNamesOptions {
54
+ }
55
+ export interface NoDuplicateJsxPropsOptions {
56
+ }
57
+ export interface NoDuplicateObjectKeysOptions {
58
+ }
59
+ export interface NoDuplicateParametersOptions {
60
+ }
61
+ export interface NoDuplicatePropertiesOptions {
62
+ }
63
+ export interface NoDuplicateSelectorsKeyframeBlockOptions {
64
+ }
65
+ export interface NoDuplicateTestHooksOptions {
66
+ }
67
+ export interface NoEmptyBlockOptions {
68
+ }
69
+ export interface NoEmptyBlockStatementsOptions {
70
+ }
71
+ export interface NoEmptyInterfaceOptions {
72
+ }
73
+ export interface NoEvolvingTypesOptions {
74
+ }
75
+ export interface NoExplicitAnyOptions {
76
+ }
77
+ export interface NoExportsInTestOptions {
78
+ }
79
+ export interface NoExtraNonNullAssertionOptions {
80
+ }
81
+ export interface NoFallthroughSwitchClauseOptions {
82
+ }
83
+ export interface NoFocusedTestsOptions {
84
+ }
85
+ export interface NoFunctionAssignOptions {
86
+ }
87
+ export interface NoGlobalAssignOptions {
88
+ }
89
+ export interface NoGlobalIsFiniteOptions {
90
+ }
91
+ export interface NoGlobalIsNanOptions {
92
+ }
93
+ export interface NoHeadImportInDocumentOptions {
94
+ }
95
+ export interface NoImplicitAnyLetOptions {
96
+ }
97
+ export interface NoImportAssignOptions {
98
+ }
99
+ export interface NoImportantInKeyframeOptions {
100
+ }
101
+ export interface NoIrregularWhitespaceOptions {
102
+ }
2
103
  export interface NoLabelVarOptions {
3
104
  }
4
105
  export interface NoMisleadingCharacterClassOptions {
@@ -93,32 +194,20 @@ export interface UseStaticResponseMethodsOptions {
93
194
  }
94
195
  export interface UseStrictModeOptions {
95
196
  }
197
+ export type Glob = string;
96
198
  export type PluginConfiguration = string;
97
199
  export type VcsClientKind = 'git';
98
- /**
99
- * Glob to match against import sources.
100
- */
101
- export type ImportSourceGlob = Glob;
102
- /**
103
- * Normalized Biome glob pattern that strips `./` from the pattern.
104
- */
105
- export type NormalizedGlob = Glob;
106
- export type OverrideGlobs = Glob[];
200
+ export type SourceMatcher = NegatablePredefinedSourceMatcher | string;
107
201
  export interface UseSortedAttributesOptions {
108
202
  sortOrder?: SortOrder | null;
109
203
  }
110
204
  export interface UseSortedKeysOptions {
111
205
  sortOrder?: SortOrder | null;
112
206
  }
113
- export interface RuleAssistWithOptionsFor_UseSortedPropertiesOptions {
114
- /**
115
- * The severity of the emitted diagnostics by the rule
116
- */
207
+ export interface RuleAssistWithUseSortedPropertiesOptions {
117
208
  level: RuleAssistPlainConfiguration;
118
- /**
119
- * Rule's options
120
- */
121
209
  options: UseSortedPropertiesOptions;
210
+ [k: string]: unknown;
122
211
  }
123
212
  /**
124
213
  * Options that changes how the CSS assist behaves
@@ -235,7 +324,8 @@ export interface JsLinterConfiguration {
235
324
  */
236
325
  export interface JsParserConfiguration {
237
326
  /**
238
- * Enables parsing of Grit metavariables. Defaults to `false`.
327
+ * Enables parsing of Grit metavariables.
328
+ * Defaults to `false`.
239
329
  */
240
330
  gritMetavariables?: Bool | null;
241
331
  /**
@@ -333,6 +423,33 @@ export interface CssFormatterConfiguration {
333
423
  */
334
424
  quoteStyle?: QuoteStyle | null;
335
425
  }
426
+ /**
427
+ * The configuration of the filesystem
428
+ */
429
+ export interface FilesConfiguration {
430
+ /**
431
+ * **Deprecated:** Please use _force-ignore syntax_ in `files.includes`
432
+ * instead: <https://biomejs.dev/reference/configuration/#filesincludes>
433
+ *
434
+ * Set of file and folder names that should be unconditionally ignored by
435
+ * Biome's scanner.
436
+ */
437
+ experimentalScannerIgnores?: string[] | null;
438
+ /**
439
+ * Tells Biome to not emit diagnostics when handling files that it doesn't know
440
+ */
441
+ ignoreUnknown?: Bool | null;
442
+ /**
443
+ * A list of glob patterns. Biome will handle only those files/folders that will
444
+ * match these patterns.
445
+ */
446
+ includes?: NormalizedGlob[] | null;
447
+ /**
448
+ * The maximum allowed size for source code files in bytes. Files above
449
+ * this limit will be ignored for performance reasons. Defaults to 1 MiB
450
+ */
451
+ maxSize?: MaxSize | null;
452
+ }
336
453
  export interface OverrideFilesConfiguration {
337
454
  /**
338
455
  * File size limit in bytes
@@ -372,6 +489,66 @@ export interface GraphqlFormatterConfiguration {
372
489
  */
373
490
  quoteStyle?: QuoteStyle | null;
374
491
  }
492
+ /**
493
+ * Generic options applied to all files
494
+ */
495
+ export interface FormatterConfiguration {
496
+ /**
497
+ * The attribute position style in HTML-ish languages. Defaults to auto.
498
+ */
499
+ attributePosition?: AttributePosition | null;
500
+ /**
501
+ * Put the `>` of a multi-line HTML or JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).
502
+ */
503
+ bracketSameLine?: BracketSameLine | null;
504
+ /**
505
+ * Whether to insert spaces around brackets in object literals. Defaults to true.
506
+ */
507
+ bracketSpacing?: BracketSpacing | null;
508
+ enabled?: Bool | null;
509
+ /**
510
+ * Whether to expand arrays and objects on multiple lines.
511
+ * When set to `auto`, object literals are formatted on multiple lines if the first property has a newline,
512
+ * and array literals are formatted on a single line if it fits in the line.
513
+ * When set to `always`, these literals are formatted on multiple lines, regardless of length of the list.
514
+ * When set to `never`, these literals are formatted on a single line if it fits in the line.
515
+ * When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
516
+ */
517
+ expand?: Expand | null;
518
+ /**
519
+ * Whether formatting should be allowed to proceed if a given file
520
+ * has syntax errors
521
+ */
522
+ formatWithErrors?: Bool | null;
523
+ /**
524
+ * A list of glob patterns. The formatter will include files/folders that will
525
+ * match these patterns.
526
+ */
527
+ includes?: NormalizedGlob[] | null;
528
+ /**
529
+ * The indent style.
530
+ */
531
+ indentStyle?: IndentStyle | null;
532
+ /**
533
+ * The size of the indentation, 2 by default
534
+ */
535
+ indentWidth?: IndentWidth | null;
536
+ /**
537
+ * The type of line ending.
538
+ */
539
+ lineEnding?: LineEnding | null;
540
+ /**
541
+ * What's the max width of a line. Defaults to 80.
542
+ */
543
+ lineWidth?: LineWidth | null;
544
+ /**
545
+ * Use any `.editorconfig` files to configure the formatter. Configuration
546
+ * in `biome.json` will override `.editorconfig` configuration.
547
+ *
548
+ * Default: `true`.
549
+ */
550
+ useEditorconfig?: Bool | null;
551
+ }
375
552
  export interface OverrideFormatterConfiguration {
376
553
  /**
377
554
  * The attribute position style.
@@ -387,11 +564,17 @@ export interface OverrideFormatterConfiguration {
387
564
  bracketSpacing?: BracketSpacing | null;
388
565
  enabled?: Bool | null;
389
566
  /**
390
- * Whether to expand arrays and objects on multiple lines. When set to `auto`, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to `always`, these literals are formatted on multiple lines, regardless of length of the list. When set to `never`, these literals are formatted on a single line if it fits in the line. When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
567
+ * Whether to expand arrays and objects on multiple lines.
568
+ * When set to `auto`, object literals are formatted on multiple lines if the first property has a newline,
569
+ * and array literals are formatted on a single line if it fits in the line.
570
+ * When set to `always`, these literals are formatted on multiple lines, regardless of length of the list.
571
+ * When set to `never`, these literals are formatted on a single line if it fits in the line.
572
+ * When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
391
573
  */
392
574
  expand?: Expand | null;
393
575
  /**
394
- * Stores whether formatting should be allowed to proceed if a given file has syntax errors
576
+ * Stores whether formatting should be allowed to proceed if a given file
577
+ * has syntax errors
395
578
  */
396
579
  formatWithErrors?: Bool | null;
397
580
  /**
@@ -485,7 +668,12 @@ export interface JsFormatterConfiguration {
485
668
  */
486
669
  enabled?: Bool | null;
487
670
  /**
488
- * Whether to expand arrays and objects on multiple lines. When set to `auto`, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to `always`, these literals are formatted on multiple lines, regardless of length of the list. When set to `never`, these literals are formatted on a single line if it fits in the line. When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
671
+ * Whether to expand arrays and objects on multiple lines.
672
+ * When set to `auto`, object literals are formatted on multiple lines if the first property has a newline,
673
+ * and array literals are formatted on a single line if it fits in the line.
674
+ * When set to `always`, these literals are formatted on multiple lines, regardless of length of the list.
675
+ * When set to `never`, these literals are formatted on a single line if it fits in the line.
676
+ * When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
489
677
  */
490
678
  expand?: Expand | null;
491
679
  /**
@@ -527,7 +715,7 @@ export interface JsFormatterConfiguration {
527
715
  /**
528
716
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "all".
529
717
  */
530
- trailingCommas?: TrailingCommas | null;
718
+ trailingCommas?: JsTrailingCommas | null;
531
719
  }
532
720
  export interface JsonFormatterConfiguration {
533
721
  /**
@@ -539,7 +727,12 @@ export interface JsonFormatterConfiguration {
539
727
  */
540
728
  enabled?: Bool | null;
541
729
  /**
542
- * Whether to expand arrays and objects on multiple lines. When set to `auto`, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to `always`, these literals are formatted on multiple lines, regardless of length of the list. When set to `never`, these literals are formatted on a single line if it fits in the line. When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
730
+ * Whether to expand arrays and objects on multiple lines.
731
+ * When set to `auto`, object literals are formatted on multiple lines if the first property has a newline,
732
+ * and array literals are formatted on a single line if it fits in the line.
733
+ * When set to `always`, these literals are formatted on multiple lines, regardless of length of the list.
734
+ * When set to `never`, these literals are formatted on a single line if it fits in the line.
735
+ * When formatting `package.json`, Biome will use `always` unless configured otherwise. Defaults to "auto".
543
736
  */
544
737
  expand?: Expand | null;
545
738
  /**
@@ -561,516 +754,8 @@ export interface JsonFormatterConfiguration {
561
754
  /**
562
755
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "none".
563
756
  */
564
- trailingCommas?: TrailingCommas2 | null;
757
+ trailingCommas?: JsonTrailingCommas | null;
565
758
  }
566
759
  export interface RuleDomains {
567
760
  [k: string]: RuleDomainValue;
568
761
  }
569
- export interface RuleWithNoAccessKeyOptions {
570
- /**
571
- * The kind of the code actions emitted by the rule
572
- */
573
- fix?: FixKind | null;
574
- /**
575
- * The severity of the emitted diagnostics by the rule
576
- */
577
- level: RulePlainConfiguration;
578
- /**
579
- * Rule's options
580
- */
581
- options?: NoAccessKeyOptions;
582
- }
583
- export interface RuleWithNoAriaHiddenOnFocusableOptions {
584
- /**
585
- * The kind of the code actions emitted by the rule
586
- */
587
- fix?: FixKind | null;
588
- /**
589
- * The severity of the emitted diagnostics by the rule
590
- */
591
- level: RulePlainConfiguration;
592
- /**
593
- * Rule's options
594
- */
595
- options?: NoAriaHiddenOnFocusableOptions;
596
- }
597
- export interface RuleWithNoAriaUnsupportedElementsOptions {
598
- /**
599
- * The kind of the code actions emitted by the rule
600
- */
601
- fix?: FixKind | null;
602
- /**
603
- * The severity of the emitted diagnostics by the rule
604
- */
605
- level: RulePlainConfiguration;
606
- /**
607
- * Rule's options
608
- */
609
- options?: NoAriaUnsupportedElementsOptions;
610
- }
611
- export interface RuleWithNoAutofocusOptions {
612
- /**
613
- * The kind of the code actions emitted by the rule
614
- */
615
- fix?: FixKind | null;
616
- /**
617
- * The severity of the emitted diagnostics by the rule
618
- */
619
- level: RulePlainConfiguration;
620
- /**
621
- * Rule's options
622
- */
623
- options?: NoAutofocusOptions;
624
- }
625
- export interface RuleWithNoDistractingElementsOptions {
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?: NoDistractingElementsOptions;
638
- }
639
- export interface RuleWithNoHeaderScopeOptions {
640
- /**
641
- * The kind of the code actions emitted by the rule
642
- */
643
- fix?: FixKind | null;
644
- /**
645
- * The severity of the emitted diagnostics by the rule
646
- */
647
- level: RulePlainConfiguration;
648
- /**
649
- * Rule's options
650
- */
651
- options?: NoHeaderScopeOptions;
652
- }
653
- export interface RuleWithNoInteractiveElementToNoninteractiveRoleOptions {
654
- /**
655
- * The kind of the code actions emitted by the rule
656
- */
657
- fix?: FixKind | null;
658
- /**
659
- * The severity of the emitted diagnostics by the rule
660
- */
661
- level: RulePlainConfiguration;
662
- /**
663
- * Rule's options
664
- */
665
- options?: NoInteractiveElementToNoninteractiveRoleOptions;
666
- }
667
- export interface RuleWithNoLabelWithoutControlOptions {
668
- /**
669
- * The severity of the emitted diagnostics by the rule
670
- */
671
- level: RulePlainConfiguration;
672
- /**
673
- * Rule's options
674
- */
675
- options?: NoLabelWithoutControlOptions;
676
- }
677
- export interface RuleWithNoNoninteractiveElementInteractionsOptions {
678
- /**
679
- * The severity of the emitted diagnostics by the rule
680
- */
681
- level: RulePlainConfiguration;
682
- /**
683
- * Rule's options
684
- */
685
- options?: NoNoninteractiveElementInteractionsOptions;
686
- }
687
- export interface RuleWithNoNoninteractiveElementToInteractiveRoleOptions {
688
- /**
689
- * The kind of the code actions emitted by the rule
690
- */
691
- fix?: FixKind | null;
692
- /**
693
- * The severity of the emitted diagnostics by the rule
694
- */
695
- level: RulePlainConfiguration;
696
- /**
697
- * Rule's options
698
- */
699
- options?: NoNoninteractiveElementToInteractiveRoleOptions;
700
- }
701
- export interface RuleWithNoNoninteractiveTabindexOptions {
702
- /**
703
- * The kind of the code actions emitted by the rule
704
- */
705
- fix?: FixKind | null;
706
- /**
707
- * The severity of the emitted diagnostics by the rule
708
- */
709
- level: RulePlainConfiguration;
710
- /**
711
- * Rule's options
712
- */
713
- options?: NoNoninteractiveTabindexOptions;
714
- }
715
- export interface RuleWithNoPositiveTabindexOptions {
716
- /**
717
- * The kind of the code actions emitted by the rule
718
- */
719
- fix?: FixKind | null;
720
- /**
721
- * The severity of the emitted diagnostics by the rule
722
- */
723
- level: RulePlainConfiguration;
724
- /**
725
- * Rule's options
726
- */
727
- options?: NoPositiveTabindexOptions;
728
- }
729
- export interface RuleWithNoRedundantAltOptions {
730
- /**
731
- * The severity of the emitted diagnostics by the rule
732
- */
733
- level: RulePlainConfiguration;
734
- /**
735
- * Rule's options
736
- */
737
- options?: NoRedundantAltOptions;
738
- }
739
- export interface RuleWithNoRedundantRolesOptions {
740
- /**
741
- * The kind of the code actions emitted by the rule
742
- */
743
- fix?: FixKind | null;
744
- /**
745
- * The severity of the emitted diagnostics by the rule
746
- */
747
- level: RulePlainConfiguration;
748
- /**
749
- * Rule's options
750
- */
751
- options?: NoRedundantRolesOptions;
752
- }
753
- export interface RuleWithNoStaticElementInteractionsOptions {
754
- /**
755
- * The severity of the emitted diagnostics by the rule
756
- */
757
- level: RulePlainConfiguration;
758
- /**
759
- * Rule's options
760
- */
761
- options?: NoStaticElementInteractionsOptions;
762
- }
763
- export interface RuleWithNoSvgWithoutTitleOptions {
764
- /**
765
- * The severity of the emitted diagnostics by the rule
766
- */
767
- level: RulePlainConfiguration;
768
- /**
769
- * Rule's options
770
- */
771
- options?: NoSvgWithoutTitleOptions;
772
- }
773
- export interface RuleWithUseAltTextOptions {
774
- /**
775
- * The severity of the emitted diagnostics by the rule
776
- */
777
- level: RulePlainConfiguration;
778
- /**
779
- * Rule's options
780
- */
781
- options?: UseAltTextOptions;
782
- }
783
- export interface RuleWithUseAnchorContentOptions {
784
- /**
785
- * The kind of the code actions emitted by the rule
786
- */
787
- fix?: FixKind | null;
788
- /**
789
- * The severity of the emitted diagnostics by the rule
790
- */
791
- level: RulePlainConfiguration;
792
- /**
793
- * Rule's options
794
- */
795
- options?: UseAnchorContentOptions;
796
- }
797
- export interface RuleWithUseAriaActivedescendantWithTabindexOptions {
798
- /**
799
- * The kind of the code actions emitted by the rule
800
- */
801
- fix?: FixKind | null;
802
- /**
803
- * The severity of the emitted diagnostics by the rule
804
- */
805
- level: RulePlainConfiguration;
806
- /**
807
- * Rule's options
808
- */
809
- options?: UseAriaActivedescendantWithTabindexOptions;
810
- }
811
- export interface RuleWithUseAriaPropsForRoleOptions {
812
- /**
813
- * The severity of the emitted diagnostics by the rule
814
- */
815
- level: RulePlainConfiguration;
816
- /**
817
- * Rule's options
818
- */
819
- options?: UseAriaPropsForRoleOptions;
820
- }
821
- export interface RuleWithUseAriaPropsSupportedByRoleOptions {
822
- /**
823
- * The severity of the emitted diagnostics by the rule
824
- */
825
- level: RulePlainConfiguration;
826
- /**
827
- * Rule's options
828
- */
829
- options?: UseAriaPropsSupportedByRoleOptions;
830
- }
831
- export interface RuleWithUseButtonTypeOptions {
832
- /**
833
- * The severity of the emitted diagnostics by the rule
834
- */
835
- level: RulePlainConfiguration;
836
- /**
837
- * Rule's options
838
- */
839
- options?: UseButtonTypeOptions;
840
- }
841
- export interface RuleWithUseFocusableInteractiveOptions {
842
- /**
843
- * The severity of the emitted diagnostics by the rule
844
- */
845
- level: RulePlainConfiguration;
846
- /**
847
- * Rule's options
848
- */
849
- options?: UseFocusableInteractiveOptions;
850
- }
851
- export interface RuleWithUseGenericFontNamesOptions {
852
- /**
853
- * The severity of the emitted diagnostics by the rule
854
- */
855
- level: RulePlainConfiguration;
856
- /**
857
- * Rule's options
858
- */
859
- options?: UseGenericFontNamesOptions;
860
- }
861
- export interface RuleWithUseHeadingContentOptions {
862
- /**
863
- * The severity of the emitted diagnostics by the rule
864
- */
865
- level: RulePlainConfiguration;
866
- /**
867
- * Rule's options
868
- */
869
- options?: UseHeadingContentOptions;
870
- }
871
- export interface RuleWithUseHtmlLangOptions {
872
- /**
873
- * The severity of the emitted diagnostics by the rule
874
- */
875
- level: RulePlainConfiguration;
876
- /**
877
- * Rule's options
878
- */
879
- options?: UseHtmlLangOptions;
880
- }
881
- export interface RuleWithUseIframeTitleOptions {
882
- /**
883
- * The severity of the emitted diagnostics by the rule
884
- */
885
- level: RulePlainConfiguration;
886
- /**
887
- * Rule's options
888
- */
889
- options?: UseIframeTitleOptions;
890
- }
891
- export interface RuleWithUseKeyWithClickEventsOptions {
892
- /**
893
- * The severity of the emitted diagnostics by the rule
894
- */
895
- level: RulePlainConfiguration;
896
- /**
897
- * Rule's options
898
- */
899
- options?: UseKeyWithClickEventsOptions;
900
- }
901
- export interface RuleWithUseKeyWithMouseEventsOptions {
902
- /**
903
- * The severity of the emitted diagnostics by the rule
904
- */
905
- level: RulePlainConfiguration;
906
- /**
907
- * Rule's options
908
- */
909
- options?: UseKeyWithMouseEventsOptions;
910
- }
911
- export interface RuleWithUseMediaCaptionOptions {
912
- /**
913
- * The severity of the emitted diagnostics by the rule
914
- */
915
- level: RulePlainConfiguration;
916
- /**
917
- * Rule's options
918
- */
919
- options?: UseMediaCaptionOptions;
920
- }
921
- export interface RuleWithUseSemanticElementsOptions {
922
- /**
923
- * The severity of the emitted diagnostics by the rule
924
- */
925
- level: RulePlainConfiguration;
926
- /**
927
- * Rule's options
928
- */
929
- options?: UseSemanticElementsOptions;
930
- }
931
- export interface RuleWithUseValidAnchorOptions {
932
- /**
933
- * The severity of the emitted diagnostics by the rule
934
- */
935
- level: RulePlainConfiguration;
936
- /**
937
- * Rule's options
938
- */
939
- options?: UseValidAnchorOptions;
940
- }
941
- export interface RuleWithUseValidAriaPropsOptions {
942
- /**
943
- * The kind of the code actions emitted by the rule
944
- */
945
- fix?: FixKind | null;
946
- /**
947
- * The severity of the emitted diagnostics by the rule
948
- */
949
- level: RulePlainConfiguration;
950
- /**
951
- * Rule's options
952
- */
953
- options?: UseValidAriaPropsOptions;
954
- }
955
- export interface RuleWithUseValidAriaRoleOptions {
956
- /**
957
- * The kind of the code actions emitted by the rule
958
- */
959
- fix?: FixKind | null;
960
- /**
961
- * The severity of the emitted diagnostics by the rule
962
- */
963
- level: RulePlainConfiguration;
964
- /**
965
- * Rule's options
966
- */
967
- options?: UseValidAriaRoleOptions;
968
- }
969
- export interface RuleWithUseValidAriaValuesOptions {
970
- /**
971
- * The severity of the emitted diagnostics by the rule
972
- */
973
- level: RulePlainConfiguration;
974
- /**
975
- * Rule's options
976
- */
977
- options?: UseValidAriaValuesOptions;
978
- }
979
- export interface RuleWithUseValidAutocompleteOptions {
980
- /**
981
- * The severity of the emitted diagnostics by the rule
982
- */
983
- level: RulePlainConfiguration;
984
- /**
985
- * Rule's options
986
- */
987
- options?: UseValidAutocompleteOptions;
988
- }
989
- export interface RuleWithUseValidLangOptions {
990
- /**
991
- * The severity of the emitted diagnostics by the rule
992
- */
993
- level: RulePlainConfiguration;
994
- /**
995
- * Rule's options
996
- */
997
- options?: UseValidLangOptions;
998
- }
999
- export interface RuleWithNoAdjacentSpacesInRegexOptions {
1000
- /**
1001
- * The kind of the code actions emitted by the rule
1002
- */
1003
- fix?: FixKind | null;
1004
- /**
1005
- * The severity of the emitted diagnostics by the rule
1006
- */
1007
- level: RulePlainConfiguration;
1008
- /**
1009
- * Rule's options
1010
- */
1011
- options?: NoAdjacentSpacesInRegexOptions;
1012
- }
1013
- export interface RuleWithNoArgumentsOptions {
1014
- /**
1015
- * The severity of the emitted diagnostics by the rule
1016
- */
1017
- level: RulePlainConfiguration;
1018
- /**
1019
- * Rule's options
1020
- */
1021
- options?: NoArgumentsOptions;
1022
- }
1023
- export interface RuleWithNoBannedTypesOptions {
1024
- /**
1025
- * The kind of the code actions emitted by the rule
1026
- */
1027
- fix?: FixKind | null;
1028
- /**
1029
- * The severity of the emitted diagnostics by the rule
1030
- */
1031
- level: RulePlainConfiguration;
1032
- /**
1033
- * Rule's options
1034
- */
1035
- options?: NoBannedTypesOptions;
1036
- }
1037
- export interface RuleWithNoCommaOperatorOptions {
1038
- /**
1039
- * The severity of the emitted diagnostics by the rule
1040
- */
1041
- level: RulePlainConfiguration;
1042
- /**
1043
- * Rule's options
1044
- */
1045
- options?: NoCommaOperatorOptions;
1046
- }
1047
- export interface RuleWithNoEmptyTypeParametersOptions {
1048
- /**
1049
- * The severity of the emitted diagnostics by the rule
1050
- */
1051
- level: RulePlainConfiguration;
1052
- /**
1053
- * Rule's options
1054
- */
1055
- options?: NoEmptyTypeParametersOptions;
1056
- }
1057
- export interface RuleWithNoExcessiveCognitiveComplexityOptions {
1058
- /**
1059
- * The severity of the emitted diagnostics by the rule
1060
- */
1061
- level: RulePlainConfiguration;
1062
- /**
1063
- * Rule's options
1064
- */
1065
- options?: NoExcessiveCognitiveComplexityOptions;
1066
- }
1067
- export interface RuleWithNoExcessiveLinesPerFunctionOptions {
1068
- /**
1069
- * The severity of the emitted diagnostics by the rule
1070
- */
1071
- level: RulePlainConfiguration;
1072
- /**
1073
- * Rule's options
1074
- */
1075
- options?: NoExcessiveLinesPerFunctionOptions;
1076
- }