@quentinhsu/biome-config 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +44 -0
  2. package/package.json +7 -4
  3. package/dist/build.mjs +0 -387
  4. package/dist/index.jsonc +0 -152
  5. package/dist/index.mjs +0 -357
  6. package/dist/next.jsonc +0 -169
  7. package/dist/nuxt.jsonc +0 -224
  8. package/dist/react.jsonc +0 -167
  9. package/dist/types/scripts/generate-biome-types.d.ts +0 -1
  10. package/dist/types/scripts/generate-changelog.d.ts +0 -6
  11. package/dist/types/src/build.d.ts +0 -1
  12. package/dist/types/src/constants/biome.d.ts +0 -1
  13. package/dist/types/src/generated/biome/index.d.ts +0 -11
  14. package/dist/types/src/generated/biome/no-compare-neg-zero-configuration.d.ts +0 -986
  15. package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +0 -306
  16. package/dist/types/src/generated/biome/no-nested-ternary-options.d.ts +0 -292
  17. package/dist/types/src/generated/biome/no-octal-escape-options.d.ts +0 -1138
  18. package/dist/types/src/generated/biome/no-shadow-configuration.d.ts +0 -241
  19. package/dist/types/src/generated/biome/nursery.d.ts +0 -1023
  20. package/dist/types/src/generated/biome/rule-with-no-duplicate-custom-properties-options.d.ts +0 -1095
  21. package/dist/types/src/generated/biome/rule-with-no-useless-catch-options.d.ts +0 -1430
  22. package/dist/types/src/generated/biome/rule-with-use-image-size-options.d.ts +0 -1339
  23. package/dist/types/src/generated/biome/schema.d.ts +0 -291
  24. package/dist/types/src/generated/biome/use-valid-lang-configuration.d.ts +0 -163
  25. package/dist/types/src/index.d.ts +0 -15
  26. package/dist/types/src/presets/next.d.ts +0 -1
  27. package/dist/types/src/presets/nuxt.d.ts +0 -1
  28. package/dist/types/src/presets/react.d.ts +0 -1
  29. package/dist/types/src/presets/vue.d.ts +0 -1
  30. package/dist/types/src/source/index.d.ts +0 -2
  31. package/dist/types/src/types.d.ts +0 -1
  32. package/dist/types/src/utils/merge.d.ts +0 -2
  33. package/dist/vue.jsonc +0 -176
