@quentinhsu/biome-config 0.3.2 → 0.3.3
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 +388 -0
- package/dist/index.jsonc +153 -0
- package/dist/index.mjs +358 -0
- package/dist/next.jsonc +170 -0
- package/dist/nuxt.jsonc +225 -0
- package/dist/react.jsonc +168 -0
- package/dist/types/scripts/build-presets.d.ts +1 -0
- package/dist/types/scripts/generate-biome-types.d.ts +1 -0
- package/dist/types/scripts/utils/biome-version.d.ts +12 -0
- package/dist/types/src/build.d.ts +1 -0
- package/dist/types/src/constants/biome.d.ts +1 -0
- package/dist/types/src/generated/biome/index.d.ts +11 -0
- package/dist/types/src/generated/biome/no-assign-in-expressions-configuration.d.ts +1002 -0
- package/dist/types/src/generated/biome/no-empty-source-configuration.d.ts +241 -0
- package/dist/types/src/generated/biome/no-global-object-calls-options.d.ts +320 -0
- package/dist/types/src/generated/biome/no-misrefactored-shorthand-assign-options.d.ts +1116 -0
- package/dist/types/src/generated/biome/no-non-null-assertion-options.d.ts +291 -0
- package/dist/types/src/generated/biome/nursery.d.ts +1023 -0
- package/dist/types/src/generated/biome/rule-with-no-document-import-in-page-options.d.ts +1148 -0
- package/dist/types/src/generated/biome/rule-with-no-implicit-coercions-options.d.ts +1440 -0
- package/dist/types/src/generated/biome/schema.d.ts +291 -0
- package/dist/types/src/generated/biome/use-consistent-arrow-return-options.d.ts +1341 -0
- package/dist/types/src/generated/biome/use-semantic-elements-configuration.d.ts +163 -0
- package/dist/types/src/index.d.ts +15 -0
- package/dist/types/src/presets/next.d.ts +1 -0
- package/dist/types/src/presets/nuxt.d.ts +1 -0
- package/dist/types/src/presets/react.d.ts +1 -0
- package/dist/types/src/presets/vue.d.ts +1 -0
- package/dist/types/src/source/index.d.ts +2 -0
- package/dist/types/src/types.d.ts +1 -0
- package/dist/types/src/utils/merge.d.ts +2 -0
- package/dist/vue.jsonc +177 -0
- package/package.json +12 -11
|
@@ -0,0 +1,1440 @@
|
|
|
1
|
+
import type { FixKind, NoChildrenPropOptions, NoConstAssignOptions, NoConstantConditionOptions, NoConstantMathMinMaxClampOptions, NoConstructorReturnOptions, NoEmptyCharacterClassInRegexOptions, NoEmptyPatternOptions, NoGlobalDirnameFilenameOptions, NoImplicitCoercionsOptions, NoImportantStylesOptions, NoStaticOnlyClassOptions, NoThisInStaticOptions, NoUselessCatchOptions, NoUselessConstructorOptions, NoUselessContinueOptions, NoUselessEmptyExportOptions, NoUselessEscapeInRegexOptions, NoUselessFragmentsOptions, NoUselessLabelOptions, NoUselessLoneBlockStatementsOptions, NoUselessRenameOptions, NoUselessStringConcatOptions, NoUselessStringRawOptions, NoUselessSwitchCaseOptions, NoUselessTernaryOptions, NoUselessThisAliasOptions, NoUselessTypeConstraintOptions, NoUselessUndefinedInitializationOptions, NoVoidOptions, RulePlainConfiguration, UseArrowFunctionOptions, UseDateNowOptions, UseFlatMapOptions, UseIndexOfOptions, UseLiteralKeysOptions, UseNumericLiteralsOptions, UseOptionalChainOptions, UseRegexLiteralsOptions, UseSimpleNumberKeysOptions, UseSimplifiedLogicExpressionOptions, UseWhileOptions } from './schema.ts';
|
|
2
|
+
import type { CustomRestrictedElements, DependencyAvailability, NoDeprecatedImportsOptions, NoDuplicateDependenciesOptions, NoEmptySourceOptions, NoFloatingPromisesOptions, NoGlobalObjectCallsOptions, NoImportCyclesOptions, NoIncrementDecrementOptions, NoInnerDeclarationsOptions, NoInvalidBuiltinInstantiationOptions, NoInvalidConstructorSuperOptions, NoInvalidDirectionInLinearGradientOptions, NoInvalidGridAreasOptions, NoInvalidPositionAtImportRuleOptions, NoInvalidUseBeforeDeclarationOptions, NoJsxLiteralsOptions, NoMissingVarFunctionOptions, NoMisusedPromisesOptions, NoNestedComponentDefinitionsOptions, NoNextAsyncClientComponentOptions, NoNodejsModulesOptions, NoNonoctalDecimalEscapeOptions, NoPrecisionLossOptions, NoProcessGlobalOptions, NoQwikUseVisibleTaskOptions, NoReactForwardRefOptions, NoReactPropAssignmentsOptions, NoRenderReturnValueOptions, NoSelfAssignOptions, NoSetterReturnOptions, NoShadowOptions, NoSolidDestructuredPropsOptions, NoStringCaseMismatchOptions, NoSwitchDeclarationsOptions, NoUndeclaredVariablesOptions, NoUnknownFunctionOptions, NoUnknownMediaFeatureNameOptions, NoUnknownPropertyOptions, NoUnknownPseudoClassOptions, NoUnknownPseudoElementOptions, NoUnknownTypeSelectorOptions, NoUnknownUnitOptions, NoUnmatchableAnbSelectorOptions, NoUnnecessaryConditionsOptions, NoUnreachableOptions, NoUnreachableSuperOptions, NoUnresolvedImportsOptions, NoUnsafeFinallyOptions, NoUnsafeOptionalChainingOptions, NoUnusedExpressionsOptions, NoUnusedFunctionParametersOptions, NoUnusedImportsOptions, NoUnusedLabelsOptions, NoUnusedPrivateClassMembersOptions, NoUnusedVariablesOptions, NoUselessCatchBindingOptions, NoUselessUndefinedOptions, NoVoidElementsWithChildrenOptions, NoVoidTypeReturnOptions, NoVueDataObjectDeclarationOptions, NoVueDuplicateKeysOptions, NoVueReservedKeysOptions, NoVueReservedPropsOptions, StableHookResult, UseGraphqlNamedOperationsOptions, UseHookAtTopLevelOptions, UseImageSizeOptions, UseImportExtensionsOptions, UseIsNanOptions, UseJsonImportAttributesOptions, UseJsxKeyInIterableOptions, UseParseIntRadixOptions, UseQwikClasslistOptions, UseSingleJsDocAsteriskOptions, UseUniqueElementIdsOptions, UseValidForDirectionOptions, UseValidTypeofOptions, UseYieldOptions, Visibility } from './no-global-object-calls-options.ts';
|
|
3
|
+
export interface RuleWithNoImplicitCoercionsOptions {
|
|
4
|
+
/**
|
|
5
|
+
* The kind of the code actions emitted by the rule
|
|
6
|
+
*/
|
|
7
|
+
fix?: FixKind | null;
|
|
8
|
+
/**
|
|
9
|
+
* The severity of the emitted diagnostics by the rule
|
|
10
|
+
*/
|
|
11
|
+
level: RulePlainConfiguration;
|
|
12
|
+
/**
|
|
13
|
+
* Rule's options
|
|
14
|
+
*/
|
|
15
|
+
options: NoImplicitCoercionsOptions;
|
|
16
|
+
}
|
|
17
|
+
export interface RuleWithNoImportantStylesOptions {
|
|
18
|
+
/**
|
|
19
|
+
* The kind of the code actions emitted by the rule
|
|
20
|
+
*/
|
|
21
|
+
fix?: FixKind | null;
|
|
22
|
+
/**
|
|
23
|
+
* The severity of the emitted diagnostics by the rule
|
|
24
|
+
*/
|
|
25
|
+
level: RulePlainConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* Rule's options
|
|
28
|
+
*/
|
|
29
|
+
options: NoImportantStylesOptions;
|
|
30
|
+
}
|
|
31
|
+
export interface RuleWithNoStaticOnlyClassOptions {
|
|
32
|
+
/**
|
|
33
|
+
* The severity of the emitted diagnostics by the rule
|
|
34
|
+
*/
|
|
35
|
+
level: RulePlainConfiguration;
|
|
36
|
+
/**
|
|
37
|
+
* Rule's options
|
|
38
|
+
*/
|
|
39
|
+
options: NoStaticOnlyClassOptions;
|
|
40
|
+
}
|
|
41
|
+
export interface RuleWithNoThisInStaticOptions {
|
|
42
|
+
/**
|
|
43
|
+
* The kind of the code actions emitted by the rule
|
|
44
|
+
*/
|
|
45
|
+
fix?: FixKind | null;
|
|
46
|
+
/**
|
|
47
|
+
* The severity of the emitted diagnostics by the rule
|
|
48
|
+
*/
|
|
49
|
+
level: RulePlainConfiguration;
|
|
50
|
+
/**
|
|
51
|
+
* Rule's options
|
|
52
|
+
*/
|
|
53
|
+
options: NoThisInStaticOptions;
|
|
54
|
+
}
|
|
55
|
+
export interface RuleWithNoUselessCatchOptions {
|
|
56
|
+
/**
|
|
57
|
+
* The kind of the code actions emitted by the rule
|
|
58
|
+
*/
|
|
59
|
+
fix?: FixKind | null;
|
|
60
|
+
/**
|
|
61
|
+
* The severity of the emitted diagnostics by the rule
|
|
62
|
+
*/
|
|
63
|
+
level: RulePlainConfiguration;
|
|
64
|
+
/**
|
|
65
|
+
* Rule's options
|
|
66
|
+
*/
|
|
67
|
+
options: NoUselessCatchOptions;
|
|
68
|
+
}
|
|
69
|
+
export interface RuleWithNoUselessConstructorOptions {
|
|
70
|
+
/**
|
|
71
|
+
* The kind of the code actions emitted by the rule
|
|
72
|
+
*/
|
|
73
|
+
fix?: FixKind | null;
|
|
74
|
+
/**
|
|
75
|
+
* The severity of the emitted diagnostics by the rule
|
|
76
|
+
*/
|
|
77
|
+
level: RulePlainConfiguration;
|
|
78
|
+
/**
|
|
79
|
+
* Rule's options
|
|
80
|
+
*/
|
|
81
|
+
options: NoUselessConstructorOptions;
|
|
82
|
+
}
|
|
83
|
+
export interface RuleWithNoUselessContinueOptions {
|
|
84
|
+
/**
|
|
85
|
+
* The kind of the code actions emitted by the rule
|
|
86
|
+
*/
|
|
87
|
+
fix?: FixKind | null;
|
|
88
|
+
/**
|
|
89
|
+
* The severity of the emitted diagnostics by the rule
|
|
90
|
+
*/
|
|
91
|
+
level: RulePlainConfiguration;
|
|
92
|
+
/**
|
|
93
|
+
* Rule's options
|
|
94
|
+
*/
|
|
95
|
+
options: NoUselessContinueOptions;
|
|
96
|
+
}
|
|
97
|
+
export interface RuleWithNoUselessEmptyExportOptions {
|
|
98
|
+
/**
|
|
99
|
+
* The kind of the code actions emitted by the rule
|
|
100
|
+
*/
|
|
101
|
+
fix?: FixKind | null;
|
|
102
|
+
/**
|
|
103
|
+
* The severity of the emitted diagnostics by the rule
|
|
104
|
+
*/
|
|
105
|
+
level: RulePlainConfiguration;
|
|
106
|
+
/**
|
|
107
|
+
* Rule's options
|
|
108
|
+
*/
|
|
109
|
+
options: NoUselessEmptyExportOptions;
|
|
110
|
+
}
|
|
111
|
+
export interface RuleWithNoUselessEscapeInRegexOptions {
|
|
112
|
+
/**
|
|
113
|
+
* The kind of the code actions emitted by the rule
|
|
114
|
+
*/
|
|
115
|
+
fix?: FixKind | null;
|
|
116
|
+
/**
|
|
117
|
+
* The severity of the emitted diagnostics by the rule
|
|
118
|
+
*/
|
|
119
|
+
level: RulePlainConfiguration;
|
|
120
|
+
/**
|
|
121
|
+
* Rule's options
|
|
122
|
+
*/
|
|
123
|
+
options: NoUselessEscapeInRegexOptions;
|
|
124
|
+
}
|
|
125
|
+
export interface RuleWithNoUselessFragmentsOptions {
|
|
126
|
+
/**
|
|
127
|
+
* The kind of the code actions emitted by the rule
|
|
128
|
+
*/
|
|
129
|
+
fix?: FixKind | null;
|
|
130
|
+
/**
|
|
131
|
+
* The severity of the emitted diagnostics by the rule
|
|
132
|
+
*/
|
|
133
|
+
level: RulePlainConfiguration;
|
|
134
|
+
/**
|
|
135
|
+
* Rule's options
|
|
136
|
+
*/
|
|
137
|
+
options: NoUselessFragmentsOptions;
|
|
138
|
+
}
|
|
139
|
+
export interface RuleWithNoUselessLabelOptions {
|
|
140
|
+
/**
|
|
141
|
+
* The kind of the code actions emitted by the rule
|
|
142
|
+
*/
|
|
143
|
+
fix?: FixKind | null;
|
|
144
|
+
/**
|
|
145
|
+
* The severity of the emitted diagnostics by the rule
|
|
146
|
+
*/
|
|
147
|
+
level: RulePlainConfiguration;
|
|
148
|
+
/**
|
|
149
|
+
* Rule's options
|
|
150
|
+
*/
|
|
151
|
+
options: NoUselessLabelOptions;
|
|
152
|
+
}
|
|
153
|
+
export interface RuleWithNoUselessLoneBlockStatementsOptions {
|
|
154
|
+
/**
|
|
155
|
+
* The kind of the code actions emitted by the rule
|
|
156
|
+
*/
|
|
157
|
+
fix?: FixKind | null;
|
|
158
|
+
/**
|
|
159
|
+
* The severity of the emitted diagnostics by the rule
|
|
160
|
+
*/
|
|
161
|
+
level: RulePlainConfiguration;
|
|
162
|
+
/**
|
|
163
|
+
* Rule's options
|
|
164
|
+
*/
|
|
165
|
+
options: NoUselessLoneBlockStatementsOptions;
|
|
166
|
+
}
|
|
167
|
+
export interface RuleWithNoUselessRenameOptions {
|
|
168
|
+
/**
|
|
169
|
+
* The kind of the code actions emitted by the rule
|
|
170
|
+
*/
|
|
171
|
+
fix?: FixKind | null;
|
|
172
|
+
/**
|
|
173
|
+
* The severity of the emitted diagnostics by the rule
|
|
174
|
+
*/
|
|
175
|
+
level: RulePlainConfiguration;
|
|
176
|
+
/**
|
|
177
|
+
* Rule's options
|
|
178
|
+
*/
|
|
179
|
+
options: NoUselessRenameOptions;
|
|
180
|
+
}
|
|
181
|
+
export interface RuleWithNoUselessStringConcatOptions {
|
|
182
|
+
/**
|
|
183
|
+
* The kind of the code actions emitted by the rule
|
|
184
|
+
*/
|
|
185
|
+
fix?: FixKind | null;
|
|
186
|
+
/**
|
|
187
|
+
* The severity of the emitted diagnostics by the rule
|
|
188
|
+
*/
|
|
189
|
+
level: RulePlainConfiguration;
|
|
190
|
+
/**
|
|
191
|
+
* Rule's options
|
|
192
|
+
*/
|
|
193
|
+
options: NoUselessStringConcatOptions;
|
|
194
|
+
}
|
|
195
|
+
export interface RuleWithNoUselessStringRawOptions {
|
|
196
|
+
/**
|
|
197
|
+
* The severity of the emitted diagnostics by the rule
|
|
198
|
+
*/
|
|
199
|
+
level: RulePlainConfiguration;
|
|
200
|
+
/**
|
|
201
|
+
* Rule's options
|
|
202
|
+
*/
|
|
203
|
+
options: NoUselessStringRawOptions;
|
|
204
|
+
}
|
|
205
|
+
export interface RuleWithNoUselessSwitchCaseOptions {
|
|
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: NoUselessSwitchCaseOptions;
|
|
218
|
+
}
|
|
219
|
+
export interface RuleWithNoUselessTernaryOptions {
|
|
220
|
+
/**
|
|
221
|
+
* The kind of the code actions emitted by the rule
|
|
222
|
+
*/
|
|
223
|
+
fix?: FixKind | null;
|
|
224
|
+
/**
|
|
225
|
+
* The severity of the emitted diagnostics by the rule
|
|
226
|
+
*/
|
|
227
|
+
level: RulePlainConfiguration;
|
|
228
|
+
/**
|
|
229
|
+
* Rule's options
|
|
230
|
+
*/
|
|
231
|
+
options: NoUselessTernaryOptions;
|
|
232
|
+
}
|
|
233
|
+
export interface RuleWithNoUselessThisAliasOptions {
|
|
234
|
+
/**
|
|
235
|
+
* The kind of the code actions emitted by the rule
|
|
236
|
+
*/
|
|
237
|
+
fix?: FixKind | null;
|
|
238
|
+
/**
|
|
239
|
+
* The severity of the emitted diagnostics by the rule
|
|
240
|
+
*/
|
|
241
|
+
level: RulePlainConfiguration;
|
|
242
|
+
/**
|
|
243
|
+
* Rule's options
|
|
244
|
+
*/
|
|
245
|
+
options: NoUselessThisAliasOptions;
|
|
246
|
+
}
|
|
247
|
+
export interface RuleWithNoUselessTypeConstraintOptions {
|
|
248
|
+
/**
|
|
249
|
+
* The kind of the code actions emitted by the rule
|
|
250
|
+
*/
|
|
251
|
+
fix?: FixKind | null;
|
|
252
|
+
/**
|
|
253
|
+
* The severity of the emitted diagnostics by the rule
|
|
254
|
+
*/
|
|
255
|
+
level: RulePlainConfiguration;
|
|
256
|
+
/**
|
|
257
|
+
* Rule's options
|
|
258
|
+
*/
|
|
259
|
+
options: NoUselessTypeConstraintOptions;
|
|
260
|
+
}
|
|
261
|
+
export interface RuleWithNoUselessUndefinedInitializationOptions {
|
|
262
|
+
/**
|
|
263
|
+
* The kind of the code actions emitted by the rule
|
|
264
|
+
*/
|
|
265
|
+
fix?: FixKind | null;
|
|
266
|
+
/**
|
|
267
|
+
* The severity of the emitted diagnostics by the rule
|
|
268
|
+
*/
|
|
269
|
+
level: RulePlainConfiguration;
|
|
270
|
+
/**
|
|
271
|
+
* Rule's options
|
|
272
|
+
*/
|
|
273
|
+
options: NoUselessUndefinedInitializationOptions;
|
|
274
|
+
}
|
|
275
|
+
export interface RuleWithNoVoidOptions {
|
|
276
|
+
/**
|
|
277
|
+
* The severity of the emitted diagnostics by the rule
|
|
278
|
+
*/
|
|
279
|
+
level: RulePlainConfiguration;
|
|
280
|
+
/**
|
|
281
|
+
* Rule's options
|
|
282
|
+
*/
|
|
283
|
+
options: NoVoidOptions;
|
|
284
|
+
}
|
|
285
|
+
export interface RuleWithUseArrowFunctionOptions {
|
|
286
|
+
/**
|
|
287
|
+
* The kind of the code actions emitted by the rule
|
|
288
|
+
*/
|
|
289
|
+
fix?: FixKind | null;
|
|
290
|
+
/**
|
|
291
|
+
* The severity of the emitted diagnostics by the rule
|
|
292
|
+
*/
|
|
293
|
+
level: RulePlainConfiguration;
|
|
294
|
+
/**
|
|
295
|
+
* Rule's options
|
|
296
|
+
*/
|
|
297
|
+
options: UseArrowFunctionOptions;
|
|
298
|
+
}
|
|
299
|
+
export interface RuleWithUseDateNowOptions {
|
|
300
|
+
/**
|
|
301
|
+
* The kind of the code actions emitted by the rule
|
|
302
|
+
*/
|
|
303
|
+
fix?: FixKind | null;
|
|
304
|
+
/**
|
|
305
|
+
* The severity of the emitted diagnostics by the rule
|
|
306
|
+
*/
|
|
307
|
+
level: RulePlainConfiguration;
|
|
308
|
+
/**
|
|
309
|
+
* Rule's options
|
|
310
|
+
*/
|
|
311
|
+
options: UseDateNowOptions;
|
|
312
|
+
}
|
|
313
|
+
export interface RuleWithUseFlatMapOptions {
|
|
314
|
+
/**
|
|
315
|
+
* The kind of the code actions emitted by the rule
|
|
316
|
+
*/
|
|
317
|
+
fix?: FixKind | null;
|
|
318
|
+
/**
|
|
319
|
+
* The severity of the emitted diagnostics by the rule
|
|
320
|
+
*/
|
|
321
|
+
level: RulePlainConfiguration;
|
|
322
|
+
/**
|
|
323
|
+
* Rule's options
|
|
324
|
+
*/
|
|
325
|
+
options: UseFlatMapOptions;
|
|
326
|
+
}
|
|
327
|
+
export interface RuleWithUseIndexOfOptions {
|
|
328
|
+
/**
|
|
329
|
+
* The kind of the code actions emitted by the rule
|
|
330
|
+
*/
|
|
331
|
+
fix?: FixKind | null;
|
|
332
|
+
/**
|
|
333
|
+
* The severity of the emitted diagnostics by the rule
|
|
334
|
+
*/
|
|
335
|
+
level: RulePlainConfiguration;
|
|
336
|
+
/**
|
|
337
|
+
* Rule's options
|
|
338
|
+
*/
|
|
339
|
+
options: UseIndexOfOptions;
|
|
340
|
+
}
|
|
341
|
+
export interface RuleWithUseLiteralKeysOptions {
|
|
342
|
+
/**
|
|
343
|
+
* The kind of the code actions emitted by the rule
|
|
344
|
+
*/
|
|
345
|
+
fix?: FixKind | null;
|
|
346
|
+
/**
|
|
347
|
+
* The severity of the emitted diagnostics by the rule
|
|
348
|
+
*/
|
|
349
|
+
level: RulePlainConfiguration;
|
|
350
|
+
/**
|
|
351
|
+
* Rule's options
|
|
352
|
+
*/
|
|
353
|
+
options: UseLiteralKeysOptions;
|
|
354
|
+
}
|
|
355
|
+
export interface RuleWithUseNumericLiteralsOptions {
|
|
356
|
+
/**
|
|
357
|
+
* The kind of the code actions emitted by the rule
|
|
358
|
+
*/
|
|
359
|
+
fix?: FixKind | null;
|
|
360
|
+
/**
|
|
361
|
+
* The severity of the emitted diagnostics by the rule
|
|
362
|
+
*/
|
|
363
|
+
level: RulePlainConfiguration;
|
|
364
|
+
/**
|
|
365
|
+
* Rule's options
|
|
366
|
+
*/
|
|
367
|
+
options: UseNumericLiteralsOptions;
|
|
368
|
+
}
|
|
369
|
+
export interface RuleWithUseOptionalChainOptions {
|
|
370
|
+
/**
|
|
371
|
+
* The kind of the code actions emitted by the rule
|
|
372
|
+
*/
|
|
373
|
+
fix?: FixKind | null;
|
|
374
|
+
/**
|
|
375
|
+
* The severity of the emitted diagnostics by the rule
|
|
376
|
+
*/
|
|
377
|
+
level: RulePlainConfiguration;
|
|
378
|
+
/**
|
|
379
|
+
* Rule's options
|
|
380
|
+
*/
|
|
381
|
+
options: UseOptionalChainOptions;
|
|
382
|
+
}
|
|
383
|
+
export interface RuleWithUseRegexLiteralsOptions {
|
|
384
|
+
/**
|
|
385
|
+
* The kind of the code actions emitted by the rule
|
|
386
|
+
*/
|
|
387
|
+
fix?: FixKind | null;
|
|
388
|
+
/**
|
|
389
|
+
* The severity of the emitted diagnostics by the rule
|
|
390
|
+
*/
|
|
391
|
+
level: RulePlainConfiguration;
|
|
392
|
+
/**
|
|
393
|
+
* Rule's options
|
|
394
|
+
*/
|
|
395
|
+
options: UseRegexLiteralsOptions;
|
|
396
|
+
}
|
|
397
|
+
export interface RuleWithUseSimpleNumberKeysOptions {
|
|
398
|
+
/**
|
|
399
|
+
* The kind of the code actions emitted by the rule
|
|
400
|
+
*/
|
|
401
|
+
fix?: FixKind | null;
|
|
402
|
+
/**
|
|
403
|
+
* The severity of the emitted diagnostics by the rule
|
|
404
|
+
*/
|
|
405
|
+
level: RulePlainConfiguration;
|
|
406
|
+
/**
|
|
407
|
+
* Rule's options
|
|
408
|
+
*/
|
|
409
|
+
options: UseSimpleNumberKeysOptions;
|
|
410
|
+
}
|
|
411
|
+
export interface RuleWithUseSimplifiedLogicExpressionOptions {
|
|
412
|
+
/**
|
|
413
|
+
* The kind of the code actions emitted by the rule
|
|
414
|
+
*/
|
|
415
|
+
fix?: FixKind | null;
|
|
416
|
+
/**
|
|
417
|
+
* The severity of the emitted diagnostics by the rule
|
|
418
|
+
*/
|
|
419
|
+
level: RulePlainConfiguration;
|
|
420
|
+
/**
|
|
421
|
+
* Rule's options
|
|
422
|
+
*/
|
|
423
|
+
options: UseSimplifiedLogicExpressionOptions;
|
|
424
|
+
}
|
|
425
|
+
export interface RuleWithUseWhileOptions {
|
|
426
|
+
/**
|
|
427
|
+
* The kind of the code actions emitted by the rule
|
|
428
|
+
*/
|
|
429
|
+
fix?: FixKind | null;
|
|
430
|
+
/**
|
|
431
|
+
* The severity of the emitted diagnostics by the rule
|
|
432
|
+
*/
|
|
433
|
+
level: RulePlainConfiguration;
|
|
434
|
+
/**
|
|
435
|
+
* Rule's options
|
|
436
|
+
*/
|
|
437
|
+
options: UseWhileOptions;
|
|
438
|
+
}
|
|
439
|
+
export interface RuleWithNoChildrenPropOptions {
|
|
440
|
+
/**
|
|
441
|
+
* The severity of the emitted diagnostics by the rule
|
|
442
|
+
*/
|
|
443
|
+
level: RulePlainConfiguration;
|
|
444
|
+
/**
|
|
445
|
+
* Rule's options
|
|
446
|
+
*/
|
|
447
|
+
options: NoChildrenPropOptions;
|
|
448
|
+
}
|
|
449
|
+
export interface RuleWithNoConstAssignOptions {
|
|
450
|
+
/**
|
|
451
|
+
* The kind of the code actions emitted by the rule
|
|
452
|
+
*/
|
|
453
|
+
fix?: FixKind | null;
|
|
454
|
+
/**
|
|
455
|
+
* The severity of the emitted diagnostics by the rule
|
|
456
|
+
*/
|
|
457
|
+
level: RulePlainConfiguration;
|
|
458
|
+
/**
|
|
459
|
+
* Rule's options
|
|
460
|
+
*/
|
|
461
|
+
options: NoConstAssignOptions;
|
|
462
|
+
}
|
|
463
|
+
export interface RuleWithNoConstantConditionOptions {
|
|
464
|
+
/**
|
|
465
|
+
* The severity of the emitted diagnostics by the rule
|
|
466
|
+
*/
|
|
467
|
+
level: RulePlainConfiguration;
|
|
468
|
+
/**
|
|
469
|
+
* Rule's options
|
|
470
|
+
*/
|
|
471
|
+
options: NoConstantConditionOptions;
|
|
472
|
+
}
|
|
473
|
+
export interface RuleWithNoConstantMathMinMaxClampOptions {
|
|
474
|
+
/**
|
|
475
|
+
* The kind of the code actions emitted by the rule
|
|
476
|
+
*/
|
|
477
|
+
fix?: FixKind | null;
|
|
478
|
+
/**
|
|
479
|
+
* The severity of the emitted diagnostics by the rule
|
|
480
|
+
*/
|
|
481
|
+
level: RulePlainConfiguration;
|
|
482
|
+
/**
|
|
483
|
+
* Rule's options
|
|
484
|
+
*/
|
|
485
|
+
options: NoConstantMathMinMaxClampOptions;
|
|
486
|
+
}
|
|
487
|
+
export interface RuleWithNoConstructorReturnOptions {
|
|
488
|
+
/**
|
|
489
|
+
* The severity of the emitted diagnostics by the rule
|
|
490
|
+
*/
|
|
491
|
+
level: RulePlainConfiguration;
|
|
492
|
+
/**
|
|
493
|
+
* Rule's options
|
|
494
|
+
*/
|
|
495
|
+
options: NoConstructorReturnOptions;
|
|
496
|
+
}
|
|
497
|
+
export interface RuleWithNoEmptyCharacterClassInRegexOptions {
|
|
498
|
+
/**
|
|
499
|
+
* The severity of the emitted diagnostics by the rule
|
|
500
|
+
*/
|
|
501
|
+
level: RulePlainConfiguration;
|
|
502
|
+
/**
|
|
503
|
+
* Rule's options
|
|
504
|
+
*/
|
|
505
|
+
options: NoEmptyCharacterClassInRegexOptions;
|
|
506
|
+
}
|
|
507
|
+
export interface RuleWithNoEmptyPatternOptions {
|
|
508
|
+
/**
|
|
509
|
+
* The severity of the emitted diagnostics by the rule
|
|
510
|
+
*/
|
|
511
|
+
level: RulePlainConfiguration;
|
|
512
|
+
/**
|
|
513
|
+
* Rule's options
|
|
514
|
+
*/
|
|
515
|
+
options: NoEmptyPatternOptions;
|
|
516
|
+
}
|
|
517
|
+
export interface RuleWithNoGlobalDirnameFilenameOptions {
|
|
518
|
+
/**
|
|
519
|
+
* The kind of the code actions emitted by the rule
|
|
520
|
+
*/
|
|
521
|
+
fix?: FixKind | null;
|
|
522
|
+
/**
|
|
523
|
+
* The severity of the emitted diagnostics by the rule
|
|
524
|
+
*/
|
|
525
|
+
level: RulePlainConfiguration;
|
|
526
|
+
/**
|
|
527
|
+
* Rule's options
|
|
528
|
+
*/
|
|
529
|
+
options: NoGlobalDirnameFilenameOptions;
|
|
530
|
+
}
|
|
531
|
+
export interface RuleWithNoGlobalObjectCallsOptions {
|
|
532
|
+
/**
|
|
533
|
+
* The severity of the emitted diagnostics by the rule
|
|
534
|
+
*/
|
|
535
|
+
level: RulePlainConfiguration;
|
|
536
|
+
/**
|
|
537
|
+
* Rule's options
|
|
538
|
+
*/
|
|
539
|
+
options: NoGlobalObjectCallsOptions;
|
|
540
|
+
}
|
|
541
|
+
export interface RuleWithNoInnerDeclarationsOptions {
|
|
542
|
+
/**
|
|
543
|
+
* The severity of the emitted diagnostics by the rule
|
|
544
|
+
*/
|
|
545
|
+
level: RulePlainConfiguration;
|
|
546
|
+
/**
|
|
547
|
+
* Rule's options
|
|
548
|
+
*/
|
|
549
|
+
options: NoInnerDeclarationsOptions;
|
|
550
|
+
}
|
|
551
|
+
export interface RuleWithNoInvalidBuiltinInstantiationOptions {
|
|
552
|
+
/**
|
|
553
|
+
* The kind of the code actions emitted by the rule
|
|
554
|
+
*/
|
|
555
|
+
fix?: FixKind | null;
|
|
556
|
+
/**
|
|
557
|
+
* The severity of the emitted diagnostics by the rule
|
|
558
|
+
*/
|
|
559
|
+
level: RulePlainConfiguration;
|
|
560
|
+
/**
|
|
561
|
+
* Rule's options
|
|
562
|
+
*/
|
|
563
|
+
options: NoInvalidBuiltinInstantiationOptions;
|
|
564
|
+
}
|
|
565
|
+
export interface RuleWithNoInvalidConstructorSuperOptions {
|
|
566
|
+
/**
|
|
567
|
+
* The severity of the emitted diagnostics by the rule
|
|
568
|
+
*/
|
|
569
|
+
level: RulePlainConfiguration;
|
|
570
|
+
/**
|
|
571
|
+
* Rule's options
|
|
572
|
+
*/
|
|
573
|
+
options: NoInvalidConstructorSuperOptions;
|
|
574
|
+
}
|
|
575
|
+
export interface RuleWithNoInvalidDirectionInLinearGradientOptions {
|
|
576
|
+
/**
|
|
577
|
+
* The severity of the emitted diagnostics by the rule
|
|
578
|
+
*/
|
|
579
|
+
level: RulePlainConfiguration;
|
|
580
|
+
/**
|
|
581
|
+
* Rule's options
|
|
582
|
+
*/
|
|
583
|
+
options: NoInvalidDirectionInLinearGradientOptions;
|
|
584
|
+
}
|
|
585
|
+
export interface RuleWithNoInvalidGridAreasOptions {
|
|
586
|
+
/**
|
|
587
|
+
* The severity of the emitted diagnostics by the rule
|
|
588
|
+
*/
|
|
589
|
+
level: RulePlainConfiguration;
|
|
590
|
+
/**
|
|
591
|
+
* Rule's options
|
|
592
|
+
*/
|
|
593
|
+
options: NoInvalidGridAreasOptions;
|
|
594
|
+
}
|
|
595
|
+
export interface RuleWithNoInvalidPositionAtImportRuleOptions {
|
|
596
|
+
/**
|
|
597
|
+
* The severity of the emitted diagnostics by the rule
|
|
598
|
+
*/
|
|
599
|
+
level: RulePlainConfiguration;
|
|
600
|
+
/**
|
|
601
|
+
* Rule's options
|
|
602
|
+
*/
|
|
603
|
+
options: NoInvalidPositionAtImportRuleOptions;
|
|
604
|
+
}
|
|
605
|
+
export interface RuleWithNoInvalidUseBeforeDeclarationOptions {
|
|
606
|
+
/**
|
|
607
|
+
* The severity of the emitted diagnostics by the rule
|
|
608
|
+
*/
|
|
609
|
+
level: RulePlainConfiguration;
|
|
610
|
+
/**
|
|
611
|
+
* Rule's options
|
|
612
|
+
*/
|
|
613
|
+
options: NoInvalidUseBeforeDeclarationOptions;
|
|
614
|
+
}
|
|
615
|
+
export interface RuleWithNoMissingVarFunctionOptions {
|
|
616
|
+
/**
|
|
617
|
+
* The severity of the emitted diagnostics by the rule
|
|
618
|
+
*/
|
|
619
|
+
level: RulePlainConfiguration;
|
|
620
|
+
/**
|
|
621
|
+
* Rule's options
|
|
622
|
+
*/
|
|
623
|
+
options: NoMissingVarFunctionOptions;
|
|
624
|
+
}
|
|
625
|
+
export interface RuleWithNoNestedComponentDefinitionsOptions {
|
|
626
|
+
/**
|
|
627
|
+
* The severity of the emitted diagnostics by the rule
|
|
628
|
+
*/
|
|
629
|
+
level: RulePlainConfiguration;
|
|
630
|
+
/**
|
|
631
|
+
* Rule's options
|
|
632
|
+
*/
|
|
633
|
+
options: NoNestedComponentDefinitionsOptions;
|
|
634
|
+
}
|
|
635
|
+
export interface RuleWithNoNodejsModulesOptions {
|
|
636
|
+
/**
|
|
637
|
+
* The severity of the emitted diagnostics by the rule
|
|
638
|
+
*/
|
|
639
|
+
level: RulePlainConfiguration;
|
|
640
|
+
/**
|
|
641
|
+
* Rule's options
|
|
642
|
+
*/
|
|
643
|
+
options: NoNodejsModulesOptions;
|
|
644
|
+
}
|
|
645
|
+
export interface RuleWithNoNonoctalDecimalEscapeOptions {
|
|
646
|
+
/**
|
|
647
|
+
* The kind of the code actions emitted by the rule
|
|
648
|
+
*/
|
|
649
|
+
fix?: FixKind | null;
|
|
650
|
+
/**
|
|
651
|
+
* The severity of the emitted diagnostics by the rule
|
|
652
|
+
*/
|
|
653
|
+
level: RulePlainConfiguration;
|
|
654
|
+
/**
|
|
655
|
+
* Rule's options
|
|
656
|
+
*/
|
|
657
|
+
options: NoNonoctalDecimalEscapeOptions;
|
|
658
|
+
}
|
|
659
|
+
export interface RuleWithNoPrecisionLossOptions {
|
|
660
|
+
/**
|
|
661
|
+
* The severity of the emitted diagnostics by the rule
|
|
662
|
+
*/
|
|
663
|
+
level: RulePlainConfiguration;
|
|
664
|
+
/**
|
|
665
|
+
* Rule's options
|
|
666
|
+
*/
|
|
667
|
+
options: NoPrecisionLossOptions;
|
|
668
|
+
}
|
|
669
|
+
export interface NoPrivateImportsOptions {
|
|
670
|
+
/**
|
|
671
|
+
* The default visibility to assume for symbols without visibility tag.
|
|
672
|
+
*
|
|
673
|
+
* Default: **public**.
|
|
674
|
+
*/
|
|
675
|
+
defaultVisibility?: Visibility & string;
|
|
676
|
+
}
|
|
677
|
+
export interface RuleWithNoProcessGlobalOptions {
|
|
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: NoProcessGlobalOptions;
|
|
690
|
+
}
|
|
691
|
+
export interface RuleWithNoQwikUseVisibleTaskOptions {
|
|
692
|
+
/**
|
|
693
|
+
* The severity of the emitted diagnostics by the rule
|
|
694
|
+
*/
|
|
695
|
+
level: RulePlainConfiguration;
|
|
696
|
+
/**
|
|
697
|
+
* Rule's options
|
|
698
|
+
*/
|
|
699
|
+
options: NoQwikUseVisibleTaskOptions;
|
|
700
|
+
}
|
|
701
|
+
export interface RuleWithNoReactPropAssignmentsOptions {
|
|
702
|
+
/**
|
|
703
|
+
* The severity of the emitted diagnostics by the rule
|
|
704
|
+
*/
|
|
705
|
+
level: RulePlainConfiguration;
|
|
706
|
+
/**
|
|
707
|
+
* Rule's options
|
|
708
|
+
*/
|
|
709
|
+
options: NoReactPropAssignmentsOptions;
|
|
710
|
+
}
|
|
711
|
+
export interface RuleWithNoRenderReturnValueOptions {
|
|
712
|
+
/**
|
|
713
|
+
* The severity of the emitted diagnostics by the rule
|
|
714
|
+
*/
|
|
715
|
+
level: RulePlainConfiguration;
|
|
716
|
+
/**
|
|
717
|
+
* Rule's options
|
|
718
|
+
*/
|
|
719
|
+
options: NoRenderReturnValueOptions;
|
|
720
|
+
}
|
|
721
|
+
export interface NoRestrictedElementsOptions {
|
|
722
|
+
/**
|
|
723
|
+
* Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
|
|
724
|
+
*/
|
|
725
|
+
elements?: CustomRestrictedElements;
|
|
726
|
+
}
|
|
727
|
+
export interface RuleWithNoSelfAssignOptions {
|
|
728
|
+
/**
|
|
729
|
+
* The severity of the emitted diagnostics by the rule
|
|
730
|
+
*/
|
|
731
|
+
level: RulePlainConfiguration;
|
|
732
|
+
/**
|
|
733
|
+
* Rule's options
|
|
734
|
+
*/
|
|
735
|
+
options: NoSelfAssignOptions;
|
|
736
|
+
}
|
|
737
|
+
export interface RuleWithNoSetterReturnOptions {
|
|
738
|
+
/**
|
|
739
|
+
* The severity of the emitted diagnostics by the rule
|
|
740
|
+
*/
|
|
741
|
+
level: RulePlainConfiguration;
|
|
742
|
+
/**
|
|
743
|
+
* Rule's options
|
|
744
|
+
*/
|
|
745
|
+
options: NoSetterReturnOptions;
|
|
746
|
+
}
|
|
747
|
+
export interface RuleWithNoSolidDestructuredPropsOptions {
|
|
748
|
+
/**
|
|
749
|
+
* The severity of the emitted diagnostics by the rule
|
|
750
|
+
*/
|
|
751
|
+
level: RulePlainConfiguration;
|
|
752
|
+
/**
|
|
753
|
+
* Rule's options
|
|
754
|
+
*/
|
|
755
|
+
options: NoSolidDestructuredPropsOptions;
|
|
756
|
+
}
|
|
757
|
+
export interface RuleWithNoStringCaseMismatchOptions {
|
|
758
|
+
/**
|
|
759
|
+
* The kind of the code actions emitted by the rule
|
|
760
|
+
*/
|
|
761
|
+
fix?: FixKind | null;
|
|
762
|
+
/**
|
|
763
|
+
* The severity of the emitted diagnostics by the rule
|
|
764
|
+
*/
|
|
765
|
+
level: RulePlainConfiguration;
|
|
766
|
+
/**
|
|
767
|
+
* Rule's options
|
|
768
|
+
*/
|
|
769
|
+
options: NoStringCaseMismatchOptions;
|
|
770
|
+
}
|
|
771
|
+
export interface RuleWithNoSwitchDeclarationsOptions {
|
|
772
|
+
/**
|
|
773
|
+
* The kind of the code actions emitted by the rule
|
|
774
|
+
*/
|
|
775
|
+
fix?: FixKind | null;
|
|
776
|
+
/**
|
|
777
|
+
* The severity of the emitted diagnostics by the rule
|
|
778
|
+
*/
|
|
779
|
+
level: RulePlainConfiguration;
|
|
780
|
+
/**
|
|
781
|
+
* Rule's options
|
|
782
|
+
*/
|
|
783
|
+
options: NoSwitchDeclarationsOptions;
|
|
784
|
+
}
|
|
785
|
+
export interface NoUndeclaredDependenciesOptions {
|
|
786
|
+
/**
|
|
787
|
+
* If set to `false`, then the rule will show an error when `devDependencies` are imported. Defaults to `true`.
|
|
788
|
+
*/
|
|
789
|
+
devDependencies?: DependencyAvailability & boolean;
|
|
790
|
+
/**
|
|
791
|
+
* If set to `false`, then the rule will show an error when `optionalDependencies` are imported. Defaults to `true`.
|
|
792
|
+
*/
|
|
793
|
+
optionalDependencies?: DependencyAvailability & boolean;
|
|
794
|
+
/**
|
|
795
|
+
* If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `true`.
|
|
796
|
+
*/
|
|
797
|
+
peerDependencies?: DependencyAvailability & boolean;
|
|
798
|
+
}
|
|
799
|
+
export interface RuleWithNoUndeclaredVariablesOptions {
|
|
800
|
+
/**
|
|
801
|
+
* The severity of the emitted diagnostics by the rule
|
|
802
|
+
*/
|
|
803
|
+
level: RulePlainConfiguration;
|
|
804
|
+
/**
|
|
805
|
+
* Rule's options
|
|
806
|
+
*/
|
|
807
|
+
options: NoUndeclaredVariablesOptions;
|
|
808
|
+
}
|
|
809
|
+
export interface RuleWithNoUnknownFunctionOptions {
|
|
810
|
+
/**
|
|
811
|
+
* The severity of the emitted diagnostics by the rule
|
|
812
|
+
*/
|
|
813
|
+
level: RulePlainConfiguration;
|
|
814
|
+
/**
|
|
815
|
+
* Rule's options
|
|
816
|
+
*/
|
|
817
|
+
options: NoUnknownFunctionOptions;
|
|
818
|
+
}
|
|
819
|
+
export interface RuleWithNoUnknownMediaFeatureNameOptions {
|
|
820
|
+
/**
|
|
821
|
+
* The severity of the emitted diagnostics by the rule
|
|
822
|
+
*/
|
|
823
|
+
level: RulePlainConfiguration;
|
|
824
|
+
/**
|
|
825
|
+
* Rule's options
|
|
826
|
+
*/
|
|
827
|
+
options: NoUnknownMediaFeatureNameOptions;
|
|
828
|
+
}
|
|
829
|
+
export interface RuleWithNoUnknownPropertyOptions {
|
|
830
|
+
/**
|
|
831
|
+
* The severity of the emitted diagnostics by the rule
|
|
832
|
+
*/
|
|
833
|
+
level: RulePlainConfiguration;
|
|
834
|
+
/**
|
|
835
|
+
* Rule's options
|
|
836
|
+
*/
|
|
837
|
+
options: NoUnknownPropertyOptions;
|
|
838
|
+
}
|
|
839
|
+
export interface RuleWithNoUnknownPseudoClassOptions {
|
|
840
|
+
/**
|
|
841
|
+
* The severity of the emitted diagnostics by the rule
|
|
842
|
+
*/
|
|
843
|
+
level: RulePlainConfiguration;
|
|
844
|
+
/**
|
|
845
|
+
* Rule's options
|
|
846
|
+
*/
|
|
847
|
+
options: NoUnknownPseudoClassOptions;
|
|
848
|
+
}
|
|
849
|
+
export interface RuleWithNoUnknownPseudoElementOptions {
|
|
850
|
+
/**
|
|
851
|
+
* The severity of the emitted diagnostics by the rule
|
|
852
|
+
*/
|
|
853
|
+
level: RulePlainConfiguration;
|
|
854
|
+
/**
|
|
855
|
+
* Rule's options
|
|
856
|
+
*/
|
|
857
|
+
options: NoUnknownPseudoElementOptions;
|
|
858
|
+
}
|
|
859
|
+
export interface RuleWithNoUnknownTypeSelectorOptions {
|
|
860
|
+
/**
|
|
861
|
+
* The severity of the emitted diagnostics by the rule
|
|
862
|
+
*/
|
|
863
|
+
level: RulePlainConfiguration;
|
|
864
|
+
/**
|
|
865
|
+
* Rule's options
|
|
866
|
+
*/
|
|
867
|
+
options: NoUnknownTypeSelectorOptions;
|
|
868
|
+
}
|
|
869
|
+
export interface RuleWithNoUnknownUnitOptions {
|
|
870
|
+
/**
|
|
871
|
+
* The severity of the emitted diagnostics by the rule
|
|
872
|
+
*/
|
|
873
|
+
level: RulePlainConfiguration;
|
|
874
|
+
/**
|
|
875
|
+
* Rule's options
|
|
876
|
+
*/
|
|
877
|
+
options: NoUnknownUnitOptions;
|
|
878
|
+
}
|
|
879
|
+
export interface RuleWithNoUnmatchableAnbSelectorOptions {
|
|
880
|
+
/**
|
|
881
|
+
* The severity of the emitted diagnostics by the rule
|
|
882
|
+
*/
|
|
883
|
+
level: RulePlainConfiguration;
|
|
884
|
+
/**
|
|
885
|
+
* Rule's options
|
|
886
|
+
*/
|
|
887
|
+
options: NoUnmatchableAnbSelectorOptions;
|
|
888
|
+
}
|
|
889
|
+
export interface RuleWithNoUnreachableOptions {
|
|
890
|
+
/**
|
|
891
|
+
* The severity of the emitted diagnostics by the rule
|
|
892
|
+
*/
|
|
893
|
+
level: RulePlainConfiguration;
|
|
894
|
+
/**
|
|
895
|
+
* Rule's options
|
|
896
|
+
*/
|
|
897
|
+
options: NoUnreachableOptions;
|
|
898
|
+
}
|
|
899
|
+
export interface RuleWithNoUnreachableSuperOptions {
|
|
900
|
+
/**
|
|
901
|
+
* The severity of the emitted diagnostics by the rule
|
|
902
|
+
*/
|
|
903
|
+
level: RulePlainConfiguration;
|
|
904
|
+
/**
|
|
905
|
+
* Rule's options
|
|
906
|
+
*/
|
|
907
|
+
options: NoUnreachableSuperOptions;
|
|
908
|
+
}
|
|
909
|
+
export interface RuleWithNoUnsafeFinallyOptions {
|
|
910
|
+
/**
|
|
911
|
+
* The severity of the emitted diagnostics by the rule
|
|
912
|
+
*/
|
|
913
|
+
level: RulePlainConfiguration;
|
|
914
|
+
/**
|
|
915
|
+
* Rule's options
|
|
916
|
+
*/
|
|
917
|
+
options: NoUnsafeFinallyOptions;
|
|
918
|
+
}
|
|
919
|
+
export interface RuleWithNoUnsafeOptionalChainingOptions {
|
|
920
|
+
/**
|
|
921
|
+
* The severity of the emitted diagnostics by the rule
|
|
922
|
+
*/
|
|
923
|
+
level: RulePlainConfiguration;
|
|
924
|
+
/**
|
|
925
|
+
* Rule's options
|
|
926
|
+
*/
|
|
927
|
+
options: NoUnsafeOptionalChainingOptions;
|
|
928
|
+
}
|
|
929
|
+
export interface RuleWithNoUnusedFunctionParametersOptions {
|
|
930
|
+
/**
|
|
931
|
+
* The kind of the code actions emitted by the rule
|
|
932
|
+
*/
|
|
933
|
+
fix?: FixKind | null;
|
|
934
|
+
/**
|
|
935
|
+
* The severity of the emitted diagnostics by the rule
|
|
936
|
+
*/
|
|
937
|
+
level: RulePlainConfiguration;
|
|
938
|
+
/**
|
|
939
|
+
* Rule's options
|
|
940
|
+
*/
|
|
941
|
+
options: NoUnusedFunctionParametersOptions;
|
|
942
|
+
}
|
|
943
|
+
export interface RuleWithNoUnusedImportsOptions {
|
|
944
|
+
/**
|
|
945
|
+
* The kind of the code actions emitted by the rule
|
|
946
|
+
*/
|
|
947
|
+
fix?: FixKind | null;
|
|
948
|
+
/**
|
|
949
|
+
* The severity of the emitted diagnostics by the rule
|
|
950
|
+
*/
|
|
951
|
+
level: RulePlainConfiguration;
|
|
952
|
+
/**
|
|
953
|
+
* Rule's options
|
|
954
|
+
*/
|
|
955
|
+
options: NoUnusedImportsOptions;
|
|
956
|
+
}
|
|
957
|
+
export interface RuleWithNoUnusedLabelsOptions {
|
|
958
|
+
/**
|
|
959
|
+
* The kind of the code actions emitted by the rule
|
|
960
|
+
*/
|
|
961
|
+
fix?: FixKind | null;
|
|
962
|
+
/**
|
|
963
|
+
* The severity of the emitted diagnostics by the rule
|
|
964
|
+
*/
|
|
965
|
+
level: RulePlainConfiguration;
|
|
966
|
+
/**
|
|
967
|
+
* Rule's options
|
|
968
|
+
*/
|
|
969
|
+
options: NoUnusedLabelsOptions;
|
|
970
|
+
}
|
|
971
|
+
export interface RuleWithNoUnusedPrivateClassMembersOptions {
|
|
972
|
+
/**
|
|
973
|
+
* The kind of the code actions emitted by the rule
|
|
974
|
+
*/
|
|
975
|
+
fix?: FixKind | null;
|
|
976
|
+
/**
|
|
977
|
+
* The severity of the emitted diagnostics by the rule
|
|
978
|
+
*/
|
|
979
|
+
level: RulePlainConfiguration;
|
|
980
|
+
/**
|
|
981
|
+
* Rule's options
|
|
982
|
+
*/
|
|
983
|
+
options: NoUnusedPrivateClassMembersOptions;
|
|
984
|
+
}
|
|
985
|
+
export interface RuleWithNoUnusedVariablesOptions {
|
|
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: NoUnusedVariablesOptions;
|
|
998
|
+
}
|
|
999
|
+
export interface RuleWithNoVoidElementsWithChildrenOptions {
|
|
1000
|
+
/**
|
|
1001
|
+
* The kind of the code actions emitted by the rule
|
|
1002
|
+
*/
|
|
1003
|
+
fix?: FixKind | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* The severity of the emitted diagnostics by the rule
|
|
1006
|
+
*/
|
|
1007
|
+
level: RulePlainConfiguration;
|
|
1008
|
+
/**
|
|
1009
|
+
* Rule's options
|
|
1010
|
+
*/
|
|
1011
|
+
options: NoVoidElementsWithChildrenOptions;
|
|
1012
|
+
}
|
|
1013
|
+
export interface RuleWithNoVoidTypeReturnOptions {
|
|
1014
|
+
/**
|
|
1015
|
+
* The severity of the emitted diagnostics by the rule
|
|
1016
|
+
*/
|
|
1017
|
+
level: RulePlainConfiguration;
|
|
1018
|
+
/**
|
|
1019
|
+
* Rule's options
|
|
1020
|
+
*/
|
|
1021
|
+
options: NoVoidTypeReturnOptions;
|
|
1022
|
+
}
|
|
1023
|
+
export interface Hook {
|
|
1024
|
+
/**
|
|
1025
|
+
* The "position" of the closure function, starting from zero.
|
|
1026
|
+
*
|
|
1027
|
+
* For example, for React's `useEffect()` hook, the closure index is 0.
|
|
1028
|
+
*/
|
|
1029
|
+
closureIndex?: number | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* The "position" of the array of dependencies, starting from zero.
|
|
1032
|
+
*
|
|
1033
|
+
* For example, for React's `useEffect()` hook, the dependencies index is 1.
|
|
1034
|
+
*/
|
|
1035
|
+
dependenciesIndex?: number | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* The name of the hook.
|
|
1038
|
+
*/
|
|
1039
|
+
name?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Whether the result of the hook is stable.
|
|
1042
|
+
*
|
|
1043
|
+
* Set to `true` to mark the identity of the hook's return value as stable, or use a number/an array of numbers to mark the "positions" in the return array as stable.
|
|
1044
|
+
*
|
|
1045
|
+
* For example, for React's `useRef()` hook the value would be `true`, while for `useState()` it would be `[1]`.
|
|
1046
|
+
*/
|
|
1047
|
+
stableResult?: StableHookResult | null;
|
|
1048
|
+
}
|
|
1049
|
+
export interface RuleWithUseGraphqlNamedOperationsOptions {
|
|
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: UseGraphqlNamedOperationsOptions;
|
|
1062
|
+
}
|
|
1063
|
+
export interface RuleWithUseHookAtTopLevelOptions {
|
|
1064
|
+
/**
|
|
1065
|
+
* The severity of the emitted diagnostics by the rule
|
|
1066
|
+
*/
|
|
1067
|
+
level: RulePlainConfiguration;
|
|
1068
|
+
/**
|
|
1069
|
+
* Rule's options
|
|
1070
|
+
*/
|
|
1071
|
+
options: UseHookAtTopLevelOptions;
|
|
1072
|
+
}
|
|
1073
|
+
export interface RuleWithUseImageSizeOptions {
|
|
1074
|
+
/**
|
|
1075
|
+
* The severity of the emitted diagnostics by the rule
|
|
1076
|
+
*/
|
|
1077
|
+
level: RulePlainConfiguration;
|
|
1078
|
+
/**
|
|
1079
|
+
* Rule's options
|
|
1080
|
+
*/
|
|
1081
|
+
options: UseImageSizeOptions;
|
|
1082
|
+
}
|
|
1083
|
+
export interface RuleWithUseImportExtensionsOptions {
|
|
1084
|
+
/**
|
|
1085
|
+
* The kind of the code actions emitted by the rule
|
|
1086
|
+
*/
|
|
1087
|
+
fix?: FixKind | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* The severity of the emitted diagnostics by the rule
|
|
1090
|
+
*/
|
|
1091
|
+
level: RulePlainConfiguration;
|
|
1092
|
+
/**
|
|
1093
|
+
* Rule's options
|
|
1094
|
+
*/
|
|
1095
|
+
options: UseImportExtensionsOptions;
|
|
1096
|
+
}
|
|
1097
|
+
export interface RuleWithUseIsNanOptions {
|
|
1098
|
+
/**
|
|
1099
|
+
* The kind of the code actions emitted by the rule
|
|
1100
|
+
*/
|
|
1101
|
+
fix?: FixKind | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* The severity of the emitted diagnostics by the rule
|
|
1104
|
+
*/
|
|
1105
|
+
level: RulePlainConfiguration;
|
|
1106
|
+
/**
|
|
1107
|
+
* Rule's options
|
|
1108
|
+
*/
|
|
1109
|
+
options: UseIsNanOptions;
|
|
1110
|
+
}
|
|
1111
|
+
export interface RuleWithUseJsonImportAttributesOptions {
|
|
1112
|
+
/**
|
|
1113
|
+
* The kind of the code actions emitted by the rule
|
|
1114
|
+
*/
|
|
1115
|
+
fix?: FixKind | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The severity of the emitted diagnostics by the rule
|
|
1118
|
+
*/
|
|
1119
|
+
level: RulePlainConfiguration;
|
|
1120
|
+
/**
|
|
1121
|
+
* Rule's options
|
|
1122
|
+
*/
|
|
1123
|
+
options: UseJsonImportAttributesOptions;
|
|
1124
|
+
}
|
|
1125
|
+
export interface RuleWithUseJsxKeyInIterableOptions {
|
|
1126
|
+
/**
|
|
1127
|
+
* The severity of the emitted diagnostics by the rule
|
|
1128
|
+
*/
|
|
1129
|
+
level: RulePlainConfiguration;
|
|
1130
|
+
/**
|
|
1131
|
+
* Rule's options
|
|
1132
|
+
*/
|
|
1133
|
+
options: UseJsxKeyInIterableOptions;
|
|
1134
|
+
}
|
|
1135
|
+
export interface RuleWithUseParseIntRadixOptions {
|
|
1136
|
+
/**
|
|
1137
|
+
* The kind of the code actions emitted by the rule
|
|
1138
|
+
*/
|
|
1139
|
+
fix?: FixKind | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* The severity of the emitted diagnostics by the rule
|
|
1142
|
+
*/
|
|
1143
|
+
level: RulePlainConfiguration;
|
|
1144
|
+
/**
|
|
1145
|
+
* Rule's options
|
|
1146
|
+
*/
|
|
1147
|
+
options: UseParseIntRadixOptions;
|
|
1148
|
+
}
|
|
1149
|
+
export interface RuleWithUseQwikClasslistOptions {
|
|
1150
|
+
/**
|
|
1151
|
+
* The severity of the emitted diagnostics by the rule
|
|
1152
|
+
*/
|
|
1153
|
+
level: RulePlainConfiguration;
|
|
1154
|
+
/**
|
|
1155
|
+
* Rule's options
|
|
1156
|
+
*/
|
|
1157
|
+
options: UseQwikClasslistOptions;
|
|
1158
|
+
}
|
|
1159
|
+
export interface RuleWithUseSingleJsDocAsteriskOptions {
|
|
1160
|
+
/**
|
|
1161
|
+
* The kind of the code actions emitted by the rule
|
|
1162
|
+
*/
|
|
1163
|
+
fix?: FixKind | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* The severity of the emitted diagnostics by the rule
|
|
1166
|
+
*/
|
|
1167
|
+
level: RulePlainConfiguration;
|
|
1168
|
+
/**
|
|
1169
|
+
* Rule's options
|
|
1170
|
+
*/
|
|
1171
|
+
options: UseSingleJsDocAsteriskOptions;
|
|
1172
|
+
}
|
|
1173
|
+
export interface RuleWithUseUniqueElementIdsOptions {
|
|
1174
|
+
/**
|
|
1175
|
+
* The severity of the emitted diagnostics by the rule
|
|
1176
|
+
*/
|
|
1177
|
+
level: RulePlainConfiguration;
|
|
1178
|
+
/**
|
|
1179
|
+
* Rule's options
|
|
1180
|
+
*/
|
|
1181
|
+
options: UseUniqueElementIdsOptions;
|
|
1182
|
+
}
|
|
1183
|
+
export interface RuleWithUseValidForDirectionOptions {
|
|
1184
|
+
/**
|
|
1185
|
+
* The severity of the emitted diagnostics by the rule
|
|
1186
|
+
*/
|
|
1187
|
+
level: RulePlainConfiguration;
|
|
1188
|
+
/**
|
|
1189
|
+
* Rule's options
|
|
1190
|
+
*/
|
|
1191
|
+
options: UseValidForDirectionOptions;
|
|
1192
|
+
}
|
|
1193
|
+
export interface RuleWithUseValidTypeofOptions {
|
|
1194
|
+
/**
|
|
1195
|
+
* The kind of the code actions emitted by the rule
|
|
1196
|
+
*/
|
|
1197
|
+
fix?: FixKind | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* The severity of the emitted diagnostics by the rule
|
|
1200
|
+
*/
|
|
1201
|
+
level: RulePlainConfiguration;
|
|
1202
|
+
/**
|
|
1203
|
+
* Rule's options
|
|
1204
|
+
*/
|
|
1205
|
+
options: UseValidTypeofOptions;
|
|
1206
|
+
}
|
|
1207
|
+
export interface RuleWithUseYieldOptions {
|
|
1208
|
+
/**
|
|
1209
|
+
* The severity of the emitted diagnostics by the rule
|
|
1210
|
+
*/
|
|
1211
|
+
level: RulePlainConfiguration;
|
|
1212
|
+
/**
|
|
1213
|
+
* Rule's options
|
|
1214
|
+
*/
|
|
1215
|
+
options: UseYieldOptions;
|
|
1216
|
+
}
|
|
1217
|
+
export interface RuleWithNoDeprecatedImportsOptions {
|
|
1218
|
+
/**
|
|
1219
|
+
* The severity of the emitted diagnostics by the rule
|
|
1220
|
+
*/
|
|
1221
|
+
level: RulePlainConfiguration;
|
|
1222
|
+
/**
|
|
1223
|
+
* Rule's options
|
|
1224
|
+
*/
|
|
1225
|
+
options: NoDeprecatedImportsOptions;
|
|
1226
|
+
}
|
|
1227
|
+
export interface RuleWithNoDuplicateDependenciesOptions {
|
|
1228
|
+
/**
|
|
1229
|
+
* The severity of the emitted diagnostics by the rule
|
|
1230
|
+
*/
|
|
1231
|
+
level: RulePlainConfiguration;
|
|
1232
|
+
/**
|
|
1233
|
+
* Rule's options
|
|
1234
|
+
*/
|
|
1235
|
+
options: NoDuplicateDependenciesOptions;
|
|
1236
|
+
}
|
|
1237
|
+
export interface RuleWithNoEmptySourceOptions {
|
|
1238
|
+
/**
|
|
1239
|
+
* The severity of the emitted diagnostics by the rule
|
|
1240
|
+
*/
|
|
1241
|
+
level: RulePlainConfiguration;
|
|
1242
|
+
/**
|
|
1243
|
+
* Rule's options
|
|
1244
|
+
*/
|
|
1245
|
+
options: NoEmptySourceOptions;
|
|
1246
|
+
}
|
|
1247
|
+
export interface RuleWithNoFloatingPromisesOptions {
|
|
1248
|
+
/**
|
|
1249
|
+
* The kind of the code actions emitted by the rule
|
|
1250
|
+
*/
|
|
1251
|
+
fix?: FixKind | null;
|
|
1252
|
+
/**
|
|
1253
|
+
* The severity of the emitted diagnostics by the rule
|
|
1254
|
+
*/
|
|
1255
|
+
level: RulePlainConfiguration;
|
|
1256
|
+
/**
|
|
1257
|
+
* Rule's options
|
|
1258
|
+
*/
|
|
1259
|
+
options: NoFloatingPromisesOptions;
|
|
1260
|
+
}
|
|
1261
|
+
export interface RuleWithNoImportCyclesOptions {
|
|
1262
|
+
/**
|
|
1263
|
+
* The severity of the emitted diagnostics by the rule
|
|
1264
|
+
*/
|
|
1265
|
+
level: RulePlainConfiguration;
|
|
1266
|
+
/**
|
|
1267
|
+
* Rule's options
|
|
1268
|
+
*/
|
|
1269
|
+
options: NoImportCyclesOptions;
|
|
1270
|
+
}
|
|
1271
|
+
export interface RuleWithNoIncrementDecrementOptions {
|
|
1272
|
+
/**
|
|
1273
|
+
* The severity of the emitted diagnostics by the rule
|
|
1274
|
+
*/
|
|
1275
|
+
level: RulePlainConfiguration;
|
|
1276
|
+
/**
|
|
1277
|
+
* Rule's options
|
|
1278
|
+
*/
|
|
1279
|
+
options: NoIncrementDecrementOptions;
|
|
1280
|
+
}
|
|
1281
|
+
export interface RuleWithNoJsxLiteralsOptions {
|
|
1282
|
+
/**
|
|
1283
|
+
* The severity of the emitted diagnostics by the rule
|
|
1284
|
+
*/
|
|
1285
|
+
level: RulePlainConfiguration;
|
|
1286
|
+
/**
|
|
1287
|
+
* Rule's options
|
|
1288
|
+
*/
|
|
1289
|
+
options: NoJsxLiteralsOptions;
|
|
1290
|
+
}
|
|
1291
|
+
export interface RuleWithNoMisusedPromisesOptions {
|
|
1292
|
+
/**
|
|
1293
|
+
* The kind of the code actions emitted by the rule
|
|
1294
|
+
*/
|
|
1295
|
+
fix?: FixKind | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* The severity of the emitted diagnostics by the rule
|
|
1298
|
+
*/
|
|
1299
|
+
level: RulePlainConfiguration;
|
|
1300
|
+
/**
|
|
1301
|
+
* Rule's options
|
|
1302
|
+
*/
|
|
1303
|
+
options: NoMisusedPromisesOptions;
|
|
1304
|
+
}
|
|
1305
|
+
export interface RuleWithNoNextAsyncClientComponentOptions {
|
|
1306
|
+
/**
|
|
1307
|
+
* The severity of the emitted diagnostics by the rule
|
|
1308
|
+
*/
|
|
1309
|
+
level: RulePlainConfiguration;
|
|
1310
|
+
/**
|
|
1311
|
+
* Rule's options
|
|
1312
|
+
*/
|
|
1313
|
+
options: NoNextAsyncClientComponentOptions;
|
|
1314
|
+
}
|
|
1315
|
+
export interface RuleWithNoReactForwardRefOptions {
|
|
1316
|
+
/**
|
|
1317
|
+
* The kind of the code actions emitted by the rule
|
|
1318
|
+
*/
|
|
1319
|
+
fix?: FixKind | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* The severity of the emitted diagnostics by the rule
|
|
1322
|
+
*/
|
|
1323
|
+
level: RulePlainConfiguration;
|
|
1324
|
+
/**
|
|
1325
|
+
* Rule's options
|
|
1326
|
+
*/
|
|
1327
|
+
options: NoReactForwardRefOptions;
|
|
1328
|
+
}
|
|
1329
|
+
export interface RuleWithNoShadowOptions {
|
|
1330
|
+
/**
|
|
1331
|
+
* The severity of the emitted diagnostics by the rule
|
|
1332
|
+
*/
|
|
1333
|
+
level: RulePlainConfiguration;
|
|
1334
|
+
/**
|
|
1335
|
+
* Rule's options
|
|
1336
|
+
*/
|
|
1337
|
+
options: NoShadowOptions;
|
|
1338
|
+
}
|
|
1339
|
+
export interface RuleWithNoUnnecessaryConditionsOptions {
|
|
1340
|
+
/**
|
|
1341
|
+
* The severity of the emitted diagnostics by the rule
|
|
1342
|
+
*/
|
|
1343
|
+
level: RulePlainConfiguration;
|
|
1344
|
+
/**
|
|
1345
|
+
* Rule's options
|
|
1346
|
+
*/
|
|
1347
|
+
options: NoUnnecessaryConditionsOptions;
|
|
1348
|
+
}
|
|
1349
|
+
export interface RuleWithNoUnresolvedImportsOptions {
|
|
1350
|
+
/**
|
|
1351
|
+
* The severity of the emitted diagnostics by the rule
|
|
1352
|
+
*/
|
|
1353
|
+
level: RulePlainConfiguration;
|
|
1354
|
+
/**
|
|
1355
|
+
* Rule's options
|
|
1356
|
+
*/
|
|
1357
|
+
options: NoUnresolvedImportsOptions;
|
|
1358
|
+
}
|
|
1359
|
+
export interface RuleWithNoUnusedExpressionsOptions {
|
|
1360
|
+
/**
|
|
1361
|
+
* The severity of the emitted diagnostics by the rule
|
|
1362
|
+
*/
|
|
1363
|
+
level: RulePlainConfiguration;
|
|
1364
|
+
/**
|
|
1365
|
+
* Rule's options
|
|
1366
|
+
*/
|
|
1367
|
+
options: NoUnusedExpressionsOptions;
|
|
1368
|
+
}
|
|
1369
|
+
export interface RuleWithNoUselessCatchBindingOptions {
|
|
1370
|
+
/**
|
|
1371
|
+
* The kind of the code actions emitted by the rule
|
|
1372
|
+
*/
|
|
1373
|
+
fix?: FixKind | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* The severity of the emitted diagnostics by the rule
|
|
1376
|
+
*/
|
|
1377
|
+
level: RulePlainConfiguration;
|
|
1378
|
+
/**
|
|
1379
|
+
* Rule's options
|
|
1380
|
+
*/
|
|
1381
|
+
options: NoUselessCatchBindingOptions;
|
|
1382
|
+
}
|
|
1383
|
+
export interface RuleWithNoUselessUndefinedOptions {
|
|
1384
|
+
/**
|
|
1385
|
+
* The kind of the code actions emitted by the rule
|
|
1386
|
+
*/
|
|
1387
|
+
fix?: FixKind | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The severity of the emitted diagnostics by the rule
|
|
1390
|
+
*/
|
|
1391
|
+
level: RulePlainConfiguration;
|
|
1392
|
+
/**
|
|
1393
|
+
* Rule's options
|
|
1394
|
+
*/
|
|
1395
|
+
options: NoUselessUndefinedOptions;
|
|
1396
|
+
}
|
|
1397
|
+
export interface RuleWithNoVueDataObjectDeclarationOptions {
|
|
1398
|
+
/**
|
|
1399
|
+
* The kind of the code actions emitted by the rule
|
|
1400
|
+
*/
|
|
1401
|
+
fix?: FixKind | null;
|
|
1402
|
+
/**
|
|
1403
|
+
* The severity of the emitted diagnostics by the rule
|
|
1404
|
+
*/
|
|
1405
|
+
level: RulePlainConfiguration;
|
|
1406
|
+
/**
|
|
1407
|
+
* Rule's options
|
|
1408
|
+
*/
|
|
1409
|
+
options: NoVueDataObjectDeclarationOptions;
|
|
1410
|
+
}
|
|
1411
|
+
export interface RuleWithNoVueDuplicateKeysOptions {
|
|
1412
|
+
/**
|
|
1413
|
+
* The severity of the emitted diagnostics by the rule
|
|
1414
|
+
*/
|
|
1415
|
+
level: RulePlainConfiguration;
|
|
1416
|
+
/**
|
|
1417
|
+
* Rule's options
|
|
1418
|
+
*/
|
|
1419
|
+
options: NoVueDuplicateKeysOptions;
|
|
1420
|
+
}
|
|
1421
|
+
export interface RuleWithNoVueReservedKeysOptions {
|
|
1422
|
+
/**
|
|
1423
|
+
* The severity of the emitted diagnostics by the rule
|
|
1424
|
+
*/
|
|
1425
|
+
level: RulePlainConfiguration;
|
|
1426
|
+
/**
|
|
1427
|
+
* Rule's options
|
|
1428
|
+
*/
|
|
1429
|
+
options: NoVueReservedKeysOptions;
|
|
1430
|
+
}
|
|
1431
|
+
export interface RuleWithNoVueReservedPropsOptions {
|
|
1432
|
+
/**
|
|
1433
|
+
* The severity of the emitted diagnostics by the rule
|
|
1434
|
+
*/
|
|
1435
|
+
level: RulePlainConfiguration;
|
|
1436
|
+
/**
|
|
1437
|
+
* Rule's options
|
|
1438
|
+
*/
|
|
1439
|
+
options: NoVueReservedPropsOptions;
|
|
1440
|
+
}
|