@quentinhsu/biome-config 0.3.3 → 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.
- package/dist/131.mjs +358 -0
- package/dist/build.mjs +108 -360
- package/dist/index.jsonc +56 -56
- package/dist/index.mjs +1 -358
- package/dist/next.jsonc +60 -60
- package/dist/nuxt.jsonc +91 -91
- package/dist/react.jsonc +58 -58
- package/dist/rslib-runtime.mjs +38 -0
- package/dist/types/scripts/tag-release.d.ts +1 -0
- package/dist/types/scripts/validate-config-properties.d.ts +1 -0
- package/dist/types/src/constants/biome.d.ts +1 -1
- package/dist/types/src/generated/biome/index.d.ts +11 -8
- package/dist/types/src/generated/biome/no-comment-text-options.d.ts +761 -0
- package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +97 -97
- package/dist/types/src/generated/biome/no-sync-scripts-configuration.d.ts +185 -0
- package/dist/types/src/generated/biome/{use-semantic-elements-configuration.d.ts → no-useless-constructor-configuration.d.ts} +31 -49
- package/dist/types/src/generated/biome/nursery.d.ts +393 -594
- package/dist/types/src/generated/biome/{no-assign-in-expressions-configuration.d.ts → pattern-options.d.ts} +252 -179
- package/dist/types/src/generated/biome/rule-with-no-access-key-options.d.ts +555 -0
- package/dist/types/src/generated/biome/rule-with-no-blank-target-options.d.ts +530 -0
- package/dist/types/src/generated/biome/rule-with-no-fallthrough-switch-clause-options.d.ts +469 -0
- package/dist/types/src/generated/biome/rule-with-no-unknown-unit-options.d.ts +564 -0
- package/dist/types/src/generated/biome/schema.d.ts +35 -17
- package/dist/types/src/generated/biome/style.d.ts +614 -0
- package/dist/types/src/generated/biome/use-for-of-configuration.d.ts +144 -0
- package/dist/types/src/generated/biome/{no-non-null-assertion-options.d.ts → use-unique-variable-names-options.d.ts} +141 -119
- package/dist/types/src/index.d.ts +2 -2
- package/dist/vue.jsonc +60 -60
- package/package.json +38 -34
- package/dist/types/src/generated/biome/no-empty-source-configuration.d.ts +0 -241
- package/dist/types/src/generated/biome/no-misrefactored-shorthand-assign-options.d.ts +0 -1116
- package/dist/types/src/generated/biome/rule-with-no-document-import-in-page-options.d.ts +0 -1148
- package/dist/types/src/generated/biome/rule-with-no-implicit-coercions-options.d.ts +0 -1440
- package/dist/types/src/generated/biome/use-consistent-arrow-return-options.d.ts +0 -1341
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
import type { Bool, FixKind, JsxRuntime, RuleAssistPlainConfiguration, RulePlainConfiguration } from './schema.ts';
|
|
2
|
+
import type { CssAssistConfiguration, CssFormatterConfiguration, CssLinterConfiguration, CssParserConfiguration, Glob, GraphqlAssistConfiguration, GraphqlFormatterConfiguration, GraphqlLinterConfiguration, GritAssistConfiguration, GritFormatterConfiguration, GritLinterConfiguration, HtmlAssistConfiguration, HtmlFormatterConfiguration, HtmlLinterConfiguration, HtmlParserConfiguration, JsAssistConfiguration, JsFormatterConfiguration, JsLinterConfiguration, JsParserConfiguration, JsonAssistConfiguration, JsonFormatterConfiguration, JsonLinterConfiguration, JsonParserConfiguration, NoFallthroughSwitchClauseOptions, NoFocusedTestsOptions, NoFunctionAssignOptions, NoGlobalAssignOptions, NoGlobalIsFiniteOptions, NoGlobalIsNanOptions, NoHeadImportInDocumentOptions, NoImplicitAnyLetOptions, NoImportAssignOptions, NoImportantInKeyframeOptions, NoIrregularWhitespaceOptions, NoLabelVarOptions, NoMisleadingCharacterClassOptions, NoMisleadingInstantiatorOptions, NoMisplacedAssertionOptions, NoMisrefactoredShorthandAssignOptions, NoNonNullAssertedOptionalChainOptions, NoOctalEscapeOptions, NoPrototypeBuiltinsOptions, NoQuickfixBiomeOptions, NoReactSpecificPropsOptions, NoRedeclareOptions, NoRedundantUseStrictOptions, NoSelfCompareOptions, NoShadowRestrictedNamesOptions, NoShorthandPropertyOverridesOptions, NoSkippedTestsOptions, NoSparseArrayOptions, NoSuspiciousSemicolonInJsxOptions, NoTemplateCurlyInStringOptions, NoThenPropertyOptions, NoTsIgnoreOptions, NoUnassignedVariablesOptions, NoUnknownAtRulesOptions, NoUnsafeDeclarationMergingOptions, NoUnsafeNegationOptions, NoUselessEscapeInStringOptions, NoUselessRegexBackrefsOptions, NoVarOptions, NoWithOptions, PluginConfiguration, RuleAssistWithUseSortedPropertiesOptions, SourceMatcher, UseAdjacentOverloadSignaturesOptions, UseAwaitOptions, UseBiomeIgnoreFolderOptions, UseDefaultSwitchClauseLastOptions, UseErrorMessageOptions, UseGetterReturnOptions, UseGoogleFontDisplayOptions, UseGuardForInOptions, UseIsArrayOptions, UseIterableCallbackReturnOptions, UseNamespaceKeywordOptions, UseNumberToFixedDigitsArgumentOptions, UseSortedAttributesOptions, UseSortedKeysOptions, UseStaticResponseMethodsOptions, UseStrictModeOptions, VcsClientKind } from './no-comment-text-options.ts';
|
|
3
|
+
import type { RuleWithNoAccessKeyOptions, RuleWithNoAdjacentSpacesInRegexOptions, RuleWithNoArgumentsOptions, RuleWithNoAriaHiddenOnFocusableOptions, RuleWithNoAriaUnsupportedElementsOptions, RuleWithNoAutofocusOptions, RuleWithNoBannedTypesOptions, RuleWithNoCommaOperatorOptions, RuleWithNoDistractingElementsOptions, RuleWithNoEmptyTypeParametersOptions, RuleWithNoExcessiveCognitiveComplexityOptions, RuleWithNoExcessiveLinesPerFunctionOptions, RuleWithNoExcessiveNestedTestSuitesOptions, RuleWithNoExtraBooleanCastOptions, RuleWithNoFlatMapIdentityOptions, RuleWithNoForEachOptions, RuleWithNoHeaderScopeOptions, RuleWithNoImplicitCoercionsOptions, RuleWithNoImportantStylesOptions, RuleWithNoInteractiveElementToNoninteractiveRoleOptions, RuleWithNoLabelWithoutControlOptions, RuleWithNoNoninteractiveElementInteractionsOptions, RuleWithNoNoninteractiveElementToInteractiveRoleOptions, RuleWithNoNoninteractiveTabindexOptions, RuleWithNoPositiveTabindexOptions, RuleWithNoRedundantAltOptions, RuleWithNoRedundantRolesOptions, RuleWithNoStaticElementInteractionsOptions, RuleWithNoStaticOnlyClassOptions, RuleWithNoSvgWithoutTitleOptions, RuleWithNoThisInStaticOptions, RuleWithNoUselessCatchOptions, RuleWithUseAltTextOptions, RuleWithUseAnchorContentOptions, RuleWithUseAriaActivedescendantWithTabindexOptions, RuleWithUseAriaPropsForRoleOptions, RuleWithUseAriaPropsSupportedByRoleOptions, RuleWithUseButtonTypeOptions, RuleWithUseFocusableInteractiveOptions, RuleWithUseGenericFontNamesOptions, RuleWithUseHeadingContentOptions, RuleWithUseHtmlLangOptions, RuleWithUseIframeTitleOptions, RuleWithUseKeyWithClickEventsOptions, RuleWithUseKeyWithMouseEventsOptions, RuleWithUseMediaCaptionOptions, RuleWithUseSemanticElementsOptions, RuleWithUseValidAnchorOptions, RuleWithUseValidAriaPropsOptions, RuleWithUseValidAriaRoleOptions, RuleWithUseValidAriaValuesOptions, RuleWithUseValidAutocompleteOptions, RuleWithUseValidLangOptions } from './rule-with-no-access-key-options.ts';
|
|
4
|
+
export interface RuleWithNoFallthroughSwitchClauseOptions {
|
|
5
|
+
level: RulePlainConfiguration;
|
|
6
|
+
options?: NoFallthroughSwitchClauseOptions;
|
|
7
|
+
}
|
|
8
|
+
export interface RuleWithNoFocusedTestsOptions {
|
|
9
|
+
fix?: FixKind | null;
|
|
10
|
+
level: RulePlainConfiguration;
|
|
11
|
+
options?: NoFocusedTestsOptions;
|
|
12
|
+
}
|
|
13
|
+
export interface RuleWithNoFunctionAssignOptions {
|
|
14
|
+
level: RulePlainConfiguration;
|
|
15
|
+
options?: NoFunctionAssignOptions;
|
|
16
|
+
}
|
|
17
|
+
export interface RuleWithNoGlobalAssignOptions {
|
|
18
|
+
level: RulePlainConfiguration;
|
|
19
|
+
options?: NoGlobalAssignOptions;
|
|
20
|
+
}
|
|
21
|
+
export interface RuleWithNoGlobalIsFiniteOptions {
|
|
22
|
+
fix?: FixKind | null;
|
|
23
|
+
level: RulePlainConfiguration;
|
|
24
|
+
options?: NoGlobalIsFiniteOptions;
|
|
25
|
+
}
|
|
26
|
+
export interface RuleWithNoGlobalIsNanOptions {
|
|
27
|
+
fix?: FixKind | null;
|
|
28
|
+
level: RulePlainConfiguration;
|
|
29
|
+
options?: NoGlobalIsNanOptions;
|
|
30
|
+
}
|
|
31
|
+
export interface RuleWithNoHeadImportInDocumentOptions {
|
|
32
|
+
level: RulePlainConfiguration;
|
|
33
|
+
options?: NoHeadImportInDocumentOptions;
|
|
34
|
+
}
|
|
35
|
+
export interface RuleWithNoImplicitAnyLetOptions {
|
|
36
|
+
level: RulePlainConfiguration;
|
|
37
|
+
options?: NoImplicitAnyLetOptions;
|
|
38
|
+
}
|
|
39
|
+
export interface RuleWithNoImportAssignOptions {
|
|
40
|
+
level: RulePlainConfiguration;
|
|
41
|
+
options?: NoImportAssignOptions;
|
|
42
|
+
}
|
|
43
|
+
export interface RuleWithNoImportantInKeyframeOptions {
|
|
44
|
+
level: RulePlainConfiguration;
|
|
45
|
+
options?: NoImportantInKeyframeOptions;
|
|
46
|
+
}
|
|
47
|
+
export interface RuleWithNoIrregularWhitespaceOptions {
|
|
48
|
+
level: RulePlainConfiguration;
|
|
49
|
+
options?: NoIrregularWhitespaceOptions;
|
|
50
|
+
}
|
|
51
|
+
export interface RuleWithNoLabelVarOptions {
|
|
52
|
+
level: RulePlainConfiguration;
|
|
53
|
+
options?: NoLabelVarOptions;
|
|
54
|
+
}
|
|
55
|
+
export interface RuleWithNoMisleadingCharacterClassOptions {
|
|
56
|
+
fix?: FixKind | null;
|
|
57
|
+
level: RulePlainConfiguration;
|
|
58
|
+
options?: NoMisleadingCharacterClassOptions;
|
|
59
|
+
}
|
|
60
|
+
export interface RuleWithNoMisleadingInstantiatorOptions {
|
|
61
|
+
level: RulePlainConfiguration;
|
|
62
|
+
options?: NoMisleadingInstantiatorOptions;
|
|
63
|
+
}
|
|
64
|
+
export interface RuleWithNoMisplacedAssertionOptions {
|
|
65
|
+
level: RulePlainConfiguration;
|
|
66
|
+
options?: NoMisplacedAssertionOptions;
|
|
67
|
+
}
|
|
68
|
+
export interface RuleWithNoMisrefactoredShorthandAssignOptions {
|
|
69
|
+
fix?: FixKind | null;
|
|
70
|
+
level: RulePlainConfiguration;
|
|
71
|
+
options?: NoMisrefactoredShorthandAssignOptions;
|
|
72
|
+
}
|
|
73
|
+
export interface RuleWithNoNonNullAssertedOptionalChainOptions {
|
|
74
|
+
level: RulePlainConfiguration;
|
|
75
|
+
options?: NoNonNullAssertedOptionalChainOptions;
|
|
76
|
+
}
|
|
77
|
+
export interface RuleWithNoOctalEscapeOptions {
|
|
78
|
+
fix?: FixKind | null;
|
|
79
|
+
level: RulePlainConfiguration;
|
|
80
|
+
options?: NoOctalEscapeOptions;
|
|
81
|
+
}
|
|
82
|
+
export interface RuleWithNoPrototypeBuiltinsOptions {
|
|
83
|
+
fix?: FixKind | null;
|
|
84
|
+
level: RulePlainConfiguration;
|
|
85
|
+
options?: NoPrototypeBuiltinsOptions;
|
|
86
|
+
}
|
|
87
|
+
export interface RuleWithNoQuickfixBiomeOptions {
|
|
88
|
+
fix?: FixKind | null;
|
|
89
|
+
level: RulePlainConfiguration;
|
|
90
|
+
options?: NoQuickfixBiomeOptions;
|
|
91
|
+
}
|
|
92
|
+
export interface RuleWithNoReactSpecificPropsOptions {
|
|
93
|
+
fix?: FixKind | null;
|
|
94
|
+
level: RulePlainConfiguration;
|
|
95
|
+
options?: NoReactSpecificPropsOptions;
|
|
96
|
+
}
|
|
97
|
+
export interface RuleWithNoRedeclareOptions {
|
|
98
|
+
level: RulePlainConfiguration;
|
|
99
|
+
options?: NoRedeclareOptions;
|
|
100
|
+
}
|
|
101
|
+
export interface RuleWithNoRedundantUseStrictOptions {
|
|
102
|
+
fix?: FixKind | null;
|
|
103
|
+
level: RulePlainConfiguration;
|
|
104
|
+
options?: NoRedundantUseStrictOptions;
|
|
105
|
+
}
|
|
106
|
+
export interface RuleWithNoSelfCompareOptions {
|
|
107
|
+
level: RulePlainConfiguration;
|
|
108
|
+
options?: NoSelfCompareOptions;
|
|
109
|
+
}
|
|
110
|
+
export interface RuleWithNoShadowRestrictedNamesOptions {
|
|
111
|
+
level: RulePlainConfiguration;
|
|
112
|
+
options?: NoShadowRestrictedNamesOptions;
|
|
113
|
+
}
|
|
114
|
+
export interface RuleWithNoShorthandPropertyOverridesOptions {
|
|
115
|
+
level: RulePlainConfiguration;
|
|
116
|
+
options?: NoShorthandPropertyOverridesOptions;
|
|
117
|
+
}
|
|
118
|
+
export interface RuleWithNoSkippedTestsOptions {
|
|
119
|
+
fix?: FixKind | null;
|
|
120
|
+
level: RulePlainConfiguration;
|
|
121
|
+
options?: NoSkippedTestsOptions;
|
|
122
|
+
}
|
|
123
|
+
export interface RuleWithNoSparseArrayOptions {
|
|
124
|
+
fix?: FixKind | null;
|
|
125
|
+
level: RulePlainConfiguration;
|
|
126
|
+
options?: NoSparseArrayOptions;
|
|
127
|
+
}
|
|
128
|
+
export interface RuleWithNoSuspiciousSemicolonInJsxOptions {
|
|
129
|
+
level: RulePlainConfiguration;
|
|
130
|
+
options?: NoSuspiciousSemicolonInJsxOptions;
|
|
131
|
+
}
|
|
132
|
+
export interface RuleWithNoTemplateCurlyInStringOptions {
|
|
133
|
+
level: RulePlainConfiguration;
|
|
134
|
+
options?: NoTemplateCurlyInStringOptions;
|
|
135
|
+
}
|
|
136
|
+
export interface RuleWithNoThenPropertyOptions {
|
|
137
|
+
level: RulePlainConfiguration;
|
|
138
|
+
options?: NoThenPropertyOptions;
|
|
139
|
+
}
|
|
140
|
+
export interface RuleWithNoTsIgnoreOptions {
|
|
141
|
+
fix?: FixKind | null;
|
|
142
|
+
level: RulePlainConfiguration;
|
|
143
|
+
options?: NoTsIgnoreOptions;
|
|
144
|
+
}
|
|
145
|
+
export interface RuleWithNoUnassignedVariablesOptions {
|
|
146
|
+
level: RulePlainConfiguration;
|
|
147
|
+
options?: NoUnassignedVariablesOptions;
|
|
148
|
+
}
|
|
149
|
+
export interface RuleWithNoUnknownAtRulesOptions {
|
|
150
|
+
level: RulePlainConfiguration;
|
|
151
|
+
options?: NoUnknownAtRulesOptions;
|
|
152
|
+
}
|
|
153
|
+
export interface RuleWithNoUnsafeDeclarationMergingOptions {
|
|
154
|
+
level: RulePlainConfiguration;
|
|
155
|
+
options?: NoUnsafeDeclarationMergingOptions;
|
|
156
|
+
}
|
|
157
|
+
export interface RuleWithNoUnsafeNegationOptions {
|
|
158
|
+
fix?: FixKind | null;
|
|
159
|
+
level: RulePlainConfiguration;
|
|
160
|
+
options?: NoUnsafeNegationOptions;
|
|
161
|
+
}
|
|
162
|
+
export interface RuleWithNoUselessEscapeInStringOptions {
|
|
163
|
+
fix?: FixKind | null;
|
|
164
|
+
level: RulePlainConfiguration;
|
|
165
|
+
options?: NoUselessEscapeInStringOptions;
|
|
166
|
+
}
|
|
167
|
+
export interface RuleWithNoUselessRegexBackrefsOptions {
|
|
168
|
+
level: RulePlainConfiguration;
|
|
169
|
+
options?: NoUselessRegexBackrefsOptions;
|
|
170
|
+
}
|
|
171
|
+
export interface RuleWithNoVarOptions {
|
|
172
|
+
fix?: FixKind | null;
|
|
173
|
+
level: RulePlainConfiguration;
|
|
174
|
+
options?: NoVarOptions;
|
|
175
|
+
}
|
|
176
|
+
export interface RuleWithNoWithOptions {
|
|
177
|
+
level: RulePlainConfiguration;
|
|
178
|
+
options?: NoWithOptions;
|
|
179
|
+
}
|
|
180
|
+
export interface RuleWithUseAdjacentOverloadSignaturesOptions {
|
|
181
|
+
level: RulePlainConfiguration;
|
|
182
|
+
options?: UseAdjacentOverloadSignaturesOptions;
|
|
183
|
+
}
|
|
184
|
+
export interface RuleWithUseAwaitOptions {
|
|
185
|
+
level: RulePlainConfiguration;
|
|
186
|
+
options?: UseAwaitOptions;
|
|
187
|
+
}
|
|
188
|
+
export interface RuleWithUseBiomeIgnoreFolderOptions {
|
|
189
|
+
fix?: FixKind | null;
|
|
190
|
+
level: RulePlainConfiguration;
|
|
191
|
+
options?: UseBiomeIgnoreFolderOptions;
|
|
192
|
+
}
|
|
193
|
+
export interface RuleWithUseDefaultSwitchClauseLastOptions {
|
|
194
|
+
level: RulePlainConfiguration;
|
|
195
|
+
options?: UseDefaultSwitchClauseLastOptions;
|
|
196
|
+
}
|
|
197
|
+
export interface RuleWithUseErrorMessageOptions {
|
|
198
|
+
level: RulePlainConfiguration;
|
|
199
|
+
options?: UseErrorMessageOptions;
|
|
200
|
+
}
|
|
201
|
+
export interface RuleWithUseGetterReturnOptions {
|
|
202
|
+
level: RulePlainConfiguration;
|
|
203
|
+
options?: UseGetterReturnOptions;
|
|
204
|
+
}
|
|
205
|
+
export interface RuleWithUseGoogleFontDisplayOptions {
|
|
206
|
+
level: RulePlainConfiguration;
|
|
207
|
+
options?: UseGoogleFontDisplayOptions;
|
|
208
|
+
}
|
|
209
|
+
export interface RuleWithUseGuardForInOptions {
|
|
210
|
+
level: RulePlainConfiguration;
|
|
211
|
+
options?: UseGuardForInOptions;
|
|
212
|
+
}
|
|
213
|
+
export interface RuleWithUseIsArrayOptions {
|
|
214
|
+
fix?: FixKind | null;
|
|
215
|
+
level: RulePlainConfiguration;
|
|
216
|
+
options?: UseIsArrayOptions;
|
|
217
|
+
}
|
|
218
|
+
export interface RuleWithUseIterableCallbackReturnOptions {
|
|
219
|
+
level: RulePlainConfiguration;
|
|
220
|
+
options?: UseIterableCallbackReturnOptions;
|
|
221
|
+
}
|
|
222
|
+
export interface RuleWithUseNamespaceKeywordOptions {
|
|
223
|
+
fix?: FixKind | null;
|
|
224
|
+
level: RulePlainConfiguration;
|
|
225
|
+
options?: UseNamespaceKeywordOptions;
|
|
226
|
+
}
|
|
227
|
+
export interface RuleWithUseNumberToFixedDigitsArgumentOptions {
|
|
228
|
+
fix?: FixKind | null;
|
|
229
|
+
level: RulePlainConfiguration;
|
|
230
|
+
options?: UseNumberToFixedDigitsArgumentOptions;
|
|
231
|
+
}
|
|
232
|
+
export interface RuleWithUseStaticResponseMethodsOptions {
|
|
233
|
+
fix?: FixKind | null;
|
|
234
|
+
level: RulePlainConfiguration;
|
|
235
|
+
options?: UseStaticResponseMethodsOptions;
|
|
236
|
+
}
|
|
237
|
+
export interface RuleWithUseStrictModeOptions {
|
|
238
|
+
fix?: FixKind | null;
|
|
239
|
+
level: RulePlainConfiguration;
|
|
240
|
+
options?: UseStrictModeOptions;
|
|
241
|
+
}
|
|
242
|
+
export type OverrideGlobs = Glob[];
|
|
243
|
+
export type Plugins = PluginConfiguration[];
|
|
244
|
+
/**
|
|
245
|
+
* Set of properties to integrate Biome with a VCS software.
|
|
246
|
+
*/
|
|
247
|
+
export interface VcsConfiguration {
|
|
248
|
+
/**
|
|
249
|
+
* The kind of client.
|
|
250
|
+
*/
|
|
251
|
+
clientKind?: VcsClientKind | null;
|
|
252
|
+
/**
|
|
253
|
+
* The main branch of the project
|
|
254
|
+
*/
|
|
255
|
+
defaultBranch?: string | null;
|
|
256
|
+
/**
|
|
257
|
+
* Whether Biome should integrate itself with the VCS client
|
|
258
|
+
*/
|
|
259
|
+
enabled?: Bool | null;
|
|
260
|
+
/**
|
|
261
|
+
* The folder where Biome should check for VCS files. By default, Biome will use the same
|
|
262
|
+
* folder where `biome.json` was found.
|
|
263
|
+
*
|
|
264
|
+
* If Biome can't find the configuration, it will attempt to use the current working directory.
|
|
265
|
+
* If no current working directory can't be found, Biome won't use the VCS integration, and a diagnostic
|
|
266
|
+
* will be emitted
|
|
267
|
+
*/
|
|
268
|
+
root?: string | null;
|
|
269
|
+
/**
|
|
270
|
+
* Whether Biome should use the VCS ignore file. When [true], Biome will ignore the files
|
|
271
|
+
* specified in the ignore file.
|
|
272
|
+
*/
|
|
273
|
+
useIgnoreFile?: Bool | null;
|
|
274
|
+
}
|
|
275
|
+
export type SourcesMatcher = SourceMatcher | SourceMatcher[];
|
|
276
|
+
export interface RuleAssistWithUseSortedAttributesOptions {
|
|
277
|
+
level: RuleAssistPlainConfiguration;
|
|
278
|
+
options: UseSortedAttributesOptions;
|
|
279
|
+
[k: string]: unknown;
|
|
280
|
+
}
|
|
281
|
+
export interface RuleAssistWithUseSortedKeysOptions {
|
|
282
|
+
level: RuleAssistPlainConfiguration;
|
|
283
|
+
options: UseSortedKeysOptions;
|
|
284
|
+
[k: string]: unknown;
|
|
285
|
+
}
|
|
286
|
+
export type UseSortedPropertiesConfiguration = RuleAssistPlainConfiguration | RuleAssistWithUseSortedPropertiesOptions;
|
|
287
|
+
/**
|
|
288
|
+
* Options applied to GritQL files
|
|
289
|
+
*/
|
|
290
|
+
export interface GritConfiguration {
|
|
291
|
+
/**
|
|
292
|
+
* Assist options
|
|
293
|
+
*/
|
|
294
|
+
assist?: GritAssistConfiguration | null;
|
|
295
|
+
/**
|
|
296
|
+
* Formatting options
|
|
297
|
+
*/
|
|
298
|
+
formatter?: GritFormatterConfiguration | null;
|
|
299
|
+
/**
|
|
300
|
+
* Formatting options
|
|
301
|
+
*/
|
|
302
|
+
linter?: GritLinterConfiguration | null;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Options applied to CSS files
|
|
306
|
+
*/
|
|
307
|
+
export interface CssConfiguration {
|
|
308
|
+
/**
|
|
309
|
+
* CSS assist options
|
|
310
|
+
*/
|
|
311
|
+
assist?: CssAssistConfiguration | null;
|
|
312
|
+
/**
|
|
313
|
+
* CSS formatter options
|
|
314
|
+
*/
|
|
315
|
+
formatter?: CssFormatterConfiguration | null;
|
|
316
|
+
/**
|
|
317
|
+
* CSS globals
|
|
318
|
+
*/
|
|
319
|
+
globals?: string[] | null;
|
|
320
|
+
/**
|
|
321
|
+
* CSS linter options
|
|
322
|
+
*/
|
|
323
|
+
linter?: CssLinterConfiguration | null;
|
|
324
|
+
/**
|
|
325
|
+
* CSS parsing options
|
|
326
|
+
*/
|
|
327
|
+
parser?: CssParserConfiguration | null;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Options applied to GraphQL files
|
|
331
|
+
*/
|
|
332
|
+
export interface GraphqlConfiguration {
|
|
333
|
+
/**
|
|
334
|
+
* Assist options
|
|
335
|
+
*/
|
|
336
|
+
assist?: GraphqlAssistConfiguration | null;
|
|
337
|
+
/**
|
|
338
|
+
* GraphQL formatter options
|
|
339
|
+
*/
|
|
340
|
+
formatter?: GraphqlFormatterConfiguration | null;
|
|
341
|
+
linter?: GraphqlLinterConfiguration | null;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Options applied to HTML files
|
|
345
|
+
*/
|
|
346
|
+
export interface HtmlConfiguration {
|
|
347
|
+
assist?: HtmlAssistConfiguration | null;
|
|
348
|
+
/**
|
|
349
|
+
* Enables full support for HTML, Vue, Svelte and Astro files.
|
|
350
|
+
*/
|
|
351
|
+
experimentalFullSupportEnabled?: Bool | null;
|
|
352
|
+
/**
|
|
353
|
+
* HTML formatter options
|
|
354
|
+
*/
|
|
355
|
+
formatter?: HtmlFormatterConfiguration | null;
|
|
356
|
+
/**
|
|
357
|
+
* HTML linter options
|
|
358
|
+
*/
|
|
359
|
+
linter?: HtmlLinterConfiguration | null;
|
|
360
|
+
/**
|
|
361
|
+
* HTML parsing options
|
|
362
|
+
*/
|
|
363
|
+
parser?: HtmlParserConfiguration | null;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* A set of options applied to the JavaScript files
|
|
367
|
+
*/
|
|
368
|
+
export interface JsConfiguration {
|
|
369
|
+
/**
|
|
370
|
+
* Assist options
|
|
371
|
+
*/
|
|
372
|
+
assist?: JsAssistConfiguration | null;
|
|
373
|
+
/**
|
|
374
|
+
* Formatting options
|
|
375
|
+
*/
|
|
376
|
+
formatter?: JsFormatterConfiguration | null;
|
|
377
|
+
/**
|
|
378
|
+
* A list of global bindings that should be ignored by the analyzers
|
|
379
|
+
*
|
|
380
|
+
* If defined here, they should not emit diagnostics.
|
|
381
|
+
*/
|
|
382
|
+
globals?: string[] | null;
|
|
383
|
+
/**
|
|
384
|
+
* Indicates the type of runtime or transformation used for interpreting JSX.
|
|
385
|
+
*/
|
|
386
|
+
jsxRuntime?: JsxRuntime | null;
|
|
387
|
+
/**
|
|
388
|
+
* Linter options
|
|
389
|
+
*/
|
|
390
|
+
linter?: JsLinterConfiguration | null;
|
|
391
|
+
/**
|
|
392
|
+
* Parsing options
|
|
393
|
+
*/
|
|
394
|
+
parser?: JsParserConfiguration | null;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Options applied to JSON files
|
|
398
|
+
*/
|
|
399
|
+
export interface JsonConfiguration {
|
|
400
|
+
/**
|
|
401
|
+
* Assist options
|
|
402
|
+
*/
|
|
403
|
+
assist?: JsonAssistConfiguration | null;
|
|
404
|
+
/**
|
|
405
|
+
* Formatting options
|
|
406
|
+
*/
|
|
407
|
+
formatter?: JsonFormatterConfiguration | null;
|
|
408
|
+
/**
|
|
409
|
+
* Linting options
|
|
410
|
+
*/
|
|
411
|
+
linter?: JsonLinterConfiguration | null;
|
|
412
|
+
/**
|
|
413
|
+
* Parsing options
|
|
414
|
+
*/
|
|
415
|
+
parser?: JsonParserConfiguration | null;
|
|
416
|
+
}
|
|
417
|
+
export type NoAccessKeyConfiguration = RulePlainConfiguration | RuleWithNoAccessKeyOptions;
|
|
418
|
+
export type NoAriaHiddenOnFocusableConfiguration = RulePlainConfiguration | RuleWithNoAriaHiddenOnFocusableOptions;
|
|
419
|
+
export type NoAriaUnsupportedElementsConfiguration = RulePlainConfiguration | RuleWithNoAriaUnsupportedElementsOptions;
|
|
420
|
+
export type NoAutofocusConfiguration = RulePlainConfiguration | RuleWithNoAutofocusOptions;
|
|
421
|
+
export type NoDistractingElementsConfiguration = RulePlainConfiguration | RuleWithNoDistractingElementsOptions;
|
|
422
|
+
export type NoHeaderScopeConfiguration = RulePlainConfiguration | RuleWithNoHeaderScopeOptions;
|
|
423
|
+
export type NoInteractiveElementToNoninteractiveRoleConfiguration = RulePlainConfiguration | RuleWithNoInteractiveElementToNoninteractiveRoleOptions;
|
|
424
|
+
export type NoLabelWithoutControlConfiguration = RulePlainConfiguration | RuleWithNoLabelWithoutControlOptions;
|
|
425
|
+
export type NoNoninteractiveElementInteractionsConfiguration = RulePlainConfiguration | RuleWithNoNoninteractiveElementInteractionsOptions;
|
|
426
|
+
export type NoNoninteractiveElementToInteractiveRoleConfiguration = RulePlainConfiguration | RuleWithNoNoninteractiveElementToInteractiveRoleOptions;
|
|
427
|
+
export type NoNoninteractiveTabindexConfiguration = RulePlainConfiguration | RuleWithNoNoninteractiveTabindexOptions;
|
|
428
|
+
export type NoPositiveTabindexConfiguration = RulePlainConfiguration | RuleWithNoPositiveTabindexOptions;
|
|
429
|
+
export type NoRedundantAltConfiguration = RulePlainConfiguration | RuleWithNoRedundantAltOptions;
|
|
430
|
+
export type NoRedundantRolesConfiguration = RulePlainConfiguration | RuleWithNoRedundantRolesOptions;
|
|
431
|
+
export type NoStaticElementInteractionsConfiguration = RulePlainConfiguration | RuleWithNoStaticElementInteractionsOptions;
|
|
432
|
+
export type NoSvgWithoutTitleConfiguration = RulePlainConfiguration | RuleWithNoSvgWithoutTitleOptions;
|
|
433
|
+
export type UseAltTextConfiguration = RulePlainConfiguration | RuleWithUseAltTextOptions;
|
|
434
|
+
export type UseAnchorContentConfiguration = RulePlainConfiguration | RuleWithUseAnchorContentOptions;
|
|
435
|
+
export type UseAriaActivedescendantWithTabindexConfiguration = RulePlainConfiguration | RuleWithUseAriaActivedescendantWithTabindexOptions;
|
|
436
|
+
export type UseAriaPropsForRoleConfiguration = RulePlainConfiguration | RuleWithUseAriaPropsForRoleOptions;
|
|
437
|
+
export type UseAriaPropsSupportedByRoleConfiguration = RulePlainConfiguration | RuleWithUseAriaPropsSupportedByRoleOptions;
|
|
438
|
+
export type UseButtonTypeConfiguration = RulePlainConfiguration | RuleWithUseButtonTypeOptions;
|
|
439
|
+
export type UseFocusableInteractiveConfiguration = RulePlainConfiguration | RuleWithUseFocusableInteractiveOptions;
|
|
440
|
+
export type UseGenericFontNamesConfiguration = RulePlainConfiguration | RuleWithUseGenericFontNamesOptions;
|
|
441
|
+
export type UseHeadingContentConfiguration = RulePlainConfiguration | RuleWithUseHeadingContentOptions;
|
|
442
|
+
export type UseHtmlLangConfiguration = RulePlainConfiguration | RuleWithUseHtmlLangOptions;
|
|
443
|
+
export type UseIframeTitleConfiguration = RulePlainConfiguration | RuleWithUseIframeTitleOptions;
|
|
444
|
+
export type UseKeyWithClickEventsConfiguration = RulePlainConfiguration | RuleWithUseKeyWithClickEventsOptions;
|
|
445
|
+
export type UseKeyWithMouseEventsConfiguration = RulePlainConfiguration | RuleWithUseKeyWithMouseEventsOptions;
|
|
446
|
+
export type UseMediaCaptionConfiguration = RulePlainConfiguration | RuleWithUseMediaCaptionOptions;
|
|
447
|
+
export type UseSemanticElementsConfiguration = RulePlainConfiguration | RuleWithUseSemanticElementsOptions;
|
|
448
|
+
export type UseValidAnchorConfiguration = RulePlainConfiguration | RuleWithUseValidAnchorOptions;
|
|
449
|
+
export type UseValidAriaPropsConfiguration = RulePlainConfiguration | RuleWithUseValidAriaPropsOptions;
|
|
450
|
+
export type UseValidAriaRoleConfiguration = RulePlainConfiguration | RuleWithUseValidAriaRoleOptions;
|
|
451
|
+
export type UseValidAriaValuesConfiguration = RulePlainConfiguration | RuleWithUseValidAriaValuesOptions;
|
|
452
|
+
export type UseValidAutocompleteConfiguration = RulePlainConfiguration | RuleWithUseValidAutocompleteOptions;
|
|
453
|
+
export type UseValidLangConfiguration = RulePlainConfiguration | RuleWithUseValidLangOptions;
|
|
454
|
+
export type NoAdjacentSpacesInRegexConfiguration = RulePlainConfiguration | RuleWithNoAdjacentSpacesInRegexOptions;
|
|
455
|
+
export type NoArgumentsConfiguration = RulePlainConfiguration | RuleWithNoArgumentsOptions;
|
|
456
|
+
export type NoBannedTypesConfiguration = RulePlainConfiguration | RuleWithNoBannedTypesOptions;
|
|
457
|
+
export type NoCommaOperatorConfiguration = RulePlainConfiguration | RuleWithNoCommaOperatorOptions;
|
|
458
|
+
export type NoEmptyTypeParametersConfiguration = RulePlainConfiguration | RuleWithNoEmptyTypeParametersOptions;
|
|
459
|
+
export type NoExcessiveCognitiveComplexityConfiguration = RulePlainConfiguration | RuleWithNoExcessiveCognitiveComplexityOptions;
|
|
460
|
+
export type NoExcessiveLinesPerFunctionConfiguration = RulePlainConfiguration | RuleWithNoExcessiveLinesPerFunctionOptions;
|
|
461
|
+
export type NoExcessiveNestedTestSuitesConfiguration = RulePlainConfiguration | RuleWithNoExcessiveNestedTestSuitesOptions;
|
|
462
|
+
export type NoExtraBooleanCastConfiguration = RulePlainConfiguration | RuleWithNoExtraBooleanCastOptions;
|
|
463
|
+
export type NoFlatMapIdentityConfiguration = RulePlainConfiguration | RuleWithNoFlatMapIdentityOptions;
|
|
464
|
+
export type NoForEachConfiguration = RulePlainConfiguration | RuleWithNoForEachOptions;
|
|
465
|
+
export type NoImplicitCoercionsConfiguration = RulePlainConfiguration | RuleWithNoImplicitCoercionsOptions;
|
|
466
|
+
export type NoImportantStylesConfiguration = RulePlainConfiguration | RuleWithNoImportantStylesOptions;
|
|
467
|
+
export type NoStaticOnlyClassConfiguration = RulePlainConfiguration | RuleWithNoStaticOnlyClassOptions;
|
|
468
|
+
export type NoThisInStaticConfiguration = RulePlainConfiguration | RuleWithNoThisInStaticOptions;
|
|
469
|
+
export type NoUselessCatchConfiguration = RulePlainConfiguration | RuleWithNoUselessCatchOptions;
|