@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.
- package/dist/131.mjs +358 -0
- package/dist/build.mjs +108 -360
- package/dist/index.jsonc +1 -1
- package/dist/index.mjs +1 -358
- package/dist/next.jsonc +1 -1
- package/dist/nuxt.jsonc +1 -1
- package/dist/react.jsonc +1 -1
- 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 +12 -10
- package/dist/types/src/generated/biome/{no-label-var-options.d.ts → no-comment-text-options.d.ts} +217 -532
- package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +74 -75
- package/dist/types/src/generated/biome/{use-qwik-classlist-configuration.d.ts → no-sync-scripts-configuration.d.ts} +56 -112
- package/dist/types/src/generated/biome/{use-focusable-interactive-configuration.d.ts → no-useless-constructor-configuration.d.ts} +33 -51
- package/dist/types/src/generated/biome/nursery.d.ts +822 -0
- package/dist/types/src/generated/biome/pattern-options.d.ts +1075 -0
- 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 +24 -6
- 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-magic-numbers-options.d.ts → use-unique-variable-names-options.d.ts} +127 -105
- package/dist/vue.jsonc +1 -1
- package/package.json +11 -7
- package/dist/types/src/generated/biome/linter-configuration.d.ts +0 -181
- package/dist/types/src/generated/biome/rule-with-no-confusing-labels-options.d.ts +0 -1236
- package/dist/types/src/generated/biome/rule-with-no-excessive-nested-test-suites-options.d.ts +0 -1440
- package/dist/types/src/generated/biome/rule-with-no-unused-expressions-options.d.ts +0 -1337
- package/dist/types/src/generated/biome/use-consistent-object-definitions-configuration.d.ts +0 -1304
- package/dist/types/src/generated/biome/use-shorthand-assign-configuration.d.ts +0 -571
|
@@ -33,6 +33,9 @@ export interface NoReactPropAssignmentsOptions {
|
|
|
33
33
|
}
|
|
34
34
|
export interface NoRenderReturnValueOptions {
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
|
|
38
|
+
*/
|
|
36
39
|
export interface CustomRestrictedElements {
|
|
37
40
|
[k: string]: string;
|
|
38
41
|
}
|
|
@@ -107,7 +110,8 @@ export interface UseHookAtTopLevelOptions {
|
|
|
107
110
|
export type UseImageSizeOptions = null;
|
|
108
111
|
export interface UseImportExtensionsOptions {
|
|
109
112
|
/**
|
|
110
|
-
* If `true`, the suggested extension is always `.js` regardless of what
|
|
113
|
+
* If `true`, the suggested extension is always `.js` regardless of what
|
|
114
|
+
* extension the source file has in your project.
|
|
111
115
|
*/
|
|
112
116
|
forceJsExtensions?: boolean | null;
|
|
113
117
|
}
|
|
@@ -129,7 +133,8 @@ export interface UseSingleJsDocAsteriskOptions {
|
|
|
129
133
|
}
|
|
130
134
|
export interface UseUniqueElementIdsOptions {
|
|
131
135
|
/**
|
|
132
|
-
* Component names that accept an `id` prop that does not translate
|
|
136
|
+
* Component names that accept an `id` prop that does not translate
|
|
137
|
+
* to a DOM element id.
|
|
133
138
|
*/
|
|
134
139
|
excludedComponents?: string[] | null;
|
|
135
140
|
}
|
|
@@ -139,23 +144,40 @@ export interface UseValidTypeofOptions {
|
|
|
139
144
|
}
|
|
140
145
|
export interface UseYieldOptions {
|
|
141
146
|
}
|
|
147
|
+
export interface NoAmbiguousAnchorTextOptions {
|
|
148
|
+
/**
|
|
149
|
+
* It allows users to modify the strings that can be checked for in the anchor text. Useful for specifying other words in other languages
|
|
150
|
+
*/
|
|
151
|
+
words?: string[] | null;
|
|
152
|
+
}
|
|
153
|
+
export interface NoBeforeInteractiveScriptOutsideDocumentOptions {
|
|
154
|
+
}
|
|
142
155
|
export interface NoContinueOptions {
|
|
143
156
|
}
|
|
144
157
|
export interface NoDeprecatedImportsOptions {
|
|
145
158
|
}
|
|
146
159
|
export interface NoDuplicateDependenciesOptions {
|
|
147
160
|
}
|
|
161
|
+
export interface NoDuplicatedSpreadPropsOptions {
|
|
162
|
+
}
|
|
148
163
|
export interface NoEmptySourceOptions {
|
|
149
164
|
/**
|
|
150
165
|
* Whether comments are considered meaningful
|
|
151
166
|
*/
|
|
152
167
|
allowComments?: boolean | null;
|
|
153
168
|
}
|
|
169
|
+
export interface NoEqualsToNullOptions {
|
|
170
|
+
}
|
|
154
171
|
export interface NoFloatingPromisesOptions {
|
|
155
172
|
}
|
|
173
|
+
export interface NoForInOptions {
|
|
174
|
+
}
|
|
156
175
|
export interface NoImportCyclesOptions {
|
|
157
176
|
/**
|
|
158
|
-
* Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
|
|
177
|
+
* Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
|
|
178
|
+
* will be removed by the compiler, so it cuts an import cycle at runtime. Note that named type
|
|
179
|
+
* imports (`import { type Foo }`) aren't considered as type-only because it's not removed by
|
|
180
|
+
* the compiler if the `verbatimModuleSyntax` option is enabled. Enabled by default.
|
|
159
181
|
*/
|
|
160
182
|
ignoreTypes?: boolean | null;
|
|
161
183
|
}
|
|
@@ -179,16 +201,36 @@ export interface NoJsxLiteralsOptions {
|
|
|
179
201
|
*/
|
|
180
202
|
noStrings?: boolean | null;
|
|
181
203
|
}
|
|
204
|
+
export interface NoJsxPropsBindOptions {
|
|
205
|
+
}
|
|
206
|
+
export interface NoLeakedRenderOptions {
|
|
207
|
+
[k: string]: unknown;
|
|
208
|
+
}
|
|
182
209
|
export interface NoMisusedPromisesOptions {
|
|
183
210
|
}
|
|
211
|
+
export interface NoMultiAssignOptions {
|
|
212
|
+
}
|
|
213
|
+
export interface NoMultiStrOptions {
|
|
214
|
+
}
|
|
184
215
|
export interface NoNextAsyncClientComponentOptions {
|
|
185
216
|
}
|
|
186
217
|
export interface NoParametersOnlyUsedInRecursionOptions {
|
|
187
218
|
}
|
|
219
|
+
export interface NoProtoOptions {
|
|
220
|
+
}
|
|
188
221
|
export interface NoReactForwardRefOptions {
|
|
189
222
|
}
|
|
223
|
+
export interface NoReturnAssignOptions {
|
|
224
|
+
}
|
|
225
|
+
export interface NoScriptUrlOptions {
|
|
226
|
+
}
|
|
190
227
|
export interface NoShadowOptions {
|
|
191
228
|
}
|
|
229
|
+
export interface NoSyncScriptsOptions {
|
|
230
|
+
}
|
|
231
|
+
export interface NoTernaryOptions {
|
|
232
|
+
}
|
|
233
|
+
export type Regex = string;
|
|
192
234
|
export interface NoUnknownAttributeOptions {
|
|
193
235
|
ignore?: string[] | null;
|
|
194
236
|
}
|
|
@@ -199,7 +241,8 @@ export interface NoUnresolvedImportsOptions {
|
|
|
199
241
|
export interface NoUnusedExpressionsOptions {
|
|
200
242
|
}
|
|
201
243
|
/**
|
|
202
|
-
* Options for the `noUselessCatchBinding` rule.
|
|
244
|
+
* Options for the `noUselessCatchBinding` rule.
|
|
245
|
+
* Currently empty; reserved for future extensions (e.g. allowlist of names).
|
|
203
246
|
*/
|
|
204
247
|
export interface NoUselessCatchBindingOptions {
|
|
205
248
|
}
|
|
@@ -213,16 +256,30 @@ export interface NoVueReservedKeysOptions {
|
|
|
213
256
|
}
|
|
214
257
|
export interface NoVueReservedPropsOptions {
|
|
215
258
|
}
|
|
259
|
+
export interface NoVueSetupPropsReactivityLossOptions {
|
|
260
|
+
}
|
|
261
|
+
export interface NoVueVIfWithVForOptions {
|
|
262
|
+
}
|
|
216
263
|
export interface UseArraySortCompareOptions {
|
|
217
264
|
}
|
|
265
|
+
export interface UseAwaitThenableOptions {
|
|
266
|
+
}
|
|
218
267
|
export type UseConsistentArrowReturnStyle = 'asNeeded' | 'always' | 'never';
|
|
268
|
+
/**
|
|
269
|
+
* The GraphQL description style to enforce.
|
|
270
|
+
*/
|
|
271
|
+
export type UseConsistentGraphqlDescriptionsStyle = 'block' | 'inline';
|
|
219
272
|
export interface UseDeprecatedDateOptions {
|
|
220
273
|
argumentName?: string | null;
|
|
221
274
|
}
|
|
275
|
+
export interface UseDestructuringOptions {
|
|
276
|
+
}
|
|
222
277
|
export interface UseExhaustiveSwitchCasesOptions {
|
|
223
278
|
}
|
|
224
279
|
export interface UseExplicitTypeOptions {
|
|
225
280
|
}
|
|
281
|
+
export interface UseFindOptions {
|
|
282
|
+
}
|
|
226
283
|
export interface UseMaxParamsOptions {
|
|
227
284
|
/**
|
|
228
285
|
* Maximum number of parameters allowed (default: 4)
|
|
@@ -233,6 +290,14 @@ export interface UseQwikMethodUsageOptions {
|
|
|
233
290
|
}
|
|
234
291
|
export interface UseQwikValidLexicalScopeOptions {
|
|
235
292
|
}
|
|
293
|
+
export interface UseRegexpExecOptions {
|
|
294
|
+
}
|
|
295
|
+
export interface UseRequiredScriptsOptions {
|
|
296
|
+
/**
|
|
297
|
+
* List of script names that must be present in package.json
|
|
298
|
+
*/
|
|
299
|
+
requiredScripts?: string[];
|
|
300
|
+
}
|
|
236
301
|
export interface UseSortedClassesOptions {
|
|
237
302
|
/**
|
|
238
303
|
* Additional attributes that will be sorted.
|
|
@@ -243,79 +308,13 @@ export interface UseSortedClassesOptions {
|
|
|
243
308
|
*/
|
|
244
309
|
functions?: string[] | null;
|
|
245
310
|
}
|
|
246
|
-
export interface
|
|
247
|
-
/**
|
|
248
|
-
* The order of the Vue define macros.
|
|
249
|
-
*/
|
|
250
|
-
order?: string[] | null;
|
|
251
|
-
}
|
|
252
|
-
export interface UseVueMultiWordComponentNamesOptions {
|
|
253
|
-
/**
|
|
254
|
-
* Component names to ignore (allowed to be single-word).
|
|
255
|
-
*/
|
|
256
|
-
ignores?: string[];
|
|
257
|
-
}
|
|
258
|
-
export interface NoAccumulatingSpreadOptions {
|
|
259
|
-
}
|
|
260
|
-
export interface NoAwaitInLoopsOptions {
|
|
261
|
-
}
|
|
262
|
-
export interface NoBarrelFileOptions {
|
|
263
|
-
}
|
|
264
|
-
export interface NoDeleteOptions {
|
|
265
|
-
}
|
|
266
|
-
export interface NoDynamicNamespaceImportAccessOptions {
|
|
267
|
-
}
|
|
268
|
-
export interface NoImgElementOptions {
|
|
269
|
-
}
|
|
270
|
-
export interface NoNamespaceImportOptions {
|
|
271
|
-
}
|
|
272
|
-
export interface NoReExportAllOptions {
|
|
273
|
-
}
|
|
274
|
-
export interface NoUnwantedPolyfillioOptions {
|
|
275
|
-
}
|
|
276
|
-
export interface UseGoogleFontPreconnectOptions {
|
|
277
|
-
}
|
|
278
|
-
export interface UseSolidForComponentOptions {
|
|
279
|
-
}
|
|
280
|
-
export interface UseTopLevelRegexOptions {
|
|
281
|
-
}
|
|
282
|
-
export interface NoBlankTargetOptions {
|
|
283
|
-
/**
|
|
284
|
-
* List of domains where `target="_blank"` is allowed without `rel="noopener"`.
|
|
285
|
-
*/
|
|
286
|
-
allowDomains?: string[];
|
|
287
|
-
/**
|
|
288
|
-
* Whether `noreferrer` is allowed in addition to `noopener`.
|
|
289
|
-
*/
|
|
290
|
-
allowNoReferrer?: boolean | null;
|
|
291
|
-
}
|
|
292
|
-
export interface NoDangerouslySetInnerHtmlOptions {
|
|
293
|
-
}
|
|
294
|
-
export interface NoDangerouslySetInnerHtmlWithChildrenOptions {
|
|
295
|
-
}
|
|
296
|
-
export interface NoGlobalEvalOptions {
|
|
297
|
-
}
|
|
298
|
-
export interface NoSecretsOptions {
|
|
299
|
-
/**
|
|
300
|
-
* Set entropy threshold (default is 41).
|
|
301
|
-
*/
|
|
302
|
-
entropyThreshold?: number | null;
|
|
303
|
-
}
|
|
304
|
-
export interface NoCommonJsOptions {
|
|
305
|
-
}
|
|
306
|
-
export interface NoDefaultExportOptions {
|
|
307
|
-
}
|
|
308
|
-
export interface NoDescendingSpecificityOptions {
|
|
309
|
-
}
|
|
310
|
-
export interface NoDoneCallbackOptions {
|
|
311
|
-
}
|
|
312
|
-
export interface NoEnumOptions {
|
|
311
|
+
export interface UseSpreadOptions {
|
|
313
312
|
}
|
|
314
|
-
export interface
|
|
313
|
+
export interface UseUniqueArgumentNamesOptions {
|
|
315
314
|
}
|
|
316
|
-
export interface
|
|
315
|
+
export interface UseUniqueFieldDefinitionNamesOptions {
|
|
317
316
|
}
|
|
318
|
-
export interface
|
|
317
|
+
export interface UseUniqueGraphqlOperationNameOptions {
|
|
319
318
|
}
|
|
320
|
-
export interface
|
|
319
|
+
export interface UseUniqueInputFieldNamesOptions {
|
|
321
320
|
}
|
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
import type { FixKind, RulePlainConfiguration } from './schema.ts';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type { CustomRestrictedType, FilenameCases,
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export type NoContinueConfiguration = RulePlainConfiguration | RuleWithNoContinueOptions;
|
|
12
|
-
export type NoDeprecatedImportsConfiguration = RulePlainConfiguration | RuleWithNoDeprecatedImportsOptions;
|
|
13
|
-
export type NoDuplicateDependenciesConfiguration = RulePlainConfiguration | RuleWithNoDuplicateDependenciesOptions;
|
|
14
|
-
export type NoEmptySourceConfiguration = RulePlainConfiguration | RuleWithNoEmptySourceOptions;
|
|
15
|
-
export type NoFloatingPromisesConfiguration = RulePlainConfiguration | RuleWithNoFloatingPromisesOptions;
|
|
16
|
-
export type NoImportCyclesConfiguration = RulePlainConfiguration | RuleWithNoImportCyclesOptions;
|
|
17
|
-
export type NoIncrementDecrementConfiguration = RulePlainConfiguration | RuleWithNoIncrementDecrementOptions;
|
|
18
|
-
export type NoJsxLiteralsConfiguration = RulePlainConfiguration | RuleWithNoJsxLiteralsOptions;
|
|
19
|
-
export type NoMisusedPromisesConfiguration = RulePlainConfiguration | RuleWithNoMisusedPromisesOptions;
|
|
20
|
-
export type NoNextAsyncClientComponentConfiguration = RulePlainConfiguration | RuleWithNoNextAsyncClientComponentOptions;
|
|
21
|
-
export type NoParametersOnlyUsedInRecursionConfiguration = RulePlainConfiguration | RuleWithNoParametersOnlyUsedInRecursionOptions;
|
|
22
|
-
export type NoReactForwardRefConfiguration = RulePlainConfiguration | RuleWithNoReactForwardRefOptions;
|
|
23
|
-
export type NoShadowConfiguration = RulePlainConfiguration | RuleWithNoShadowOptions;
|
|
2
|
+
import type { Regex } from './no-global-object-calls-options.ts';
|
|
3
|
+
import type { NoUndeclaredEnvVarsOptions, RuleWithNoAccumulatingSpreadOptions, RuleWithNoAwaitInLoopsOptions, RuleWithNoBarrelFileOptions, RuleWithNoDeleteOptions, RuleWithNoDynamicNamespaceImportAccessOptions, RuleWithNoImgElementOptions, RuleWithNoNamespaceImportOptions, RuleWithNoReExportAllOptions, RuleWithNoSyncScriptsOptions, RuleWithNoTernaryOptions, RuleWithNoUnknownAttributeOptions, RuleWithNoUnnecessaryConditionsOptions, RuleWithNoUnresolvedImportsOptions, RuleWithNoUnusedExpressionsOptions, RuleWithNoUnwantedPolyfillioOptions, RuleWithNoUselessCatchBindingOptions, RuleWithNoUselessUndefinedOptions, RuleWithNoVueDataObjectDeclarationOptions, RuleWithNoVueDuplicateKeysOptions, RuleWithNoVueReservedKeysOptions, RuleWithNoVueReservedPropsOptions, RuleWithNoVueSetupPropsReactivityLossOptions, RuleWithNoVueVIfWithVForOptions, RuleWithUseArraySortCompareOptions, RuleWithUseAwaitThenableOptions, RuleWithUseDeprecatedDateOptions, RuleWithUseDestructuringOptions, RuleWithUseExhaustiveSwitchCasesOptions, RuleWithUseExplicitTypeOptions, RuleWithUseFindOptions, RuleWithUseGoogleFontPreconnectOptions, RuleWithUseMaxParamsOptions, RuleWithUseQwikMethodUsageOptions, RuleWithUseQwikValidLexicalScopeOptions, RuleWithUseRegexpExecOptions, RuleWithUseRequiredScriptsOptions, RuleWithUseSolidForComponentOptions, RuleWithUseSortedClassesOptions, RuleWithUseSpreadOptions, RuleWithUseTopLevelRegexOptions, RuleWithUseUniqueArgumentNamesOptions, RuleWithUseUniqueFieldDefinitionNamesOptions, RuleWithUseUniqueGraphqlOperationNameOptions, RuleWithUseUniqueInputFieldNamesOptions, RuleWithUseUniqueVariableNamesOptions, RuleWithUseVueDefineMacrosOrderOptions, RuleWithUseVueHyphenatedAttributesOptions, RuleWithUseVueMultiWordComponentNamesOptions, RuleWithUseVueVForKeyOptions, RuleWithUseVueValidTemplateRootOptions, RuleWithUseVueValidVBindOptions, RuleWithUseVueValidVCloakOptions, RuleWithUseVueValidVElseIfOptions, RuleWithUseVueValidVElseOptions, RuleWithUseVueValidVHtmlOptions, RuleWithUseVueValidVIfOptions, RuleWithUseVueValidVOnOptions, RuleWithUseVueValidVOnceOptions, RuleWithUseVueValidVPreOptions, RuleWithUseVueValidVTextOptions, RuleWithUseVueVaporOptions, UseConsistentArrowReturnOptions, UseConsistentGraphqlDescriptionsOptions, UseVueConsistentDefinePropsDeclarationOptions, UseVueConsistentVBindStyleOptions, UseVueConsistentVOnStyleOptions } from './rule-with-no-unknown-unit-options.ts';
|
|
4
|
+
import type { CustomRestrictedType, FilenameCases, NoParameterAssignOptions, RuleWithNoBlankTargetOptions, RuleWithNoCommonJsOptions, RuleWithNoDangerouslySetInnerHtmlOptions, RuleWithNoDangerouslySetInnerHtmlWithChildrenOptions, RuleWithNoDefaultExportOptions, RuleWithNoDescendingSpecificityOptions, RuleWithNoDoneCallbackOptions, RuleWithNoEnumOptions, RuleWithNoExportedImportsOptions, RuleWithNoGlobalEvalOptions, RuleWithNoHeadElementOptions, RuleWithNoImplicitBooleanOptions, RuleWithNoInferrableTypesOptions, RuleWithNoMagicNumbersOptions, RuleWithNoNamespaceOptions, RuleWithNoNegationElseOptions, RuleWithNoNestedTernaryOptions, RuleWithNoNonNullAssertionOptions, RuleWithNoParameterPropertiesOptions, RuleWithNoProcessEnvOptions, RuleWithNoRestrictedGlobalsOptions, RuleWithNoSecretsOptions, RuleWithNoShoutyConstantsOptions, RuleWithNoSubstrOptions, RuleWithNoUnusedTemplateLiteralOptions, RuleWithNoUselessElseOptions, RuleWithNoValueAtRuleOptions, RuleWithNoYodaExpressionOptions, RuleWithUseArrayLiteralsOptions, RuleWithUseAsConstAssertionOptions, RuleWithUseAtIndexOptions, RuleWithUseBlockStatementsOptions, RuleWithUseCollapsedElseIfOptions, RuleWithUseCollapsedIfOptions, RuleWithUseComponentExportOnlyModulesOptions, RuleWithUseConsistentBuiltinInstantiationOptions, RuleWithUseConsistentCurlyBracesOptions, RuleWithUseConstOptions, RuleWithUseDefaultParameterLastOptions, RuleWithUseDefaultSwitchClauseOptions, RuleWithUseDeprecatedReasonOptions, RuleWithUseEnumInitializersOptions, RuleWithUseExplicitLengthCheckOptions, RuleWithUseExponentiationOperatorOptions, RuleWithUseExportTypeOptions, RuleWithUseExportsLastOptions, UseConsistentArrayTypeOptions, UseConsistentMemberAccessibilityOptions, UseConsistentObjectDefinitionsOptions, UseConsistentTypeDefinitionsOptions } from './rule-with-no-blank-target-options.ts';
|
|
5
|
+
export type NoSyncScriptsConfiguration = RulePlainConfiguration | RuleWithNoSyncScriptsOptions;
|
|
6
|
+
export type NoTernaryConfiguration = RulePlainConfiguration | RuleWithNoTernaryOptions;
|
|
7
|
+
export interface RuleWithNoUndeclaredEnvVarsOptions {
|
|
8
|
+
level: RulePlainConfiguration;
|
|
9
|
+
options?: NoUndeclaredEnvVarsOptions;
|
|
10
|
+
}
|
|
24
11
|
export type NoUnknownAttributeConfiguration = RulePlainConfiguration | RuleWithNoUnknownAttributeOptions;
|
|
25
12
|
export type NoUnnecessaryConditionsConfiguration = RulePlainConfiguration | RuleWithNoUnnecessaryConditionsOptions;
|
|
26
13
|
export type NoUnresolvedImportsConfiguration = RulePlainConfiguration | RuleWithNoUnresolvedImportsOptions;
|
|
@@ -31,30 +18,66 @@ export type NoVueDataObjectDeclarationConfiguration = RulePlainConfiguration | R
|
|
|
31
18
|
export type NoVueDuplicateKeysConfiguration = RulePlainConfiguration | RuleWithNoVueDuplicateKeysOptions;
|
|
32
19
|
export type NoVueReservedKeysConfiguration = RulePlainConfiguration | RuleWithNoVueReservedKeysOptions;
|
|
33
20
|
export type NoVueReservedPropsConfiguration = RulePlainConfiguration | RuleWithNoVueReservedPropsOptions;
|
|
21
|
+
export type NoVueSetupPropsReactivityLossConfiguration = RulePlainConfiguration | RuleWithNoVueSetupPropsReactivityLossOptions;
|
|
22
|
+
export type NoVueVIfWithVForConfiguration = RulePlainConfiguration | RuleWithNoVueVIfWithVForOptions;
|
|
34
23
|
export type UseArraySortCompareConfiguration = RulePlainConfiguration | RuleWithUseArraySortCompareOptions;
|
|
24
|
+
export type UseAwaitThenableConfiguration = RulePlainConfiguration | RuleWithUseAwaitThenableOptions;
|
|
35
25
|
export interface RuleWithUseConsistentArrowReturnOptions {
|
|
36
|
-
/**
|
|
37
|
-
* The kind of the code actions emitted by the rule
|
|
38
|
-
*/
|
|
39
26
|
fix?: FixKind | null;
|
|
40
|
-
/**
|
|
41
|
-
* The severity of the emitted diagnostics by the rule
|
|
42
|
-
*/
|
|
43
27
|
level: RulePlainConfiguration;
|
|
44
|
-
/**
|
|
45
|
-
* Rule's options
|
|
46
|
-
*/
|
|
47
28
|
options?: UseConsistentArrowReturnOptions;
|
|
48
29
|
}
|
|
30
|
+
export interface RuleWithUseConsistentGraphqlDescriptionsOptions {
|
|
31
|
+
level: RulePlainConfiguration;
|
|
32
|
+
options?: UseConsistentGraphqlDescriptionsOptions;
|
|
33
|
+
}
|
|
49
34
|
export type UseDeprecatedDateConfiguration = RulePlainConfiguration | RuleWithUseDeprecatedDateOptions;
|
|
35
|
+
export type UseDestructuringConfiguration = RulePlainConfiguration | RuleWithUseDestructuringOptions;
|
|
50
36
|
export type UseExhaustiveSwitchCasesConfiguration = RulePlainConfiguration | RuleWithUseExhaustiveSwitchCasesOptions;
|
|
51
37
|
export type UseExplicitTypeConfiguration = RulePlainConfiguration | RuleWithUseExplicitTypeOptions;
|
|
38
|
+
export type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
|
|
52
39
|
export type UseMaxParamsConfiguration = RulePlainConfiguration | RuleWithUseMaxParamsOptions;
|
|
53
40
|
export type UseQwikMethodUsageConfiguration = RulePlainConfiguration | RuleWithUseQwikMethodUsageOptions;
|
|
54
41
|
export type UseQwikValidLexicalScopeConfiguration = RulePlainConfiguration | RuleWithUseQwikValidLexicalScopeOptions;
|
|
42
|
+
export type UseRegexpExecConfiguration = RulePlainConfiguration | RuleWithUseRegexpExecOptions;
|
|
43
|
+
export type UseRequiredScriptsConfiguration = RulePlainConfiguration | RuleWithUseRequiredScriptsOptions;
|
|
55
44
|
export type UseSortedClassesConfiguration = RulePlainConfiguration | RuleWithUseSortedClassesOptions;
|
|
45
|
+
export type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
46
|
+
export type UseUniqueArgumentNamesConfiguration = RulePlainConfiguration | RuleWithUseUniqueArgumentNamesOptions;
|
|
47
|
+
export type UseUniqueFieldDefinitionNamesConfiguration = RulePlainConfiguration | RuleWithUseUniqueFieldDefinitionNamesOptions;
|
|
48
|
+
export type UseUniqueGraphqlOperationNameConfiguration = RulePlainConfiguration | RuleWithUseUniqueGraphqlOperationNameOptions;
|
|
49
|
+
export type UseUniqueInputFieldNamesConfiguration = RulePlainConfiguration | RuleWithUseUniqueInputFieldNamesOptions;
|
|
50
|
+
export type UseUniqueVariableNamesConfiguration = RulePlainConfiguration | RuleWithUseUniqueVariableNamesOptions;
|
|
51
|
+
export interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
|
|
52
|
+
level: RulePlainConfiguration;
|
|
53
|
+
options?: UseVueConsistentDefinePropsDeclarationOptions;
|
|
54
|
+
}
|
|
55
|
+
export interface RuleWithUseVueConsistentVBindStyleOptions {
|
|
56
|
+
fix?: FixKind | null;
|
|
57
|
+
level: RulePlainConfiguration;
|
|
58
|
+
options?: UseVueConsistentVBindStyleOptions;
|
|
59
|
+
}
|
|
60
|
+
export interface RuleWithUseVueConsistentVOnStyleOptions {
|
|
61
|
+
fix?: FixKind | null;
|
|
62
|
+
level: RulePlainConfiguration;
|
|
63
|
+
options?: UseVueConsistentVOnStyleOptions;
|
|
64
|
+
}
|
|
56
65
|
export type UseVueDefineMacrosOrderConfiguration = RulePlainConfiguration | RuleWithUseVueDefineMacrosOrderOptions;
|
|
66
|
+
export type UseVueHyphenatedAttributesConfiguration = RulePlainConfiguration | RuleWithUseVueHyphenatedAttributesOptions;
|
|
57
67
|
export type UseVueMultiWordComponentNamesConfiguration = RulePlainConfiguration | RuleWithUseVueMultiWordComponentNamesOptions;
|
|
68
|
+
export type UseVueVForKeyConfiguration = RulePlainConfiguration | RuleWithUseVueVForKeyOptions;
|
|
69
|
+
export type UseVueValidTemplateRootConfiguration = RulePlainConfiguration | RuleWithUseVueValidTemplateRootOptions;
|
|
70
|
+
export type UseVueValidVBindConfiguration = RulePlainConfiguration | RuleWithUseVueValidVBindOptions;
|
|
71
|
+
export type UseVueValidVCloakConfiguration = RulePlainConfiguration | RuleWithUseVueValidVCloakOptions;
|
|
72
|
+
export type UseVueValidVElseConfiguration = RulePlainConfiguration | RuleWithUseVueValidVElseOptions;
|
|
73
|
+
export type UseVueValidVElseIfConfiguration = RulePlainConfiguration | RuleWithUseVueValidVElseIfOptions;
|
|
74
|
+
export type UseVueValidVHtmlConfiguration = RulePlainConfiguration | RuleWithUseVueValidVHtmlOptions;
|
|
75
|
+
export type UseVueValidVIfConfiguration = RulePlainConfiguration | RuleWithUseVueValidVIfOptions;
|
|
76
|
+
export type UseVueValidVOnConfiguration = RulePlainConfiguration | RuleWithUseVueValidVOnOptions;
|
|
77
|
+
export type UseVueValidVOnceConfiguration = RulePlainConfiguration | RuleWithUseVueValidVOnceOptions;
|
|
78
|
+
export type UseVueValidVPreConfiguration = RulePlainConfiguration | RuleWithUseVueValidVPreOptions;
|
|
79
|
+
export type UseVueValidVTextConfiguration = RulePlainConfiguration | RuleWithUseVueValidVTextOptions;
|
|
80
|
+
export type UseVueVaporConfiguration = RulePlainConfiguration | RuleWithUseVueVaporOptions;
|
|
58
81
|
export type NoAccumulatingSpreadConfiguration = RulePlainConfiguration | RuleWithNoAccumulatingSpreadOptions;
|
|
59
82
|
export type NoAwaitInLoopsConfiguration = RulePlainConfiguration | RuleWithNoAwaitInLoopsOptions;
|
|
60
83
|
export type NoBarrelFileConfiguration = RulePlainConfiguration | RuleWithNoBarrelFileOptions;
|
|
@@ -87,13 +110,7 @@ export type NoNegationElseConfiguration = RulePlainConfiguration | RuleWithNoNeg
|
|
|
87
110
|
export type NoNestedTernaryConfiguration = RulePlainConfiguration | RuleWithNoNestedTernaryOptions;
|
|
88
111
|
export type NoNonNullAssertionConfiguration = RulePlainConfiguration | RuleWithNoNonNullAssertionOptions;
|
|
89
112
|
export interface RuleWithNoParameterAssignOptions {
|
|
90
|
-
/**
|
|
91
|
-
* The severity of the emitted diagnostics by the rule
|
|
92
|
-
*/
|
|
93
113
|
level: RulePlainConfiguration;
|
|
94
|
-
/**
|
|
95
|
-
* Rule's options
|
|
96
|
-
*/
|
|
97
114
|
options?: NoParameterAssignOptions;
|
|
98
115
|
}
|
|
99
116
|
export type NoParameterPropertiesConfiguration = RulePlainConfiguration | RuleWithNoParameterPropertiesOptions;
|
|
@@ -118,57 +135,24 @@ export type UseCollapsedElseIfConfiguration = RulePlainConfiguration | RuleWithU
|
|
|
118
135
|
export type UseCollapsedIfConfiguration = RulePlainConfiguration | RuleWithUseCollapsedIfOptions;
|
|
119
136
|
export type UseComponentExportOnlyModulesConfiguration = RulePlainConfiguration | RuleWithUseComponentExportOnlyModulesOptions;
|
|
120
137
|
export interface RuleWithUseConsistentArrayTypeOptions {
|
|
121
|
-
/**
|
|
122
|
-
* The kind of the code actions emitted by the rule
|
|
123
|
-
*/
|
|
124
138
|
fix?: FixKind | null;
|
|
125
|
-
/**
|
|
126
|
-
* The severity of the emitted diagnostics by the rule
|
|
127
|
-
*/
|
|
128
139
|
level: RulePlainConfiguration;
|
|
129
|
-
/**
|
|
130
|
-
* Rule's options
|
|
131
|
-
*/
|
|
132
140
|
options?: UseConsistentArrayTypeOptions;
|
|
133
141
|
}
|
|
134
142
|
export type UseConsistentBuiltinInstantiationConfiguration = RulePlainConfiguration | RuleWithUseConsistentBuiltinInstantiationOptions;
|
|
135
143
|
export type UseConsistentCurlyBracesConfiguration = RulePlainConfiguration | RuleWithUseConsistentCurlyBracesOptions;
|
|
136
144
|
export interface RuleWithUseConsistentMemberAccessibilityOptions {
|
|
137
|
-
/**
|
|
138
|
-
* The severity of the emitted diagnostics by the rule
|
|
139
|
-
*/
|
|
140
145
|
level: RulePlainConfiguration;
|
|
141
|
-
/**
|
|
142
|
-
* Rule's options
|
|
143
|
-
*/
|
|
144
146
|
options?: UseConsistentMemberAccessibilityOptions;
|
|
145
147
|
}
|
|
146
148
|
export interface RuleWithUseConsistentObjectDefinitionsOptions {
|
|
147
|
-
/**
|
|
148
|
-
* The kind of the code actions emitted by the rule
|
|
149
|
-
*/
|
|
150
149
|
fix?: FixKind | null;
|
|
151
|
-
/**
|
|
152
|
-
* The severity of the emitted diagnostics by the rule
|
|
153
|
-
*/
|
|
154
150
|
level: RulePlainConfiguration;
|
|
155
|
-
/**
|
|
156
|
-
* Rule's options
|
|
157
|
-
*/
|
|
158
151
|
options?: UseConsistentObjectDefinitionsOptions;
|
|
159
152
|
}
|
|
160
153
|
export interface RuleWithUseConsistentTypeDefinitionsOptions {
|
|
161
|
-
/**
|
|
162
|
-
* The kind of the code actions emitted by the rule
|
|
163
|
-
*/
|
|
164
154
|
fix?: FixKind | null;
|
|
165
|
-
/**
|
|
166
|
-
* The severity of the emitted diagnostics by the rule
|
|
167
|
-
*/
|
|
168
155
|
level: RulePlainConfiguration;
|
|
169
|
-
/**
|
|
170
|
-
* Rule's options
|
|
171
|
-
*/
|
|
172
156
|
options?: UseConsistentTypeDefinitionsOptions;
|
|
173
157
|
}
|
|
174
158
|
export type UseConstConfiguration = RulePlainConfiguration | RuleWithUseConstOptions;
|
|
@@ -194,48 +178,8 @@ export interface UseFilenamingConventionOptions {
|
|
|
194
178
|
*/
|
|
195
179
|
requireAscii?: boolean | null;
|
|
196
180
|
/**
|
|
197
|
-
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases.
|
|
181
|
+
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases.
|
|
182
|
+
* This does not affect other [Case].
|
|
198
183
|
*/
|
|
199
184
|
strictCase?: boolean | null;
|
|
200
185
|
}
|
|
201
|
-
export type UseForOfConfiguration = RulePlainConfiguration | RuleWithUseForOfOptions;
|
|
202
|
-
export type UseFragmentSyntaxConfiguration = RulePlainConfiguration | RuleWithUseFragmentSyntaxOptions;
|
|
203
|
-
export type UseGraphqlNamingConventionConfiguration = RulePlainConfiguration | RuleWithUseGraphqlNamingConventionOptions;
|
|
204
|
-
export type UseGroupedAccessorPairsConfiguration = RulePlainConfiguration | RuleWithUseGroupedAccessorPairsOptions;
|
|
205
|
-
export interface RuleWithUseImportTypeOptions {
|
|
206
|
-
/**
|
|
207
|
-
* The kind of the code actions emitted by the rule
|
|
208
|
-
*/
|
|
209
|
-
fix?: FixKind | null;
|
|
210
|
-
/**
|
|
211
|
-
* The severity of the emitted diagnostics by the rule
|
|
212
|
-
*/
|
|
213
|
-
level: RulePlainConfiguration;
|
|
214
|
-
/**
|
|
215
|
-
* Rule's options
|
|
216
|
-
*/
|
|
217
|
-
options?: UseImportTypeOptions;
|
|
218
|
-
}
|
|
219
|
-
export type UseLiteralEnumMembersConfiguration = RulePlainConfiguration | RuleWithUseLiteralEnumMembersOptions;
|
|
220
|
-
export interface Selector {
|
|
221
|
-
/**
|
|
222
|
-
* Declaration kind
|
|
223
|
-
*/
|
|
224
|
-
kind?: Kind;
|
|
225
|
-
/**
|
|
226
|
-
* Modifiers used on the declaration
|
|
227
|
-
*/
|
|
228
|
-
modifiers?: Modifiers;
|
|
229
|
-
/**
|
|
230
|
-
* Scope of the declaration
|
|
231
|
-
*/
|
|
232
|
-
scope?: Scope;
|
|
233
|
-
}
|
|
234
|
-
export type UseNodeAssertStrictConfiguration = RulePlainConfiguration | RuleWithUseNodeAssertStrictOptions;
|
|
235
|
-
export type UseNodejsImportProtocolConfiguration = RulePlainConfiguration | RuleWithUseNodejsImportProtocolOptions;
|
|
236
|
-
export type UseNumberNamespaceConfiguration = RulePlainConfiguration | RuleWithUseNumberNamespaceOptions;
|
|
237
|
-
export type UseNumericSeparatorsConfiguration = RulePlainConfiguration | RuleWithUseNumericSeparatorsOptions;
|
|
238
|
-
export type UseObjectSpreadConfiguration = RulePlainConfiguration | RuleWithUseObjectSpreadOptions;
|
|
239
|
-
export type UseReactFunctionComponentsConfiguration = RulePlainConfiguration | RuleWithUseReactFunctionComponentsOptions;
|
|
240
|
-
export type UseReadonlyClassPropertiesConfiguration = RulePlainConfiguration | RuleWithUseReadonlyClassPropertiesOptions;
|
|
241
|
-
export type UseSelfClosingElementsConfiguration = RulePlainConfiguration | RuleWithUseSelfClosingElementsOptions;
|
|
@@ -1,37 +1,6 @@
|
|
|
1
1
|
import type { RulePlainConfiguration } from './schema.ts';
|
|
2
|
-
import type {
|
|
3
|
-
import type { Hook,
|
|
4
|
-
export type UseFocusableInteractiveConfiguration = RulePlainConfiguration | RuleWithUseFocusableInteractiveOptions;
|
|
5
|
-
export type UseGenericFontNamesConfiguration = RulePlainConfiguration | RuleWithUseGenericFontNamesOptions;
|
|
6
|
-
export type UseHeadingContentConfiguration = RulePlainConfiguration | RuleWithUseHeadingContentOptions;
|
|
7
|
-
export type UseHtmlLangConfiguration = RulePlainConfiguration | RuleWithUseHtmlLangOptions;
|
|
8
|
-
export type UseIframeTitleConfiguration = RulePlainConfiguration | RuleWithUseIframeTitleOptions;
|
|
9
|
-
export type UseKeyWithClickEventsConfiguration = RulePlainConfiguration | RuleWithUseKeyWithClickEventsOptions;
|
|
10
|
-
export type UseKeyWithMouseEventsConfiguration = RulePlainConfiguration | RuleWithUseKeyWithMouseEventsOptions;
|
|
11
|
-
export type UseMediaCaptionConfiguration = RulePlainConfiguration | RuleWithUseMediaCaptionOptions;
|
|
12
|
-
export type UseSemanticElementsConfiguration = RulePlainConfiguration | RuleWithUseSemanticElementsOptions;
|
|
13
|
-
export type UseValidAnchorConfiguration = RulePlainConfiguration | RuleWithUseValidAnchorOptions;
|
|
14
|
-
export type UseValidAriaPropsConfiguration = RulePlainConfiguration | RuleWithUseValidAriaPropsOptions;
|
|
15
|
-
export type UseValidAriaRoleConfiguration = RulePlainConfiguration | RuleWithUseValidAriaRoleOptions;
|
|
16
|
-
export type UseValidAriaValuesConfiguration = RulePlainConfiguration | RuleWithUseValidAriaValuesOptions;
|
|
17
|
-
export type UseValidAutocompleteConfiguration = RulePlainConfiguration | RuleWithUseValidAutocompleteOptions;
|
|
18
|
-
export type UseValidLangConfiguration = RulePlainConfiguration | RuleWithUseValidLangOptions;
|
|
19
|
-
export type NoAdjacentSpacesInRegexConfiguration = RulePlainConfiguration | RuleWithNoAdjacentSpacesInRegexOptions;
|
|
20
|
-
export type NoArgumentsConfiguration = RulePlainConfiguration | RuleWithNoArgumentsOptions;
|
|
21
|
-
export type NoBannedTypesConfiguration = RulePlainConfiguration | RuleWithNoBannedTypesOptions;
|
|
22
|
-
export type NoCommaOperatorConfiguration = RulePlainConfiguration | RuleWithNoCommaOperatorOptions;
|
|
23
|
-
export type NoEmptyTypeParametersConfiguration = RulePlainConfiguration | RuleWithNoEmptyTypeParametersOptions;
|
|
24
|
-
export type NoExcessiveCognitiveComplexityConfiguration = RulePlainConfiguration | RuleWithNoExcessiveCognitiveComplexityOptions;
|
|
25
|
-
export type NoExcessiveLinesPerFunctionConfiguration = RulePlainConfiguration | RuleWithNoExcessiveLinesPerFunctionOptions;
|
|
26
|
-
export type NoExcessiveNestedTestSuitesConfiguration = RulePlainConfiguration | RuleWithNoExcessiveNestedTestSuitesOptions;
|
|
27
|
-
export type NoExtraBooleanCastConfiguration = RulePlainConfiguration | RuleWithNoExtraBooleanCastOptions;
|
|
28
|
-
export type NoFlatMapIdentityConfiguration = RulePlainConfiguration | RuleWithNoFlatMapIdentityOptions;
|
|
29
|
-
export type NoForEachConfiguration = RulePlainConfiguration | RuleWithNoForEachOptions;
|
|
30
|
-
export type NoImplicitCoercionsConfiguration = RulePlainConfiguration | RuleWithNoImplicitCoercionsOptions;
|
|
31
|
-
export type NoImportantStylesConfiguration = RulePlainConfiguration | RuleWithNoImportantStylesOptions;
|
|
32
|
-
export type NoStaticOnlyClassConfiguration = RulePlainConfiguration | RuleWithNoStaticOnlyClassOptions;
|
|
33
|
-
export type NoThisInStaticConfiguration = RulePlainConfiguration | RuleWithNoThisInStaticOptions;
|
|
34
|
-
export type NoUselessCatchConfiguration = RulePlainConfiguration | RuleWithNoUselessCatchOptions;
|
|
2
|
+
import type { NoPrivateImportsOptions, NoRestrictedElementsOptions, NoUndeclaredDependenciesOptions, RuleWithNoChildrenPropOptions, RuleWithNoConstAssignOptions, RuleWithNoConstantConditionOptions, RuleWithNoConstantMathMinMaxClampOptions, RuleWithNoConstructorReturnOptions, RuleWithNoEmptyCharacterClassInRegexOptions, RuleWithNoEmptyPatternOptions, RuleWithNoGlobalDirnameFilenameOptions, RuleWithNoGlobalObjectCallsOptions, RuleWithNoInnerDeclarationsOptions, RuleWithNoInvalidBuiltinInstantiationOptions, RuleWithNoInvalidConstructorSuperOptions, RuleWithNoInvalidDirectionInLinearGradientOptions, RuleWithNoInvalidGridAreasOptions, RuleWithNoInvalidPositionAtImportRuleOptions, RuleWithNoInvalidUseBeforeDeclarationOptions, RuleWithNoMissingVarFunctionOptions, RuleWithNoNestedComponentDefinitionsOptions, RuleWithNoNodejsModulesOptions, RuleWithNoNonoctalDecimalEscapeOptions, RuleWithNoPrecisionLossOptions, RuleWithNoProcessGlobalOptions, RuleWithNoQwikUseVisibleTaskOptions, RuleWithNoReactPropAssignmentsOptions, RuleWithNoRenderReturnValueOptions, RuleWithNoSelfAssignOptions, RuleWithNoSetterReturnOptions, RuleWithNoSolidDestructuredPropsOptions, RuleWithNoStringCaseMismatchOptions, RuleWithNoSwitchDeclarationsOptions, RuleWithNoUndeclaredVariablesOptions, RuleWithNoUnknownFunctionOptions, RuleWithNoUnknownMediaFeatureNameOptions, RuleWithNoUnknownPropertyOptions, RuleWithNoUnknownPseudoClassOptions, RuleWithNoUnknownPseudoElementOptions, RuleWithNoUnknownTypeSelectorOptions, RuleWithNoUselessConstructorOptions, RuleWithNoUselessContinueOptions, RuleWithNoUselessEmptyExportOptions, RuleWithNoUselessEscapeInRegexOptions, RuleWithNoUselessFragmentsOptions, RuleWithNoUselessLabelOptions, RuleWithNoUselessLoneBlockStatementsOptions, RuleWithNoUselessRenameOptions, RuleWithNoUselessStringConcatOptions, RuleWithNoUselessStringRawOptions, RuleWithNoUselessSwitchCaseOptions, RuleWithNoUselessTernaryOptions, RuleWithNoUselessThisAliasOptions, RuleWithNoUselessTypeConstraintOptions, RuleWithNoUselessUndefinedInitializationOptions, RuleWithNoVoidOptions, RuleWithUseArrowFunctionOptions, RuleWithUseDateNowOptions, RuleWithUseFlatMapOptions, RuleWithUseIndexOfOptions, RuleWithUseLiteralKeysOptions, RuleWithUseNumericLiteralsOptions, RuleWithUseOptionalChainOptions, RuleWithUseRegexLiteralsOptions, RuleWithUseSimpleNumberKeysOptions, RuleWithUseSimplifiedLogicExpressionOptions, RuleWithUseWhileOptions } from './rule-with-no-access-key-options.ts';
|
|
3
|
+
import type { Hook, RuleWithNoAmbiguousAnchorTextOptions, RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions, RuleWithNoContinueOptions, RuleWithNoDeprecatedImportsOptions, RuleWithNoDuplicateDependenciesOptions, RuleWithNoDuplicatedSpreadPropsOptions, RuleWithNoEmptySourceOptions, RuleWithNoEqualsToNullOptions, RuleWithNoFloatingPromisesOptions, RuleWithNoForInOptions, RuleWithNoImportCyclesOptions, RuleWithNoIncrementDecrementOptions, RuleWithNoJsxLiteralsOptions, RuleWithNoJsxPropsBindOptions, RuleWithNoLeakedRenderOptions, RuleWithNoMisusedPromisesOptions, RuleWithNoMultiAssignOptions, RuleWithNoMultiStrOptions, RuleWithNoNextAsyncClientComponentOptions, RuleWithNoParametersOnlyUsedInRecursionOptions, RuleWithNoProtoOptions, RuleWithNoReactForwardRefOptions, RuleWithNoReturnAssignOptions, RuleWithNoScriptUrlOptions, RuleWithNoShadowOptions, RuleWithNoUnknownUnitOptions, RuleWithNoUnmatchableAnbSelectorOptions, RuleWithNoUnreachableOptions, RuleWithNoUnreachableSuperOptions, RuleWithNoUnsafeFinallyOptions, RuleWithNoUnsafeOptionalChainingOptions, RuleWithNoUnusedFunctionParametersOptions, RuleWithNoUnusedImportsOptions, RuleWithNoUnusedLabelsOptions, RuleWithNoUnusedPrivateClassMembersOptions, RuleWithNoUnusedVariablesOptions, RuleWithNoVoidElementsWithChildrenOptions, RuleWithNoVoidTypeReturnOptions, RuleWithUseGraphqlNamedOperationsOptions, RuleWithUseHookAtTopLevelOptions, RuleWithUseImageSizeOptions, RuleWithUseImportExtensionsOptions, RuleWithUseIsNanOptions, RuleWithUseJsonImportAttributesOptions, RuleWithUseJsxKeyInIterableOptions, RuleWithUseParseIntRadixOptions, RuleWithUseQwikClasslistOptions, RuleWithUseSingleJsDocAsteriskOptions, RuleWithUseUniqueElementIdsOptions, RuleWithUseValidForDirectionOptions, RuleWithUseValidTypeofOptions, RuleWithUseYieldOptions } from './rule-with-no-unknown-unit-options.ts';
|
|
35
4
|
export type NoUselessConstructorConfiguration = RulePlainConfiguration | RuleWithNoUselessConstructorOptions;
|
|
36
5
|
export type NoUselessContinueConfiguration = RulePlainConfiguration | RuleWithNoUselessContinueOptions;
|
|
37
6
|
export type NoUselessEmptyExportConfiguration = RulePlainConfiguration | RuleWithNoUselessEmptyExportOptions;
|
|
@@ -81,13 +50,7 @@ export type NoNodejsModulesConfiguration = RulePlainConfiguration | RuleWithNoNo
|
|
|
81
50
|
export type NoNonoctalDecimalEscapeConfiguration = RulePlainConfiguration | RuleWithNoNonoctalDecimalEscapeOptions;
|
|
82
51
|
export type NoPrecisionLossConfiguration = RulePlainConfiguration | RuleWithNoPrecisionLossOptions;
|
|
83
52
|
export interface RuleWithNoPrivateImportsOptions {
|
|
84
|
-
/**
|
|
85
|
-
* The severity of the emitted diagnostics by the rule
|
|
86
|
-
*/
|
|
87
53
|
level: RulePlainConfiguration;
|
|
88
|
-
/**
|
|
89
|
-
* Rule's options
|
|
90
|
-
*/
|
|
91
54
|
options?: NoPrivateImportsOptions;
|
|
92
55
|
}
|
|
93
56
|
export type NoProcessGlobalConfiguration = RulePlainConfiguration | RuleWithNoProcessGlobalOptions;
|
|
@@ -95,13 +58,7 @@ export type NoQwikUseVisibleTaskConfiguration = RulePlainConfiguration | RuleWit
|
|
|
95
58
|
export type NoReactPropAssignmentsConfiguration = RulePlainConfiguration | RuleWithNoReactPropAssignmentsOptions;
|
|
96
59
|
export type NoRenderReturnValueConfiguration = RulePlainConfiguration | RuleWithNoRenderReturnValueOptions;
|
|
97
60
|
export interface RuleWithNoRestrictedElementsOptions {
|
|
98
|
-
/**
|
|
99
|
-
* The severity of the emitted diagnostics by the rule
|
|
100
|
-
*/
|
|
101
61
|
level: RulePlainConfiguration;
|
|
102
|
-
/**
|
|
103
|
-
* Rule's options
|
|
104
|
-
*/
|
|
105
62
|
options?: NoRestrictedElementsOptions;
|
|
106
63
|
}
|
|
107
64
|
export type NoSelfAssignConfiguration = RulePlainConfiguration | RuleWithNoSelfAssignOptions;
|
|
@@ -110,13 +67,7 @@ export type NoSolidDestructuredPropsConfiguration = RulePlainConfiguration | Rul
|
|
|
110
67
|
export type NoStringCaseMismatchConfiguration = RulePlainConfiguration | RuleWithNoStringCaseMismatchOptions;
|
|
111
68
|
export type NoSwitchDeclarationsConfiguration = RulePlainConfiguration | RuleWithNoSwitchDeclarationsOptions;
|
|
112
69
|
export interface RuleWithNoUndeclaredDependenciesOptions {
|
|
113
|
-
/**
|
|
114
|
-
* The severity of the emitted diagnostics by the rule
|
|
115
|
-
*/
|
|
116
70
|
level: RulePlainConfiguration;
|
|
117
|
-
/**
|
|
118
|
-
* Rule's options
|
|
119
|
-
*/
|
|
120
71
|
options?: NoUndeclaredDependenciesOptions;
|
|
121
72
|
}
|
|
122
73
|
export type NoUndeclaredVariablesConfiguration = RulePlainConfiguration | RuleWithNoUndeclaredVariablesOptions;
|
|
@@ -161,3 +112,34 @@ export type UseIsNanConfiguration = RulePlainConfiguration | RuleWithUseIsNanOpt
|
|
|
161
112
|
export type UseJsonImportAttributesConfiguration = RulePlainConfiguration | RuleWithUseJsonImportAttributesOptions;
|
|
162
113
|
export type UseJsxKeyInIterableConfiguration = RulePlainConfiguration | RuleWithUseJsxKeyInIterableOptions;
|
|
163
114
|
export type UseParseIntRadixConfiguration = RulePlainConfiguration | RuleWithUseParseIntRadixOptions;
|
|
115
|
+
export type UseQwikClasslistConfiguration = RulePlainConfiguration | RuleWithUseQwikClasslistOptions;
|
|
116
|
+
export type UseSingleJsDocAsteriskConfiguration = RulePlainConfiguration | RuleWithUseSingleJsDocAsteriskOptions;
|
|
117
|
+
export type UseUniqueElementIdsConfiguration = RulePlainConfiguration | RuleWithUseUniqueElementIdsOptions;
|
|
118
|
+
export type UseValidForDirectionConfiguration = RulePlainConfiguration | RuleWithUseValidForDirectionOptions;
|
|
119
|
+
export type UseValidTypeofConfiguration = RulePlainConfiguration | RuleWithUseValidTypeofOptions;
|
|
120
|
+
export type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
|
|
121
|
+
export type NoAmbiguousAnchorTextConfiguration = RulePlainConfiguration | RuleWithNoAmbiguousAnchorTextOptions;
|
|
122
|
+
export type NoBeforeInteractiveScriptOutsideDocumentConfiguration = RulePlainConfiguration | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
|
|
123
|
+
export type NoContinueConfiguration = RulePlainConfiguration | RuleWithNoContinueOptions;
|
|
124
|
+
export type NoDeprecatedImportsConfiguration = RulePlainConfiguration | RuleWithNoDeprecatedImportsOptions;
|
|
125
|
+
export type NoDuplicateDependenciesConfiguration = RulePlainConfiguration | RuleWithNoDuplicateDependenciesOptions;
|
|
126
|
+
export type NoDuplicatedSpreadPropsConfiguration = RulePlainConfiguration | RuleWithNoDuplicatedSpreadPropsOptions;
|
|
127
|
+
export type NoEmptySourceConfiguration = RulePlainConfiguration | RuleWithNoEmptySourceOptions;
|
|
128
|
+
export type NoEqualsToNullConfiguration = RulePlainConfiguration | RuleWithNoEqualsToNullOptions;
|
|
129
|
+
export type NoFloatingPromisesConfiguration = RulePlainConfiguration | RuleWithNoFloatingPromisesOptions;
|
|
130
|
+
export type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
|
|
131
|
+
export type NoImportCyclesConfiguration = RulePlainConfiguration | RuleWithNoImportCyclesOptions;
|
|
132
|
+
export type NoIncrementDecrementConfiguration = RulePlainConfiguration | RuleWithNoIncrementDecrementOptions;
|
|
133
|
+
export type NoJsxLiteralsConfiguration = RulePlainConfiguration | RuleWithNoJsxLiteralsOptions;
|
|
134
|
+
export type NoJsxPropsBindConfiguration = RulePlainConfiguration | RuleWithNoJsxPropsBindOptions;
|
|
135
|
+
export type NoLeakedRenderConfiguration = RulePlainConfiguration | RuleWithNoLeakedRenderOptions;
|
|
136
|
+
export type NoMisusedPromisesConfiguration = RulePlainConfiguration | RuleWithNoMisusedPromisesOptions;
|
|
137
|
+
export type NoMultiAssignConfiguration = RulePlainConfiguration | RuleWithNoMultiAssignOptions;
|
|
138
|
+
export type NoMultiStrConfiguration = RulePlainConfiguration | RuleWithNoMultiStrOptions;
|
|
139
|
+
export type NoNextAsyncClientComponentConfiguration = RulePlainConfiguration | RuleWithNoNextAsyncClientComponentOptions;
|
|
140
|
+
export type NoParametersOnlyUsedInRecursionConfiguration = RulePlainConfiguration | RuleWithNoParametersOnlyUsedInRecursionOptions;
|
|
141
|
+
export type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
|
|
142
|
+
export type NoReactForwardRefConfiguration = RulePlainConfiguration | RuleWithNoReactForwardRefOptions;
|
|
143
|
+
export type NoReturnAssignConfiguration = RulePlainConfiguration | RuleWithNoReturnAssignOptions;
|
|
144
|
+
export type NoScriptUrlConfiguration = RulePlainConfiguration | RuleWithNoScriptUrlOptions;
|
|
145
|
+
export type NoShadowConfiguration = RulePlainConfiguration | RuleWithNoShadowOptions;
|