@@ -1,1138 +0,0 @@
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, NoExcessiveNestedTestSuitesOptions, NoExtraBooleanCastOptions, NoFlatMapIdentityOptions, NoForEachOptions, NoHeaderScopeOptions, NoImplicitCoercionsOptions, NoImportantStylesOptions, NoInteractiveElementToNoninteractiveRoleOptions, NoLabelWithoutControlOptions, NoNoninteractiveElementInteractionsOptions, NoNoninteractiveElementToInteractiveRoleOptions, NoNoninteractiveTabindexOptions, NoPositiveTabindexOptions, NoRedundantAltOptions, NoRedundantRolesOptions, NoStaticElementInteractionsOptions, NoStaticOnlyClassOptions, NoSvgWithoutTitleOptions, NoThisInStaticOptions, 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';
2
- export interface NoOctalEscapeOptions {
3
- }
4
- export interface NoPrototypeBuiltinsOptions {
5
- }
6
- export interface NoQuickfixBiomeOptions {
7
- /**
8
- * A list of additional JSON files that should be checked.
9
- */
10
- additionalPaths?: string[];
11
- }
12
- export interface NoReactSpecificPropsOptions {
13
- }
14
- export interface NoRedeclareOptions {
15
- }
16
- export interface NoRedundantUseStrictOptions {
17
- }
18
- export interface NoSelfCompareOptions {
19
- }
20
- export interface NoShadowRestrictedNamesOptions {
21
- }
22
- export interface NoShorthandPropertyOverridesOptions {
23
- }
24
- export interface NoSkippedTestsOptions {
25
- }
26
- export interface NoSparseArrayOptions {
27
- }
28
- export interface NoSuspiciousSemicolonInJsxOptions {
29
- }
30
- export interface NoTemplateCurlyInStringOptions {
31
- }
32
- export interface NoThenPropertyOptions {
33
- }
34
- export interface NoTsIgnoreOptions {
35
- }
36
- export interface NoUnassignedVariablesOptions {
37
- }
38
- export interface NoUnknownAtRulesOptions {
39
- }
40
- export interface NoUnsafeDeclarationMergingOptions {
41
- }
42
- export interface NoUnsafeNegationOptions {
43
- }
44
- export interface NoUselessEscapeInStringOptions {
45
- }
46
- export interface NoUselessRegexBackrefsOptions {
47
- }
48
- export interface NoVarOptions {
49
- }
50
- export interface NoWithOptions {
51
- }
52
- export interface UseAdjacentOverloadSignaturesOptions {
53
- }
54
- export interface UseAwaitOptions {
55
- }
56
- export interface UseBiomeIgnoreFolderOptions {
57
- }
58
- export interface UseDefaultSwitchClauseLastOptions {
59
- }
60
- export interface UseErrorMessageOptions {
61
- }
62
- export interface UseGetterReturnOptions {
63
- }
64
- export interface UseGoogleFontDisplayOptions {
65
- }
66
- export interface UseGuardForInOptions {
67
- }
68
- export interface UseIsArrayOptions {
69
- }
70
- export interface UseIterableCallbackReturnOptions {
71
- }
72
- export interface UseNamespaceKeywordOptions {
73
- }
74
- export interface UseNumberToFixedDigitsArgumentOptions {
75
- }
76
- export interface UseStaticResponseMethodsOptions {
77
- }
78
- export interface UseStrictModeOptions {
79
- }
80
- export type PluginConfiguration = string;
81
- export type VcsClientKind = 'git';
82
- /**
83
- * Glob to match against import sources.
84
- */
85
- export type ImportSourceGlob = Glob;
86
- /**
87
- * Normalized Biome glob pattern that strips `./` from the pattern.
88
- */
89
- export type NormalizedGlob = Glob;
90
- export type OverrideGlobs = Glob[];
91
- export interface UseSortedAttributesOptions {
92
- sortOrder?: SortOrder & string;
93
- }
94
- export interface UseSortedKeysOptions {
95
- sortOrder?: SortOrder & string;
96
- }
97
- export interface RuleAssistWithOptionsFor_UseSortedPropertiesOptions {
98
- /**
99
- * The severity of the emitted diagnostics by the rule
100
- */
101
- level: RuleAssistPlainConfiguration;
102
- /**
103
- * Rule's options
104
- */
105
- options: UseSortedPropertiesOptions;
106
- }
107
- /**
108
- * Options that changes how the CSS assist behaves
109
- */
110
- export interface CssAssistConfiguration {
111
- /**
112
- * Control the assist for CSS files.
113
- */
114
- enabled?: Bool | null;
115
- }
116
- /**
117
- * Options that changes how the CSS linter behaves
118
- */
119
- export interface CssLinterConfiguration {
120
- /**
121
- * Control the linter for CSS files.
122
- */
123
- enabled?: Bool | null;
124
- }
125
- /**
126
- * Options that changes how the CSS parser behaves
127
- */
128
- export interface CssParserConfiguration {
129
- /**
130
- * Allow comments to appear on incorrect lines in `.css` files
131
- */
132
- allowWrongLineComments?: Bool | null;
133
- /**
134
- * Enables parsing of CSS Modules specific features.
135
- */
136
- cssModules?: Bool | null;
137
- }
138
- /**
139
- * Options that changes how the GraphQL linter behaves
140
- */
141
- export interface GraphqlAssistConfiguration {
142
- /**
143
- * Control the formatter for GraphQL files.
144
- */
145
- enabled?: Bool | null;
146
- }
147
- /**
148
- * Options that change how the GraphQL linter behaves.
149
- */
150
- export interface GraphqlLinterConfiguration {
151
- /**
152
- * Control the formatter for GraphQL files.
153
- */
154
- enabled?: Bool | null;
155
- }
156
- export interface GritAssistConfiguration {
157
- /**
158
- * Control the assist functionality for Grit files.
159
- */
160
- enabled?: Bool | null;
161
- }
162
- export interface GritLinterConfiguration {
163
- /**
164
- * Control the linter for Grit files.
165
- */
166
- enabled?: Bool | null;
167
- }
168
- /**
169
- * Options that changes how the HTML parser behaves
170
- */
171
- export interface HtmlParserConfiguration {
172
- /**
173
- * Enables the parsing of double text expressions such as `{{ expression }}` inside `.html` files
174
- */
175
- interpolation?: Bool | null;
176
- }
177
- /**
178
- * Assist options specific to the JavaScript assist
179
- */
180
- export interface JsAssistConfiguration {
181
- /**
182
- * Control the assist for JavaScript (and its super languages) files.
183
- */
184
- enabled?: Bool | null;
185
- }
186
- /**
187
- * Linter options specific to the JavaScript linter
188
- */
189
- export interface JsLinterConfiguration {
190
- /**
191
- * Control the linter for JavaScript (and its super languages) files.
192
- */
193
- enabled?: Bool | null;
194
- }
195
- /**
196
- * Options that changes how the JavaScript parser behaves
197
- */
198
- export interface JsParserConfiguration {
199
- /**
200
- * Enables parsing of Grit metavariables. Defaults to `false`.
201
- */
202
- gritMetavariables?: Bool | null;
203
- /**
204
- * When enabled, files like `.js`/`.mjs`/`.cjs` may contain JSX syntax.
205
- *
206
- * Defaults to `true`.
207
- */
208
- jsxEverywhere?: Bool | null;
209
- /**
210
- * It enables the experimental and unsafe parsing of parameter decorators
211
- *
212
- * These decorators belong to an old proposal, and they are subject to change.
213
- */
214
- unsafeParameterDecoratorsEnabled?: Bool | null;
215
- }
216
- /**
217
- * Linter options specific to the JSON linter
218
- */
219
- export interface JsonAssistConfiguration {
220
- /**
221
- * Control the assist for JSON (and its super languages) files.
222
- */
223
- enabled?: Bool | null;
224
- }
225
- /**
226
- * Linter options specific to the JSON linter
227
- */
228
- export interface JsonLinterConfiguration {
229
- /**
230
- * Control the linter for JSON (and its super languages) files.
231
- */
232
- enabled?: Bool | null;
233
- }
234
- /**
235
- * Options that changes how the JSON parser behaves
236
- */
237
- export interface JsonParserConfiguration {
238
- /**
239
- * Allow parsing comments in `.json` files
240
- */
241
- allowComments?: Bool | null;
242
- /**
243
- * Allow parsing trailing commas in `.json` files
244
- */
245
- allowTrailingCommas?: Bool | null;
246
- }
247
- export interface GritFormatterConfiguration {
248
- /**
249
- * Control the formatter for Grit files.
250
- */
251
- enabled?: Bool | null;
252
- /**
253
- * The indent style applied to Grit files.
254
- */
255
- indentStyle?: IndentStyle | null;
256
- /**
257
- * The size of the indentation applied to Grit files. Default to 2.
258
- */
259
- indentWidth?: IndentWidth | null;
260
- /**
261
- * The type of line ending applied to Grit files.
262
- */
263
- lineEnding?: LineEnding | null;
264
- /**
265
- * What's the max width of a line applied to Grit files. Defaults to 80.
266
- */
267
- lineWidth?: LineWidth | null;
268
- }
269
- /**
270
- * Options that changes how the CSS formatter behaves
271
- */
272
- export interface CssFormatterConfiguration {
273
- /**
274
- * Control the formatter for CSS (and its super languages) files.
275
- */
276
- enabled?: Bool | null;
277
- /**
278
- * The indent style applied to CSS (and its super languages) files.
279
- */
280
- indentStyle?: IndentStyle | null;
281
- /**
282
- * The size of the indentation applied to CSS (and its super languages) files. Default to 2.
283
- */
284
- indentWidth?: IndentWidth | null;
285
- /**
286
- * The type of line ending applied to CSS (and its super languages) files.
287
- */
288
- lineEnding?: LineEnding | null;
289
- /**
290
- * What's the max width of a line applied to CSS (and its super languages) files. Defaults to 80.
291
- */
292
- lineWidth?: LineWidth | null;
293
- /**
294
- * The type of quotes used in CSS code. Defaults to double.
295
- */
296
- quoteStyle?: QuoteStyle | null;
297
- }
298
- export interface OverrideFilesConfiguration {
299
- /**
300
- * File size limit in bytes
301
- */
302
- maxSize?: MaxSize | null;
303
- }
304
- /**
305
- * Options that changes how the GraphQL formatter behaves
306
- */
307
- export interface GraphqlFormatterConfiguration {
308
- /**
309
- * Whether to insert spaces around brackets in object literals. Defaults to true.
310
- */
311
- bracketSpacing?: BracketSpacing | null;
312
- /**
313
- * Control the formatter for GraphQL files.
314
- */
315
- enabled?: Bool | null;
316
- /**
317
- * The indent style applied to GraphQL files.
318
- */
319
- indentStyle?: IndentStyle | null;
320
- /**
321
- * The size of the indentation applied to GraphQL files. Default to 2.
322
- */
323
- indentWidth?: IndentWidth | null;
324
- /**
325
- * The type of line ending applied to GraphQL files.
326
- */
327
- lineEnding?: LineEnding | null;
328
- /**
329
- * What's the max width of a line applied to GraphQL files. Defaults to 80.
330
- */
331
- lineWidth?: LineWidth | null;
332
- /**
333
- * The type of quotes used in GraphQL code. Defaults to double.
334
- */
335
- quoteStyle?: QuoteStyle | null;
336
- }
337
- export interface OverrideFormatterConfiguration {
338
- /**
339
- * The attribute position style.
340
- */
341
- attributePosition?: AttributePosition | null;
342
- /**
343
- * 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).
344
- */
345
- bracketSameLine?: BracketSameLine | null;
346
- /**
347
- * Whether to insert spaces around brackets in object literals. Defaults to true.
348
- */
349
- bracketSpacing?: BracketSpacing | null;
350
- enabled?: Bool | null;
351
- /**
352
- * 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".
353
- */
354
- expand?: Expand | null;
355
- /**
356
- * Stores whether formatting should be allowed to proceed if a given file has syntax errors
357
- */
358
- formatWithErrors?: Bool | null;
359
- /**
360
- * The size of the indentation, 2 by default (deprecated, use `indent-width`)
361
- */
362
- indentSize?: IndentWidth | null;
363
- /**
364
- * The indent style.
365
- */
366
- indentStyle?: IndentStyle | null;
367
- /**
368
- * The size of the indentation, 2 by default
369
- */
370
- indentWidth?: IndentWidth | null;
371
- /**
372
- * The type of line ending.
373
- */
374
- lineEnding?: LineEnding | null;
375
- /**
376
- * What's the max width of a line. Defaults to 80.
377
- */
378
- lineWidth?: LineWidth | null;
379
- }
380
- /**
381
- * Options that changes how the HTML formatter behaves
382
- */
383
- export interface HtmlFormatterConfiguration {
384
- /**
385
- * The attribute position style in HTML elements. Defaults to auto.
386
- */
387
- attributePosition?: AttributePosition | null;
388
- /**
389
- * Whether to hug the closing bracket of multiline HTML tags to the end of the last line, rather than being alone on the following line. Defaults to false.
390
- */
391
- bracketSameLine?: BracketSameLine | null;
392
- /**
393
- * Control the formatter for HTML (and its super languages) files.
394
- */
395
- enabled?: Bool | null;
396
- /**
397
- * Whether to indent the `<script>` and `<style>` tags for HTML (and its super languages). Defaults to false.
398
- */
399
- indentScriptAndStyle?: IndentScriptAndStyle | null;
400
- /**
401
- * The indent style applied to HTML (and its super languages) files.
402
- */
403
- indentStyle?: IndentStyle | null;
404
- /**
405
- * The size of the indentation applied to HTML (and its super languages) files. Default to 2.
406
- */
407
- indentWidth?: IndentWidth | null;
408
- /**
409
- * The type of line ending applied to HTML (and its super languages) files.
410
- */
411
- lineEnding?: LineEnding | null;
412
- /**
413
- * What's the max width of a line applied to HTML (and its super languages) files. Defaults to 80.
414
- */
415
- lineWidth?: LineWidth | null;
416
- /**
417
- * Whether void elements should be self-closed. Defaults to never.
418
- */
419
- selfCloseVoidElements?: SelfCloseVoidElements | null;
420
- /**
421
- * Whether to account for whitespace sensitivity when formatting HTML (and its super languages). Defaults to "css".
422
- */
423
- whitespaceSensitivity?: WhitespaceSensitivity | null;
424
- }
425
- /**
426
- * Formatting options specific to the JavaScript files
427
- */
428
- export interface JsFormatterConfiguration {
429
- /**
430
- * Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
431
- */
432
- arrowParentheses?: ArrowParentheses | null;
433
- /**
434
- * The attribute position style in JSX elements. Defaults to auto.
435
- */
436
- attributePosition?: AttributePosition | null;
437
- /**
438
- * Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.
439
- */
440
- bracketSameLine?: BracketSameLine | null;
441
- /**
442
- * Whether to insert spaces around brackets in object literals. Defaults to true.
443
- */
444
- bracketSpacing?: BracketSpacing | null;
445
- /**
446
- * Control the formatter for JavaScript (and its super languages) files.
447
- */
448
- enabled?: Bool | null;
449
- /**
450
- * 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".
451
- */
452
- expand?: Expand | null;
453
- /**
454
- * The indent style applied to JavaScript (and its super languages) files.
455
- */
456
- indentStyle?: IndentStyle | null;
457
- /**
458
- * The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
459
- */
460
- indentWidth?: IndentWidth | null;
461
- /**
462
- * The type of quotes used in JSX. Defaults to double.
463
- */
464
- jsxQuoteStyle?: QuoteStyle | null;
465
- /**
466
- * The type of line ending applied to JavaScript (and its super languages) files.
467
- */
468
- lineEnding?: LineEnding | null;
469
- /**
470
- * What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.
471
- */
472
- lineWidth?: LineWidth | null;
473
- /**
474
- * When breaking binary expressions into multiple lines, whether to break them before or after the binary operator. Defaults to "after".
475
- */
476
- operatorLinebreak?: OperatorLinebreak | null;
477
- /**
478
- * When properties in objects are quoted. Defaults to asNeeded.
479
- */
480
- quoteProperties?: QuoteProperties | null;
481
- /**
482
- * The type of quotes used in JavaScript code. Defaults to double.
483
- */
484
- quoteStyle?: QuoteStyle | null;
485
- /**
486
- * Whether the formatter prints semicolons for all statements or only in for statements where it is necessary because of ASI.
487
- */
488
- semicolons?: Semicolons | null;
489
- /**
490
- * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "all".
491
- */
492
- trailingCommas?: TrailingCommas | null;
493
- }
494
- export interface JsonFormatterConfiguration {
495
- /**
496
- * Whether to insert spaces around brackets in object literals. Defaults to true.
497
- */
498
- bracketSpacing?: BracketSpacing | null;
499
- /**
500
- * Control the formatter for JSON (and its super languages) files.
501
- */
502
- enabled?: Bool | null;
503
- /**
504
- * 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".
505
- */
506
- expand?: Expand | null;
507
- /**
508
- * The indent style applied to JSON (and its super languages) files.
509
- */
510
- indentStyle?: IndentStyle | null;
511
- /**
512
- * The size of the indentation applied to JSON (and its super languages) files. Default to 2.
513
- */
514
- indentWidth?: IndentWidth | null;
515
- /**
516
- * The type of line ending applied to JSON (and its super languages) files.
517
- */
518
- lineEnding?: LineEnding | null;
519
- /**
520
- * What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.
521
- */
522
- lineWidth?: LineWidth | null;
523
- /**
524
- * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "none".
525
- */
526
- trailingCommas?: TrailingCommas2 | null;
527
- }
528
- export interface RuleDomains {
529
- [k: string]: RuleDomainValue;
530
- }
531
- export interface RuleWithNoAccessKeyOptions {
532
- /**
533
- * The kind of the code actions emitted by the rule
534
- */
535
- fix?: FixKind | null;
536
- /**
537
- * The severity of the emitted diagnostics by the rule
538
- */
539
- level: RulePlainConfiguration;
540
- /**
541
- * Rule's options
542
- */
543
- options: NoAccessKeyOptions;
544
- }
545
- export interface RuleWithNoAriaHiddenOnFocusableOptions {
546
- /**
547
- * The kind of the code actions emitted by the rule
548
- */
549
- fix?: FixKind | null;
550
- /**
551
- * The severity of the emitted diagnostics by the rule
552
- */
553
- level: RulePlainConfiguration;
554
- /**
555
- * Rule's options
556
- */
557
- options: NoAriaHiddenOnFocusableOptions;
558
- }
559
- export interface RuleWithNoAriaUnsupportedElementsOptions {
560
- /**
561
- * The kind of the code actions emitted by the rule
562
- */
563
- fix?: FixKind | null;
564
- /**
565
- * The severity of the emitted diagnostics by the rule
566
- */
567
- level: RulePlainConfiguration;
568
- /**
569
- * Rule's options
570
- */
571
- options: NoAriaUnsupportedElementsOptions;
572
- }
573
- export interface RuleWithNoAutofocusOptions {
574
- /**
575
- * The kind of the code actions emitted by the rule
576
- */
577
- fix?: FixKind | null;
578
- /**
579
- * The severity of the emitted diagnostics by the rule
580
- */
581
- level: RulePlainConfiguration;
582
- /**
583
- * Rule's options
584
- */
585
- options: NoAutofocusOptions;
586
- }
587
- export interface RuleWithNoDistractingElementsOptions {
588
- /**
589
- * The kind of the code actions emitted by the rule
590
- */
591
- fix?: FixKind | null;
592
- /**
593
- * The severity of the emitted diagnostics by the rule
594
- */
595
- level: RulePlainConfiguration;
596
- /**
597
- * Rule's options
598
- */
599
- options: NoDistractingElementsOptions;
600
- }
601
- export interface RuleWithNoHeaderScopeOptions {
602
- /**
603
- * The kind of the code actions emitted by the rule
604
- */
605
- fix?: FixKind | null;
606
- /**
607
- * The severity of the emitted diagnostics by the rule
608
- */
609
- level: RulePlainConfiguration;
610
- /**
611
- * Rule's options
612
- */
613
- options: NoHeaderScopeOptions;
614
- }
615
- export interface RuleWithNoInteractiveElementToNoninteractiveRoleOptions {
616
- /**
617
- * The kind of the code actions emitted by the rule
618
- */
619
- fix?: FixKind | null;
620
- /**
621
- * The severity of the emitted diagnostics by the rule
622
- */
623
- level: RulePlainConfiguration;
624
- /**
625
- * Rule's options
626
- */
627
- options: NoInteractiveElementToNoninteractiveRoleOptions;
628
- }
629
- export interface RuleWithNoLabelWithoutControlOptions {
630
- /**
631
- * The severity of the emitted diagnostics by the rule
632
- */
633
- level: RulePlainConfiguration;
634
- /**
635
- * Rule's options
636
- */
637
- options: NoLabelWithoutControlOptions;
638
- }
639
- export interface RuleWithNoNoninteractiveElementInteractionsOptions {
640
- /**
641
- * The severity of the emitted diagnostics by the rule
642
- */
643
- level: RulePlainConfiguration;
644
- /**
645
- * Rule's options
646
- */
647
- options: NoNoninteractiveElementInteractionsOptions;
648
- }
649
- export interface RuleWithNoNoninteractiveElementToInteractiveRoleOptions {
650
- /**
651
- * The kind of the code actions emitted by the rule
652
- */
653
- fix?: FixKind | null;
654
- /**
655
- * The severity of the emitted diagnostics by the rule
656
- */
657
- level: RulePlainConfiguration;
658
- /**
659
- * Rule's options
660
- */
661
- options: NoNoninteractiveElementToInteractiveRoleOptions;
662
- }
663
- export interface RuleWithNoNoninteractiveTabindexOptions {
664
- /**
665
- * The kind of the code actions emitted by the rule
666
- */
667
- fix?: FixKind | null;
668
- /**
669
- * The severity of the emitted diagnostics by the rule
670
- */
671
- level: RulePlainConfiguration;
672
- /**
673
- * Rule's options
674
- */
675
- options: NoNoninteractiveTabindexOptions;
676
- }
677
- export interface RuleWithNoPositiveTabindexOptions {
678
- /**
679
- * The kind of the code actions emitted by the rule
680
- */
681
- fix?: FixKind | null;
682
- /**
683
- * The severity of the emitted diagnostics by the rule
684
- */
685
- level: RulePlainConfiguration;
686
- /**
687
- * Rule's options
688
- */
689
- options: NoPositiveTabindexOptions;
690
- }
691
- export interface RuleWithNoRedundantAltOptions {
692
- /**
693
- * The severity of the emitted diagnostics by the rule
694
- */
695
- level: RulePlainConfiguration;
696
- /**
697
- * Rule's options
698
- */
699
- options: NoRedundantAltOptions;
700
- }
701
- export interface RuleWithNoRedundantRolesOptions {
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: NoRedundantRolesOptions;
714
- }
715
- export interface RuleWithNoStaticElementInteractionsOptions {
716
- /**
717
- * The severity of the emitted diagnostics by the rule
718
- */
719
- level: RulePlainConfiguration;
720
- /**
721
- * Rule's options
722
- */
723
- options: NoStaticElementInteractionsOptions;
724
- }
725
- export interface RuleWithNoSvgWithoutTitleOptions {
726
- /**
727
- * The severity of the emitted diagnostics by the rule
728
- */
729
- level: RulePlainConfiguration;
730
- /**
731
- * Rule's options
732
- */
733
- options: NoSvgWithoutTitleOptions;
734
- }
735
- export interface RuleWithUseAltTextOptions {
736
- /**
737
- * The severity of the emitted diagnostics by the rule
738
- */
739
- level: RulePlainConfiguration;
740
- /**
741
- * Rule's options
742
- */
743
- options: UseAltTextOptions;
744
- }
745
- export interface RuleWithUseAnchorContentOptions {
746
- /**
747
- * The kind of the code actions emitted by the rule
748
- */
749
- fix?: FixKind | null;
750
- /**
751
- * The severity of the emitted diagnostics by the rule
752
- */
753
- level: RulePlainConfiguration;
754
- /**
755
- * Rule's options
756
- */
757
- options: UseAnchorContentOptions;
758
- }
759
- export interface RuleWithUseAriaActivedescendantWithTabindexOptions {
760
- /**
761
- * The kind of the code actions emitted by the rule
762
- */
763
- fix?: FixKind | null;
764
- /**
765
- * The severity of the emitted diagnostics by the rule
766
- */
767
- level: RulePlainConfiguration;
768
- /**
769
- * Rule's options
770
- */
771
- options: UseAriaActivedescendantWithTabindexOptions;
772
- }
773
- export interface RuleWithUseAriaPropsForRoleOptions {
774
- /**
775
- * The severity of the emitted diagnostics by the rule
776
- */
777
- level: RulePlainConfiguration;
778
- /**
779
- * Rule's options
780
- */
781
- options: UseAriaPropsForRoleOptions;
782
- }
783
- export interface RuleWithUseAriaPropsSupportedByRoleOptions {
784
- /**
785
- * The severity of the emitted diagnostics by the rule
786
- */
787
- level: RulePlainConfiguration;
788
- /**
789
- * Rule's options
790
- */
791
- options: UseAriaPropsSupportedByRoleOptions;
792
- }
793
- export interface RuleWithUseButtonTypeOptions {
794
- /**
795
- * The severity of the emitted diagnostics by the rule
796
- */
797
- level: RulePlainConfiguration;
798
- /**
799
- * Rule's options
800
- */
801
- options: UseButtonTypeOptions;
802
- }
803
- export interface RuleWithUseFocusableInteractiveOptions {
804
- /**
805
- * The severity of the emitted diagnostics by the rule
806
- */
807
- level: RulePlainConfiguration;
808
- /**
809
- * Rule's options
810
- */
811
- options: UseFocusableInteractiveOptions;
812
- }
813
- export interface RuleWithUseGenericFontNamesOptions {
814
- /**
815
- * The severity of the emitted diagnostics by the rule
816
- */
817
- level: RulePlainConfiguration;
818
- /**
819
- * Rule's options
820
- */
821
- options: UseGenericFontNamesOptions;
822
- }
823
- export interface RuleWithUseHeadingContentOptions {
824
- /**
825
- * The severity of the emitted diagnostics by the rule
826
- */
827
- level: RulePlainConfiguration;
828
- /**
829
- * Rule's options
830
- */
831
- options: UseHeadingContentOptions;
832
- }
833
- export interface RuleWithUseHtmlLangOptions {
834
- /**
835
- * The severity of the emitted diagnostics by the rule
836
- */
837
- level: RulePlainConfiguration;
838
- /**
839
- * Rule's options
840
- */
841
- options: UseHtmlLangOptions;
842
- }
843
- export interface RuleWithUseIframeTitleOptions {
844
- /**
845
- * The severity of the emitted diagnostics by the rule
846
- */
847
- level: RulePlainConfiguration;
848
- /**
849
- * Rule's options
850
- */
851
- options: UseIframeTitleOptions;
852
- }
853
- export interface RuleWithUseKeyWithClickEventsOptions {
854
- /**
855
- * The severity of the emitted diagnostics by the rule
856
- */
857
- level: RulePlainConfiguration;
858
- /**
859
- * Rule's options
860
- */
861
- options: UseKeyWithClickEventsOptions;
862
- }
863
- export interface RuleWithUseKeyWithMouseEventsOptions {
864
- /**
865
- * The severity of the emitted diagnostics by the rule
866
- */
867
- level: RulePlainConfiguration;
868
- /**
869
- * Rule's options
870
- */
871
- options: UseKeyWithMouseEventsOptions;
872
- }
873
- export interface RuleWithUseMediaCaptionOptions {
874
- /**
875
- * The severity of the emitted diagnostics by the rule
876
- */
877
- level: RulePlainConfiguration;
878
- /**
879
- * Rule's options
880
- */
881
- options: UseMediaCaptionOptions;
882
- }
883
- export interface RuleWithUseSemanticElementsOptions {
884
- /**
885
- * The severity of the emitted diagnostics by the rule
886
- */
887
- level: RulePlainConfiguration;
888
- /**
889
- * Rule's options
890
- */
891
- options: UseSemanticElementsOptions;
892
- }
893
- export interface RuleWithUseValidAnchorOptions {
894
- /**
895
- * The severity of the emitted diagnostics by the rule
896
- */
897
- level: RulePlainConfiguration;
898
- /**
899
- * Rule's options
900
- */
901
- options: UseValidAnchorOptions;
902
- }
903
- export interface RuleWithUseValidAriaPropsOptions {
904
- /**
905
- * The kind of the code actions emitted by the rule
906
- */
907
- fix?: FixKind | null;
908
- /**
909
- * The severity of the emitted diagnostics by the rule
910
- */
911
- level: RulePlainConfiguration;
912
- /**
913
- * Rule's options
914
- */
915
- options: UseValidAriaPropsOptions;
916
- }
917
- export interface RuleWithUseValidAriaRoleOptions {
918
- /**
919
- * The kind of the code actions emitted by the rule
920
- */
921
- fix?: FixKind | null;
922
- /**
923
- * The severity of the emitted diagnostics by the rule
924
- */
925
- level: RulePlainConfiguration;
926
- /**
927
- * Rule's options
928
- */
929
- options: UseValidAriaRoleOptions;
930
- }
931
- export interface RuleWithUseValidAriaValuesOptions {
932
- /**
933
- * The severity of the emitted diagnostics by the rule
934
- */
935
- level: RulePlainConfiguration;
936
- /**
937
- * Rule's options
938
- */
939
- options: UseValidAriaValuesOptions;
940
- }
941
- export interface RuleWithUseValidAutocompleteOptions {
942
- /**
943
- * The severity of the emitted diagnostics by the rule
944
- */
945
- level: RulePlainConfiguration;
946
- /**
947
- * Rule's options
948
- */
949
- options: UseValidAutocompleteOptions;
950
- }
951
- export interface RuleWithUseValidLangOptions {
952
- /**
953
- * The severity of the emitted diagnostics by the rule
954
- */
955
- level: RulePlainConfiguration;
956
- /**
957
- * Rule's options
958
- */
959
- options: UseValidLangOptions;
960
- }
961
- export interface RuleWithNoAdjacentSpacesInRegexOptions {
962
- /**
963
- * The kind of the code actions emitted by the rule
964
- */
965
- fix?: FixKind | null;
966
- /**
967
- * The severity of the emitted diagnostics by the rule
968
- */
969
- level: RulePlainConfiguration;
970
- /**
971
- * Rule's options
972
- */
973
- options: NoAdjacentSpacesInRegexOptions;
974
- }
975
- export interface RuleWithNoArgumentsOptions {
976
- /**
977
- * The severity of the emitted diagnostics by the rule
978
- */
979
- level: RulePlainConfiguration;
980
- /**
981
- * Rule's options
982
- */
983
- options: NoArgumentsOptions;
984
- }
985
- export interface RuleWithNoBannedTypesOptions {
986
- /**
987
- * The kind of the code actions emitted by the rule
988
- */
989
- fix?: FixKind | null;
990
- /**
991
- * The severity of the emitted diagnostics by the rule
992
- */
993
- level: RulePlainConfiguration;
994
- /**
995
- * Rule's options
996
- */
997
- options: NoBannedTypesOptions;
998
- }
999
- export interface RuleWithNoCommaOperatorOptions {
1000
- /**
1001
- * The severity of the emitted diagnostics by the rule
1002
- */
1003
- level: RulePlainConfiguration;
1004
- /**
1005
- * Rule's options
1006
- */
1007
- options: NoCommaOperatorOptions;
1008
- }
1009
- export interface RuleWithNoEmptyTypeParametersOptions {
1010
- /**
1011
- * The severity of the emitted diagnostics by the rule
1012
- */
1013
- level: RulePlainConfiguration;
1014
- /**
1015
- * Rule's options
1016
- */
1017
- options: NoEmptyTypeParametersOptions;
1018
- }
1019
- export interface RuleWithNoExcessiveCognitiveComplexityOptions {
1020
- /**
1021
- * The severity of the emitted diagnostics by the rule
1022
- */
1023
- level: RulePlainConfiguration;
1024
- /**
1025
- * Rule's options
1026
- */
1027
- options: NoExcessiveCognitiveComplexityOptions;
1028
- }
1029
- export interface RuleWithNoExcessiveLinesPerFunctionOptions {
1030
- /**
1031
- * The severity of the emitted diagnostics by the rule
1032
- */
1033
- level: RulePlainConfiguration;
1034
- /**
1035
- * Rule's options
1036
- */
1037
- options: NoExcessiveLinesPerFunctionOptions;
1038
- }
1039
- export interface RuleWithNoExcessiveNestedTestSuitesOptions {
1040
- /**
1041
- * The severity of the emitted diagnostics by the rule
1042
- */
1043
- level: RulePlainConfiguration;
1044
- /**
1045
- * Rule's options
1046
- */
1047
- options: NoExcessiveNestedTestSuitesOptions;
1048
- }
1049
- export interface RuleWithNoExtraBooleanCastOptions {
1050
- /**
1051
- * The kind of the code actions emitted by the rule
1052
- */
1053
- fix?: FixKind | null;
1054
- /**
1055
- * The severity of the emitted diagnostics by the rule
1056
- */
1057
- level: RulePlainConfiguration;
1058
- /**
1059
- * Rule's options
1060
- */
1061
- options: NoExtraBooleanCastOptions;
1062
- }
1063
- export interface RuleWithNoFlatMapIdentityOptions {
1064
- /**
1065
- * The kind of the code actions emitted by the rule
1066
- */
1067
- fix?: FixKind | null;
1068
- /**
1069
- * The severity of the emitted diagnostics by the rule
1070
- */
1071
- level: RulePlainConfiguration;
1072
- /**
1073
- * Rule's options
1074
- */
1075
- options: NoFlatMapIdentityOptions;
1076
- }
1077
- export interface RuleWithNoForEachOptions {
1078
- /**
1079
- * The severity of the emitted diagnostics by the rule
1080
- */
1081
- level: RulePlainConfiguration;
1082
- /**
1083
- * Rule's options
1084
- */
1085
- options: NoForEachOptions;
1086
- }
1087
- export interface RuleWithNoImplicitCoercionsOptions {
1088
- /**
1089
- * The kind of the code actions emitted by the rule
1090
- */
1091
- fix?: FixKind | null;
1092
- /**
1093
- * The severity of the emitted diagnostics by the rule
1094
- */
1095
- level: RulePlainConfiguration;
1096
- /**
1097
- * Rule's options
1098
- */
1099
- options: NoImplicitCoercionsOptions;
1100
- }
1101
- export interface RuleWithNoImportantStylesOptions {
1102
- /**
1103
- * The kind of the code actions emitted by the rule
1104
- */
1105
- fix?: FixKind | null;
1106
- /**
1107
- * The severity of the emitted diagnostics by the rule
1108
- */
1109
- level: RulePlainConfiguration;
1110
- /**
1111
- * Rule's options
1112
- */
1113
- options: NoImportantStylesOptions;
1114
- }
1115
- export interface RuleWithNoStaticOnlyClassOptions {
1116
- /**
1117
- * The severity of the emitted diagnostics by the rule
1118
- */
1119
- level: RulePlainConfiguration;
1120
- /**
1121
- * Rule's options
1122
- */
1123
- options: NoStaticOnlyClassOptions;
1124
- }
1125
- export interface RuleWithNoThisInStaticOptions {
1126
- /**
1127
- * The kind of the code actions emitted by the rule
1128
- */
1129
- fix?: FixKind | null;
1130
- /**
1131
- * The severity of the emitted diagnostics by the rule
1132
- */
1133
- level: RulePlainConfiguration;
1134
- /**
1135
- * Rule's options
1136
- */
1137
- options: NoThisInStaticOptions;
1138
- }