@quentinhsu/biome-config 0.3.3 → 0.3.5
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/build.mjs +59 -59
- package/dist/index.jsonc +56 -56
- package/dist/index.mjs +59 -59
- package/dist/next.jsonc +60 -60
- package/dist/nuxt.jsonc +91 -91
- package/dist/react.jsonc +58 -58
- package/dist/types/src/constants/biome.d.ts +1 -1
- package/dist/types/src/generated/biome/index.d.ts +10 -9
- package/dist/types/src/generated/biome/linter-configuration.d.ts +181 -0
- package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +25 -24
- package/dist/types/src/generated/biome/{no-misrefactored-shorthand-assign-options.d.ts → no-label-var-options.d.ts} +55 -95
- package/dist/types/src/generated/biome/{no-non-null-assertion-options.d.ts → no-magic-numbers-options.d.ts} +17 -17
- package/dist/types/src/generated/biome/{rule-with-no-document-import-in-page-options.d.ts → rule-with-no-confusing-labels-options.d.ts} +175 -87
- package/dist/types/src/generated/biome/{rule-with-no-implicit-coercions-options.d.ts → rule-with-no-excessive-nested-test-suites-options.d.ts} +182 -182
- package/dist/types/src/generated/biome/{use-consistent-arrow-return-options.d.ts → rule-with-no-unused-expressions-options.d.ts} +202 -206
- package/dist/types/src/generated/biome/schema.d.ts +11 -11
- package/dist/types/src/generated/biome/{nursery.d.ts → use-consistent-object-definitions-configuration.d.ts} +473 -192
- package/dist/types/src/generated/biome/{use-semantic-elements-configuration.d.ts → use-focusable-interactive-configuration.d.ts} +16 -16
- package/dist/types/src/generated/biome/{no-empty-source-configuration.d.ts → use-qwik-classlist-configuration.d.ts} +26 -26
- package/dist/types/src/generated/biome/{no-assign-in-expressions-configuration.d.ts → use-shorthand-assign-configuration.d.ts} +19 -450
- package/dist/types/src/index.d.ts +2 -2
- package/dist/vue.jsonc +60 -60
- package/package.json +34 -34
|
@@ -87,15 +87,15 @@ export interface NoLabelWithoutControlOptions {
|
|
|
87
87
|
/**
|
|
88
88
|
* Array of component names that should be considered the same as an `input` element.
|
|
89
89
|
*/
|
|
90
|
-
inputComponents?: string[];
|
|
90
|
+
inputComponents?: string[] | null;
|
|
91
91
|
/**
|
|
92
92
|
* Array of attributes that should be treated as the `label` accessible text content.
|
|
93
93
|
*/
|
|
94
|
-
labelAttributes?: string[];
|
|
94
|
+
labelAttributes?: string[] | null;
|
|
95
95
|
/**
|
|
96
96
|
* Array of component names that should be considered the same as a `label` element.
|
|
97
97
|
*/
|
|
98
|
-
labelComponents?: string[];
|
|
98
|
+
labelComponents?: string[] | null;
|
|
99
99
|
}
|
|
100
100
|
export interface NoNoninteractiveElementInteractionsOptions {
|
|
101
101
|
}
|
|
@@ -151,11 +151,11 @@ export interface UseValidAriaRoleOptions {
|
|
|
151
151
|
/**
|
|
152
152
|
* It allows specifying a list of roles that might be invalid otherwise
|
|
153
153
|
*/
|
|
154
|
-
allowInvalidRoles?: string[];
|
|
154
|
+
allowInvalidRoles?: string[] | null;
|
|
155
155
|
/**
|
|
156
156
|
* Use this option to ignore non-DOM elements, such as custom components
|
|
157
157
|
*/
|
|
158
|
-
ignoreNonDom?: boolean;
|
|
158
|
+
ignoreNonDom?: boolean | null;
|
|
159
159
|
}
|
|
160
160
|
export interface UseValidAriaValuesOptions {
|
|
161
161
|
}
|
|
@@ -163,7 +163,7 @@ export interface UseValidAutocompleteOptions {
|
|
|
163
163
|
/**
|
|
164
164
|
* `input` like custom components that should be checked.
|
|
165
165
|
*/
|
|
166
|
-
inputComponents?: string[];
|
|
166
|
+
inputComponents?: string[] | null;
|
|
167
167
|
}
|
|
168
168
|
export interface UseValidLangOptions {
|
|
169
169
|
}
|
|
@@ -181,21 +181,21 @@ export interface NoExcessiveCognitiveComplexityOptions {
|
|
|
181
181
|
/**
|
|
182
182
|
* The maximum complexity score that we allow. Anything higher is considered excessive.
|
|
183
183
|
*/
|
|
184
|
-
maxAllowedComplexity?: number;
|
|
184
|
+
maxAllowedComplexity?: number | null;
|
|
185
185
|
}
|
|
186
186
|
export interface NoExcessiveLinesPerFunctionOptions {
|
|
187
187
|
/**
|
|
188
188
|
* The maximum number of lines allowed in a function body.
|
|
189
189
|
*/
|
|
190
|
-
maxLines?: number;
|
|
190
|
+
maxLines?: number | null;
|
|
191
191
|
/**
|
|
192
192
|
* When this options is set to `true`, blank lines in the function body are not counted towards the maximum line limit.
|
|
193
193
|
*/
|
|
194
|
-
skipBlankLines?: boolean;
|
|
194
|
+
skipBlankLines?: boolean | null;
|
|
195
195
|
/**
|
|
196
196
|
* When this option is set to `true`, Immediately Invoked Function Expressions (IIFEs) are not checked for the maximum line limit.
|
|
197
197
|
*/
|
|
198
|
-
skipIifes?: boolean;
|
|
198
|
+
skipIifes?: boolean | null;
|
|
199
199
|
}
|
|
200
200
|
export interface NoExcessiveNestedTestSuitesOptions {
|
|
201
201
|
}
|
|
@@ -207,7 +207,7 @@ export interface NoForEachOptions {
|
|
|
207
207
|
/**
|
|
208
208
|
* A list of variable names allowed for `forEach` calls.
|
|
209
209
|
*/
|
|
210
|
-
allowedIdentifiers?: string[];
|
|
210
|
+
allowedIdentifiers?: string[] | null;
|
|
211
211
|
}
|
|
212
212
|
export interface NoImplicitCoercionsOptions {
|
|
213
213
|
}
|