@biomejs/wasm-web 2.4.13 → 2.4.15
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/biome_wasm.d.ts +219 -5
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ interface Configuration {
|
|
|
26
26
|
*/
|
|
27
27
|
css?: CssConfiguration;
|
|
28
28
|
/**
|
|
29
|
-
* A list of paths to other JSON files, used to
|
|
29
|
+
* A list of paths to other JSON files, used to extend the current configuration.
|
|
30
30
|
*/
|
|
31
31
|
extends?: Extends;
|
|
32
32
|
/**
|
|
@@ -1887,6 +1887,11 @@ interface Nursery {
|
|
|
1887
1887
|
See https://biomejs.dev/linter/rules/no-ambiguous-anchor-text
|
|
1888
1888
|
*/
|
|
1889
1889
|
noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
|
|
1890
|
+
/**
|
|
1891
|
+
* Require stringification to avoid values that only use the default object representation.
|
|
1892
|
+
See https://biomejs.dev/linter/rules/no-base-to-string
|
|
1893
|
+
*/
|
|
1894
|
+
noBaseToString?: NoBaseToStringConfiguration;
|
|
1890
1895
|
/**
|
|
1891
1896
|
* Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
|
|
1892
1897
|
See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
|
|
@@ -1997,6 +2002,11 @@ interface Nursery {
|
|
|
1997
2002
|
See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
|
|
1998
2003
|
*/
|
|
1999
2004
|
noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
|
|
2005
|
+
/**
|
|
2006
|
+
* Enforce a maximum depth that callbacks can be nested.
|
|
2007
|
+
See https://biomejs.dev/linter/rules/no-excessive-nested-callbacks
|
|
2008
|
+
*/
|
|
2009
|
+
noExcessiveNestedCallbacks?: NoExcessiveNestedCallbacksConfiguration;
|
|
2000
2010
|
/**
|
|
2001
2011
|
* Limit the number of classes in a selector.
|
|
2002
2012
|
See https://biomejs.dev/linter/rules/no-excessive-selector-classes
|
|
@@ -2167,6 +2177,11 @@ interface Nursery {
|
|
|
2167
2177
|
See https://biomejs.dev/linter/rules/no-react-native-raw-text
|
|
2168
2178
|
*/
|
|
2169
2179
|
noReactNativeRawText?: NoReactNativeRawTextConfiguration;
|
|
2180
|
+
/**
|
|
2181
|
+
* Disallow string refs in React components.
|
|
2182
|
+
See https://biomejs.dev/linter/rules/no-react-string-refs
|
|
2183
|
+
*/
|
|
2184
|
+
noReactStringRefs?: NoReactStringRefsConfiguration;
|
|
2170
2185
|
/**
|
|
2171
2186
|
* Checks if a default export exports the same symbol as a named export.
|
|
2172
2187
|
See https://biomejs.dev/linter/rules/no-redundant-default-export
|
|
@@ -2252,6 +2267,11 @@ interface Nursery {
|
|
|
2252
2267
|
See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
|
|
2253
2268
|
*/
|
|
2254
2269
|
noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
|
|
2270
|
+
/**
|
|
2271
|
+
* Disallow importing Vue compiler macros.
|
|
2272
|
+
See https://biomejs.dev/linter/rules/no-vue-import-compiler-macros
|
|
2273
|
+
*/
|
|
2274
|
+
noVueImportCompilerMacros?: NoVueImportCompilerMacrosConfiguration;
|
|
2255
2275
|
/**
|
|
2256
2276
|
* Disallow the use of Vue Options API.
|
|
2257
2277
|
See https://biomejs.dev/linter/rules/no-vue-options-api
|
|
@@ -2267,6 +2287,11 @@ interface Nursery {
|
|
|
2267
2287
|
See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
|
|
2268
2288
|
*/
|
|
2269
2289
|
noVueVIfWithVFor?: NoVueVIfWithVForConfiguration;
|
|
2290
|
+
/**
|
|
2291
|
+
* Disallow deprecated number modifiers on Vue v-on directives.
|
|
2292
|
+
See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
|
|
2293
|
+
*/
|
|
2294
|
+
noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
|
|
2270
2295
|
/**
|
|
2271
2296
|
* Enables the recommended rules for this group
|
|
2272
2297
|
*/
|
|
@@ -2396,6 +2421,11 @@ interface Nursery {
|
|
|
2396
2421
|
See https://biomejs.dev/linter/rules/use-lone-executable-definition
|
|
2397
2422
|
*/
|
|
2398
2423
|
useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
|
|
2424
|
+
/**
|
|
2425
|
+
* Prefer Math.min() and Math.max() over ternaries for simple comparisons.
|
|
2426
|
+
See https://biomejs.dev/linter/rules/use-math-min-max
|
|
2427
|
+
*/
|
|
2428
|
+
useMathMinMax?: UseMathMinMaxConfiguration;
|
|
2399
2429
|
/**
|
|
2400
2430
|
* Enforce using named capture groups in regular expression.
|
|
2401
2431
|
See https://biomejs.dev/linter/rules/use-named-capture-group
|
|
@@ -2466,6 +2496,21 @@ interface Nursery {
|
|
|
2466
2496
|
See https://biomejs.dev/linter/rules/use-string-starts-ends-with
|
|
2467
2497
|
*/
|
|
2468
2498
|
useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
|
|
2499
|
+
/**
|
|
2500
|
+
* Enforce that test lifecycle hooks are declared in the order they execute.
|
|
2501
|
+
See https://biomejs.dev/linter/rules/use-test-hooks-in-order
|
|
2502
|
+
*/
|
|
2503
|
+
useTestHooksInOrder?: UseTestHooksInOrderConfiguration;
|
|
2504
|
+
/**
|
|
2505
|
+
* Enforce that lifecycle hooks appear before any test cases in the same block.
|
|
2506
|
+
See https://biomejs.dev/linter/rules/use-test-hooks-on-top
|
|
2507
|
+
*/
|
|
2508
|
+
useTestHooksOnTop?: UseTestHooksOnTopConfiguration;
|
|
2509
|
+
/**
|
|
2510
|
+
* Enforce that class methods utilize this.
|
|
2511
|
+
See https://biomejs.dev/linter/rules/use-this-in-class-methods
|
|
2512
|
+
*/
|
|
2513
|
+
useThisInClassMethods?: UseThisInClassMethodsConfiguration;
|
|
2469
2514
|
/**
|
|
2470
2515
|
* Enforce the use of the u or v flag for regular expressions.
|
|
2471
2516
|
See https://biomejs.dev/linter/rules/use-unicode-regex
|
|
@@ -2506,6 +2551,11 @@ interface Nursery {
|
|
|
2506
2551
|
See https://biomejs.dev/linter/rules/use-vue-multi-word-component-names
|
|
2507
2552
|
*/
|
|
2508
2553
|
useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
|
|
2554
|
+
/**
|
|
2555
|
+
* Enforces Promise syntax when using Vue nextTick.
|
|
2556
|
+
See https://biomejs.dev/linter/rules/use-vue-next-tick-promise
|
|
2557
|
+
*/
|
|
2558
|
+
useVueNextTickPromise?: UseVueNextTickPromiseConfiguration;
|
|
2509
2559
|
/**
|
|
2510
2560
|
* Enforce that elements using v-for also specify a unique key.
|
|
2511
2561
|
See https://biomejs.dev/linter/rules/use-vue-v-for-key
|
|
@@ -2536,6 +2586,11 @@ interface Nursery {
|
|
|
2536
2586
|
See https://biomejs.dev/linter/rules/use-vue-valid-v-else-if
|
|
2537
2587
|
*/
|
|
2538
2588
|
useVueValidVElseIf?: UseVueValidVElseIfConfiguration;
|
|
2589
|
+
/**
|
|
2590
|
+
* Enforces valid v-for directives in Vue templates.
|
|
2591
|
+
See https://biomejs.dev/linter/rules/use-vue-valid-v-for
|
|
2592
|
+
*/
|
|
2593
|
+
useVueValidVFor?: UseVueValidVForConfiguration;
|
|
2539
2594
|
/**
|
|
2540
2595
|
* Enforce valid v-html directives.
|
|
2541
2596
|
See https://biomejs.dev/linter/rules/use-vue-valid-v-html
|
|
@@ -4065,6 +4120,9 @@ type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
|
|
|
4065
4120
|
type NoAmbiguousAnchorTextConfiguration =
|
|
4066
4121
|
| RulePlainConfiguration
|
|
4067
4122
|
| RuleWithNoAmbiguousAnchorTextOptions;
|
|
4123
|
+
type NoBaseToStringConfiguration =
|
|
4124
|
+
| RulePlainConfiguration
|
|
4125
|
+
| RuleWithNoBaseToStringOptions;
|
|
4068
4126
|
type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
|
|
4069
4127
|
| RulePlainConfiguration
|
|
4070
4128
|
| RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
|
|
@@ -4131,6 +4189,9 @@ type NoExcessiveClassesPerFileConfiguration =
|
|
|
4131
4189
|
type NoExcessiveLinesPerFileConfiguration =
|
|
4132
4190
|
| RulePlainConfiguration
|
|
4133
4191
|
| RuleWithNoExcessiveLinesPerFileOptions;
|
|
4192
|
+
type NoExcessiveNestedCallbacksConfiguration =
|
|
4193
|
+
| RulePlainConfiguration
|
|
4194
|
+
| RuleWithNoExcessiveNestedCallbacksOptions;
|
|
4134
4195
|
type NoExcessiveSelectorClassesConfiguration =
|
|
4135
4196
|
| RulePlainConfiguration
|
|
4136
4197
|
| RuleWithNoExcessiveSelectorClassesOptions;
|
|
@@ -4229,6 +4290,9 @@ type NoReactNativeLiteralColorsConfiguration =
|
|
|
4229
4290
|
type NoReactNativeRawTextConfiguration =
|
|
4230
4291
|
| RulePlainConfiguration
|
|
4231
4292
|
| RuleWithNoReactNativeRawTextOptions;
|
|
4293
|
+
type NoReactStringRefsConfiguration =
|
|
4294
|
+
| RulePlainConfiguration
|
|
4295
|
+
| RuleWithNoReactStringRefsOptions;
|
|
4232
4296
|
type NoRedundantDefaultExportConfiguration =
|
|
4233
4297
|
| RulePlainConfiguration
|
|
4234
4298
|
| RuleWithNoRedundantDefaultExportOptions;
|
|
@@ -4276,6 +4340,9 @@ type NoUselessTypeConversionConfiguration =
|
|
|
4276
4340
|
type NoVueArrowFuncInWatchConfiguration =
|
|
4277
4341
|
| RulePlainConfiguration
|
|
4278
4342
|
| RuleWithNoVueArrowFuncInWatchOptions;
|
|
4343
|
+
type NoVueImportCompilerMacrosConfiguration =
|
|
4344
|
+
| RulePlainConfiguration
|
|
4345
|
+
| RuleWithNoVueImportCompilerMacrosOptions;
|
|
4279
4346
|
type NoVueOptionsApiConfiguration =
|
|
4280
4347
|
| RulePlainConfiguration
|
|
4281
4348
|
| RuleWithNoVueOptionsApiOptions;
|
|
@@ -4285,6 +4352,9 @@ type NoVueRefAsOperandConfiguration =
|
|
|
4285
4352
|
type NoVueVIfWithVForConfiguration =
|
|
4286
4353
|
| RulePlainConfiguration
|
|
4287
4354
|
| RuleWithNoVueVIfWithVForOptions;
|
|
4355
|
+
type NoVueVOnNumberValuesConfiguration =
|
|
4356
|
+
| RulePlainConfiguration
|
|
4357
|
+
| RuleWithNoVueVOnNumberValuesOptions;
|
|
4288
4358
|
type UseArraySomeConfiguration =
|
|
4289
4359
|
| RulePlainConfiguration
|
|
4290
4360
|
| RuleWithUseArraySomeOptions;
|
|
@@ -4356,6 +4426,9 @@ type UseLoneAnonymousOperationConfiguration =
|
|
|
4356
4426
|
type UseLoneExecutableDefinitionConfiguration =
|
|
4357
4427
|
| RulePlainConfiguration
|
|
4358
4428
|
| RuleWithUseLoneExecutableDefinitionOptions;
|
|
4429
|
+
type UseMathMinMaxConfiguration =
|
|
4430
|
+
| RulePlainConfiguration
|
|
4431
|
+
| RuleWithUseMathMinMaxOptions;
|
|
4359
4432
|
type UseNamedCaptureGroupConfiguration =
|
|
4360
4433
|
| RulePlainConfiguration
|
|
4361
4434
|
| RuleWithUseNamedCaptureGroupOptions;
|
|
@@ -4396,6 +4469,15 @@ type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
|
4396
4469
|
type UseStringStartsEndsWithConfiguration =
|
|
4397
4470
|
| RulePlainConfiguration
|
|
4398
4471
|
| RuleWithUseStringStartsEndsWithOptions;
|
|
4472
|
+
type UseTestHooksInOrderConfiguration =
|
|
4473
|
+
| RulePlainConfiguration
|
|
4474
|
+
| RuleWithUseTestHooksInOrderOptions;
|
|
4475
|
+
type UseTestHooksOnTopConfiguration =
|
|
4476
|
+
| RulePlainConfiguration
|
|
4477
|
+
| RuleWithUseTestHooksOnTopOptions;
|
|
4478
|
+
type UseThisInClassMethodsConfiguration =
|
|
4479
|
+
| RulePlainConfiguration
|
|
4480
|
+
| RuleWithUseThisInClassMethodsOptions;
|
|
4399
4481
|
type UseUnicodeRegexConfiguration =
|
|
4400
4482
|
| RulePlainConfiguration
|
|
4401
4483
|
| RuleWithUseUnicodeRegexOptions;
|
|
@@ -4420,6 +4502,9 @@ type UseVueHyphenatedAttributesConfiguration =
|
|
|
4420
4502
|
type UseVueMultiWordComponentNamesConfiguration =
|
|
4421
4503
|
| RulePlainConfiguration
|
|
4422
4504
|
| RuleWithUseVueMultiWordComponentNamesOptions;
|
|
4505
|
+
type UseVueNextTickPromiseConfiguration =
|
|
4506
|
+
| RulePlainConfiguration
|
|
4507
|
+
| RuleWithUseVueNextTickPromiseOptions;
|
|
4423
4508
|
type UseVueVForKeyConfiguration =
|
|
4424
4509
|
| RulePlainConfiguration
|
|
4425
4510
|
| RuleWithUseVueVForKeyOptions;
|
|
@@ -4438,6 +4523,9 @@ type UseVueValidVElseConfiguration =
|
|
|
4438
4523
|
type UseVueValidVElseIfConfiguration =
|
|
4439
4524
|
| RulePlainConfiguration
|
|
4440
4525
|
| RuleWithUseVueValidVElseIfOptions;
|
|
4526
|
+
type UseVueValidVForConfiguration =
|
|
4527
|
+
| RulePlainConfiguration
|
|
4528
|
+
| RuleWithUseVueValidVForOptions;
|
|
4441
4529
|
type UseVueValidVHtmlConfiguration =
|
|
4442
4530
|
| RulePlainConfiguration
|
|
4443
4531
|
| RuleWithUseVueValidVHtmlOptions;
|
|
@@ -5765,6 +5853,10 @@ interface RuleWithNoAmbiguousAnchorTextOptions {
|
|
|
5765
5853
|
level: RulePlainConfiguration;
|
|
5766
5854
|
options?: NoAmbiguousAnchorTextOptions;
|
|
5767
5855
|
}
|
|
5856
|
+
interface RuleWithNoBaseToStringOptions {
|
|
5857
|
+
level: RulePlainConfiguration;
|
|
5858
|
+
options?: NoBaseToStringOptions;
|
|
5859
|
+
}
|
|
5768
5860
|
interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
|
|
5769
5861
|
level: RulePlainConfiguration;
|
|
5770
5862
|
options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
|
|
@@ -5855,6 +5947,10 @@ interface RuleWithNoExcessiveLinesPerFileOptions {
|
|
|
5855
5947
|
level: RulePlainConfiguration;
|
|
5856
5948
|
options?: NoExcessiveLinesPerFileOptions;
|
|
5857
5949
|
}
|
|
5950
|
+
interface RuleWithNoExcessiveNestedCallbacksOptions {
|
|
5951
|
+
level: RulePlainConfiguration;
|
|
5952
|
+
options?: NoExcessiveNestedCallbacksOptions;
|
|
5953
|
+
}
|
|
5858
5954
|
interface RuleWithNoExcessiveSelectorClassesOptions {
|
|
5859
5955
|
level: RulePlainConfiguration;
|
|
5860
5956
|
options?: NoExcessiveSelectorClassesOptions;
|
|
@@ -6000,6 +6096,10 @@ interface RuleWithNoReactNativeRawTextOptions {
|
|
|
6000
6096
|
level: RulePlainConfiguration;
|
|
6001
6097
|
options?: NoReactNativeRawTextOptions;
|
|
6002
6098
|
}
|
|
6099
|
+
interface RuleWithNoReactStringRefsOptions {
|
|
6100
|
+
level: RulePlainConfiguration;
|
|
6101
|
+
options?: NoReactStringRefsOptions;
|
|
6102
|
+
}
|
|
6003
6103
|
interface RuleWithNoRedundantDefaultExportOptions {
|
|
6004
6104
|
level: RulePlainConfiguration;
|
|
6005
6105
|
options?: NoRedundantDefaultExportOptions;
|
|
@@ -6071,6 +6171,10 @@ interface RuleWithNoVueArrowFuncInWatchOptions {
|
|
|
6071
6171
|
level: RulePlainConfiguration;
|
|
6072
6172
|
options?: NoVueArrowFuncInWatchOptions;
|
|
6073
6173
|
}
|
|
6174
|
+
interface RuleWithNoVueImportCompilerMacrosOptions {
|
|
6175
|
+
level: RulePlainConfiguration;
|
|
6176
|
+
options?: NoVueImportCompilerMacrosOptions;
|
|
6177
|
+
}
|
|
6074
6178
|
interface RuleWithNoVueOptionsApiOptions {
|
|
6075
6179
|
level: RulePlainConfiguration;
|
|
6076
6180
|
options?: NoVueOptionsApiOptions;
|
|
@@ -6083,6 +6187,10 @@ interface RuleWithNoVueVIfWithVForOptions {
|
|
|
6083
6187
|
level: RulePlainConfiguration;
|
|
6084
6188
|
options?: NoVueVIfWithVForOptions;
|
|
6085
6189
|
}
|
|
6190
|
+
interface RuleWithNoVueVOnNumberValuesOptions {
|
|
6191
|
+
level: RulePlainConfiguration;
|
|
6192
|
+
options?: NoVueVOnNumberValuesOptions;
|
|
6193
|
+
}
|
|
6086
6194
|
interface RuleWithUseArraySomeOptions {
|
|
6087
6195
|
fix?: FixKind;
|
|
6088
6196
|
level: RulePlainConfiguration;
|
|
@@ -6190,6 +6298,11 @@ interface RuleWithUseLoneExecutableDefinitionOptions {
|
|
|
6190
6298
|
level: RulePlainConfiguration;
|
|
6191
6299
|
options?: UseLoneExecutableDefinitionOptions;
|
|
6192
6300
|
}
|
|
6301
|
+
interface RuleWithUseMathMinMaxOptions {
|
|
6302
|
+
fix?: FixKind;
|
|
6303
|
+
level: RulePlainConfiguration;
|
|
6304
|
+
options?: UseMathMinMaxOptions;
|
|
6305
|
+
}
|
|
6193
6306
|
interface RuleWithUseNamedCaptureGroupOptions {
|
|
6194
6307
|
level: RulePlainConfiguration;
|
|
6195
6308
|
options?: UseNamedCaptureGroupOptions;
|
|
@@ -6254,6 +6367,18 @@ interface RuleWithUseStringStartsEndsWithOptions {
|
|
|
6254
6367
|
level: RulePlainConfiguration;
|
|
6255
6368
|
options?: UseStringStartsEndsWithOptions;
|
|
6256
6369
|
}
|
|
6370
|
+
interface RuleWithUseTestHooksInOrderOptions {
|
|
6371
|
+
level: RulePlainConfiguration;
|
|
6372
|
+
options?: UseTestHooksInOrderOptions;
|
|
6373
|
+
}
|
|
6374
|
+
interface RuleWithUseTestHooksOnTopOptions {
|
|
6375
|
+
level: RulePlainConfiguration;
|
|
6376
|
+
options?: UseTestHooksOnTopOptions;
|
|
6377
|
+
}
|
|
6378
|
+
interface RuleWithUseThisInClassMethodsOptions {
|
|
6379
|
+
level: RulePlainConfiguration;
|
|
6380
|
+
options?: UseThisInClassMethodsOptions;
|
|
6381
|
+
}
|
|
6257
6382
|
interface RuleWithUseUnicodeRegexOptions {
|
|
6258
6383
|
fix?: FixKind;
|
|
6259
6384
|
level: RulePlainConfiguration;
|
|
@@ -6291,6 +6416,10 @@ interface RuleWithUseVueMultiWordComponentNamesOptions {
|
|
|
6291
6416
|
level: RulePlainConfiguration;
|
|
6292
6417
|
options?: UseVueMultiWordComponentNamesOptions;
|
|
6293
6418
|
}
|
|
6419
|
+
interface RuleWithUseVueNextTickPromiseOptions {
|
|
6420
|
+
level: RulePlainConfiguration;
|
|
6421
|
+
options?: UseVueNextTickPromiseOptions;
|
|
6422
|
+
}
|
|
6294
6423
|
interface RuleWithUseVueVForKeyOptions {
|
|
6295
6424
|
level: RulePlainConfiguration;
|
|
6296
6425
|
options?: UseVueVForKeyOptions;
|
|
@@ -6317,6 +6446,10 @@ interface RuleWithUseVueValidVElseIfOptions {
|
|
|
6317
6446
|
level: RulePlainConfiguration;
|
|
6318
6447
|
options?: UseVueValidVElseIfOptions;
|
|
6319
6448
|
}
|
|
6449
|
+
interface RuleWithUseVueValidVForOptions {
|
|
6450
|
+
level: RulePlainConfiguration;
|
|
6451
|
+
options?: UseVueValidVForOptions;
|
|
6452
|
+
}
|
|
6320
6453
|
interface RuleWithUseVueValidVHtmlOptions {
|
|
6321
6454
|
level: RulePlainConfiguration;
|
|
6322
6455
|
options?: UseVueValidVHtmlOptions;
|
|
@@ -7532,6 +7665,9 @@ interface NoAmbiguousAnchorTextOptions {
|
|
|
7532
7665
|
*/
|
|
7533
7666
|
words?: string[];
|
|
7534
7667
|
}
|
|
7668
|
+
interface NoBaseToStringOptions {
|
|
7669
|
+
ignoredTypeNames?: string[];
|
|
7670
|
+
}
|
|
7535
7671
|
type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
|
|
7536
7672
|
type NoComponentHookFactoriesOptions = {};
|
|
7537
7673
|
type NoConditionalExpectOptions = {};
|
|
@@ -7583,6 +7719,12 @@ interface NoExcessiveLinesPerFileOptions {
|
|
|
7583
7719
|
*/
|
|
7584
7720
|
skipBlankLines?: boolean;
|
|
7585
7721
|
}
|
|
7722
|
+
interface NoExcessiveNestedCallbacksOptions {
|
|
7723
|
+
/**
|
|
7724
|
+
* Maximum callback nesting depth allowed (default: 5)
|
|
7725
|
+
*/
|
|
7726
|
+
max?: number;
|
|
7727
|
+
}
|
|
7586
7728
|
interface NoExcessiveSelectorClassesOptions {
|
|
7587
7729
|
/**
|
|
7588
7730
|
* The maximum number of class selectors allowed in a single selector.
|
|
@@ -7635,6 +7777,7 @@ interface NoReactNativeRawTextOptions {
|
|
|
7635
7777
|
*/
|
|
7636
7778
|
skip?: string[];
|
|
7637
7779
|
}
|
|
7780
|
+
type NoReactStringRefsOptions = {};
|
|
7638
7781
|
type NoRedundantDefaultExportOptions = {};
|
|
7639
7782
|
type NoReturnAssignOptions = {};
|
|
7640
7783
|
interface NoRootTypeOptions {
|
|
@@ -7645,7 +7788,26 @@ interface NoRootTypeOptions {
|
|
|
7645
7788
|
disallow?: string[];
|
|
7646
7789
|
}
|
|
7647
7790
|
type NoScriptUrlOptions = {};
|
|
7648
|
-
|
|
7791
|
+
interface NoShadowOptions {
|
|
7792
|
+
/**
|
|
7793
|
+
* Ignore parameter names in function type annotations.
|
|
7794
|
+
|
|
7795
|
+
Function type parameters (e.g. `(x: string) => void`) only create
|
|
7796
|
+
bindings within the type scope and rarely cause confusion.
|
|
7797
|
+
|
|
7798
|
+
Defaults to `true`.
|
|
7799
|
+
*/
|
|
7800
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
7801
|
+
/**
|
|
7802
|
+
* Ignore cases where a type and a value share the same name.
|
|
7803
|
+
|
|
7804
|
+
Types and values live in separate namespaces in TypeScript, so a
|
|
7805
|
+
variable named `Foo` and a `type Foo` cannot collide at runtime.
|
|
7806
|
+
|
|
7807
|
+
Defaults to `true`.
|
|
7808
|
+
*/
|
|
7809
|
+
ignoreTypeValueShadow?: boolean;
|
|
7810
|
+
}
|
|
7649
7811
|
type NoSyncScriptsOptions = {};
|
|
7650
7812
|
type NoTernaryOptions = {};
|
|
7651
7813
|
type NoTopLevelLiteralsOptions = {};
|
|
@@ -7701,9 +7863,11 @@ interface NoUntrustedLicensesOptions {
|
|
|
7701
7863
|
type NoUselessReturnOptions = {};
|
|
7702
7864
|
type NoUselessTypeConversionOptions = {};
|
|
7703
7865
|
type NoVueArrowFuncInWatchOptions = {};
|
|
7866
|
+
type NoVueImportCompilerMacrosOptions = {};
|
|
7704
7867
|
type NoVueOptionsApiOptions = {};
|
|
7705
7868
|
type NoVueRefAsOperandOptions = {};
|
|
7706
7869
|
type NoVueVIfWithVForOptions = {};
|
|
7870
|
+
type NoVueVOnNumberValuesOptions = {};
|
|
7707
7871
|
type UseArraySomeOptions = {};
|
|
7708
7872
|
type UseArraySortCompareOptions = {};
|
|
7709
7873
|
type UseAwaitThenableOptions = {};
|
|
@@ -7805,6 +7969,7 @@ interface UseInputNameOptions {
|
|
|
7805
7969
|
}
|
|
7806
7970
|
type UseLoneAnonymousOperationOptions = {};
|
|
7807
7971
|
type UseLoneExecutableDefinitionOptions = {};
|
|
7972
|
+
type UseMathMinMaxOptions = {};
|
|
7808
7973
|
type UseNamedCaptureGroupOptions = {};
|
|
7809
7974
|
interface UseNullishCoalescingOptions {
|
|
7810
7975
|
/**
|
|
@@ -7862,6 +8027,30 @@ interface UseSortedClassesOptions {
|
|
|
7862
8027
|
}
|
|
7863
8028
|
type UseSpreadOptions = {};
|
|
7864
8029
|
type UseStringStartsEndsWithOptions = {};
|
|
8030
|
+
type UseTestHooksInOrderOptions = {};
|
|
8031
|
+
type UseTestHooksOnTopOptions = {};
|
|
8032
|
+
interface UseThisInClassMethodsOptions {
|
|
8033
|
+
/**
|
|
8034
|
+
* Whether members of classes with an `implements` clause should be ignored.
|
|
8035
|
+
|
|
8036
|
+
Defaults to `"none"`, which means implemented classes are checked like any other class.
|
|
8037
|
+
Use `"all"` to ignore every eligible member in such classes, or `"public-fields"`
|
|
8038
|
+
to ignore only public members in them.
|
|
8039
|
+
*/
|
|
8040
|
+
ignoreClassesWithImplements?: IgnoreClassesWithImplements;
|
|
8041
|
+
/**
|
|
8042
|
+
* Method names that should be ignored by the rule.
|
|
8043
|
+
|
|
8044
|
+
Defaults to `[]`.
|
|
8045
|
+
*/
|
|
8046
|
+
ignoreMethods?: string[];
|
|
8047
|
+
/**
|
|
8048
|
+
* Whether methods marked with `override` should be ignored.
|
|
8049
|
+
|
|
8050
|
+
Defaults to `false`.
|
|
8051
|
+
*/
|
|
8052
|
+
ignoreOverrideMethods?: boolean;
|
|
8053
|
+
}
|
|
7865
8054
|
type UseUnicodeRegexOptions = {};
|
|
7866
8055
|
type UseVarsOnTopOptions = {};
|
|
7867
8056
|
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
@@ -7903,12 +8092,14 @@ interface UseVueMultiWordComponentNamesOptions {
|
|
|
7903
8092
|
*/
|
|
7904
8093
|
ignores?: string[];
|
|
7905
8094
|
}
|
|
8095
|
+
type UseVueNextTickPromiseOptions = {};
|
|
7906
8096
|
type UseVueVForKeyOptions = {};
|
|
7907
8097
|
type UseVueValidTemplateRootOptions = {};
|
|
7908
8098
|
type UseVueValidVBindOptions = {};
|
|
7909
8099
|
type UseVueValidVCloakOptions = {};
|
|
7910
8100
|
type UseVueValidVElseOptions = {};
|
|
7911
8101
|
type UseVueValidVElseIfOptions = {};
|
|
8102
|
+
type UseVueValidVForOptions = {};
|
|
7912
8103
|
type UseVueValidVHtmlOptions = {};
|
|
7913
8104
|
type UseVueValidVIfOptions = {};
|
|
7914
8105
|
interface UseVueValidVOnOptions {
|
|
@@ -8344,6 +8535,7 @@ type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
|
|
|
8344
8535
|
type MethodSignatureStyle = "property" | "method";
|
|
8345
8536
|
type TestFunctionKind = "it" | "test";
|
|
8346
8537
|
type CheckInputType = "off" | "loose" | "strict";
|
|
8538
|
+
type IgnoreClassesWithImplements = "none" | "all" | "public-fields";
|
|
8347
8539
|
type DeclarationStyle = "type" | "runtime";
|
|
8348
8540
|
type VueDirectiveStyle = "shorthand" | "longhand";
|
|
8349
8541
|
type VueDirectiveStyle2 = "shorthand" | "longhand";
|
|
@@ -8700,6 +8892,7 @@ type Category =
|
|
|
8700
8892
|
| "lint/correctness/useValidTypeof"
|
|
8701
8893
|
| "lint/correctness/useYield"
|
|
8702
8894
|
| "lint/nursery/noAmbiguousAnchorText"
|
|
8895
|
+
| "lint/nursery/noBaseToString"
|
|
8703
8896
|
| "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
|
|
8704
8897
|
| "lint/nursery/noColorInvalidHex"
|
|
8705
8898
|
| "lint/nursery/noComponentHookFactories"
|
|
@@ -8723,6 +8916,7 @@ type Category =
|
|
|
8723
8916
|
| "lint/nursery/noEqualsToNull"
|
|
8724
8917
|
| "lint/nursery/noExcessiveClassesPerFile"
|
|
8725
8918
|
| "lint/nursery/noExcessiveLinesPerFile"
|
|
8919
|
+
| "lint/nursery/noExcessiveNestedCallbacks"
|
|
8726
8920
|
| "lint/nursery/noExcessiveSelectorClasses"
|
|
8727
8921
|
| "lint/nursery/noFloatingClasses"
|
|
8728
8922
|
| "lint/nursery/noFloatingPromises"
|
|
@@ -8737,8 +8931,8 @@ type Category =
|
|
|
8737
8931
|
| "lint/nursery/noJsxNamespace"
|
|
8738
8932
|
| "lint/nursery/noJsxPropsBind"
|
|
8739
8933
|
| "lint/nursery/noLeakedRender"
|
|
8740
|
-
| "lint/nursery/noMisleadingReturnType"
|
|
8741
8934
|
| "lint/nursery/noLoopFunc"
|
|
8935
|
+
| "lint/nursery/noMisleadingReturnType"
|
|
8742
8936
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8743
8937
|
| "lint/nursery/noMisusedPromises"
|
|
8744
8938
|
| "lint/nursery/noMultiAssign"
|
|
@@ -8756,9 +8950,10 @@ type Category =
|
|
|
8756
8950
|
| "lint/nursery/noPlaywrightWaitForSelector"
|
|
8757
8951
|
| "lint/nursery/noPlaywrightWaitForTimeout"
|
|
8758
8952
|
| "lint/nursery/noProto"
|
|
8759
|
-
| "lint/nursery/noReactNativeLiteralColors"
|
|
8760
8953
|
| "lint/nursery/noReactNativeDeepImports"
|
|
8954
|
+
| "lint/nursery/noReactNativeLiteralColors"
|
|
8761
8955
|
| "lint/nursery/noReactNativeRawText"
|
|
8956
|
+
| "lint/nursery/noReactStringRefs"
|
|
8762
8957
|
| "lint/nursery/noRedundantDefaultExport"
|
|
8763
8958
|
| "lint/nursery/noReturnAssign"
|
|
8764
8959
|
| "lint/nursery/noRootType"
|
|
@@ -8778,9 +8973,11 @@ type Category =
|
|
|
8778
8973
|
| "lint/nursery/noUselessReturn"
|
|
8779
8974
|
| "lint/nursery/noUselessTypeConversion"
|
|
8780
8975
|
| "lint/nursery/noVueArrowFuncInWatch"
|
|
8976
|
+
| "lint/nursery/noVueImportCompilerMacros"
|
|
8781
8977
|
| "lint/nursery/noVueOptionsApi"
|
|
8782
8978
|
| "lint/nursery/noVueRefAsOperand"
|
|
8783
8979
|
| "lint/nursery/noVueVIfWithVFor"
|
|
8980
|
+
| "lint/nursery/noVueVOnNumberValues"
|
|
8784
8981
|
| "lint/nursery/useArraySome"
|
|
8785
8982
|
| "lint/nursery/useArraySortCompare"
|
|
8786
8983
|
| "lint/nursery/useAwaitThenable"
|
|
@@ -8793,8 +8990,8 @@ type Category =
|
|
|
8793
8990
|
| "lint/nursery/useConsistentTestIt"
|
|
8794
8991
|
| "lint/nursery/useDestructuring"
|
|
8795
8992
|
| "lint/nursery/useDisposables"
|
|
8796
|
-
| "lint/nursery/useDomQuerySelector"
|
|
8797
8993
|
| "lint/nursery/useDomNodeTextContent"
|
|
8994
|
+
| "lint/nursery/useDomQuerySelector"
|
|
8798
8995
|
| "lint/nursery/useErrorCause"
|
|
8799
8996
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8800
8997
|
| "lint/nursery/useExpect"
|
|
@@ -8811,6 +9008,7 @@ type Category =
|
|
|
8811
9008
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8812
9009
|
| "lint/nursery/useLoneAnonymousOperation"
|
|
8813
9010
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
9011
|
+
| "lint/nursery/useMathMinMax"
|
|
8814
9012
|
| "lint/nursery/useMaxParams"
|
|
8815
9013
|
| "lint/nursery/useNamedCaptureGroup"
|
|
8816
9014
|
| "lint/nursery/useNullishCoalescing"
|
|
@@ -8828,6 +9026,9 @@ type Category =
|
|
|
8828
9026
|
| "lint/nursery/useSortedClasses"
|
|
8829
9027
|
| "lint/nursery/useSpread"
|
|
8830
9028
|
| "lint/nursery/useStringStartsEndsWith"
|
|
9029
|
+
| "lint/nursery/useTestHooksInOrder"
|
|
9030
|
+
| "lint/nursery/useTestHooksOnTop"
|
|
9031
|
+
| "lint/nursery/useThisInClassMethods"
|
|
8831
9032
|
| "lint/nursery/useUnicodeRegex"
|
|
8832
9033
|
| "lint/nursery/useUniqueArgumentNames"
|
|
8833
9034
|
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
@@ -8841,6 +9042,7 @@ type Category =
|
|
|
8841
9042
|
| "lint/nursery/useVueDefineMacrosOrder"
|
|
8842
9043
|
| "lint/nursery/useVueHyphenatedAttributes"
|
|
8843
9044
|
| "lint/nursery/useVueMultiWordComponentNames"
|
|
9045
|
+
| "lint/nursery/useVueNextTickPromise"
|
|
8844
9046
|
| "lint/nursery/useVueVForKey"
|
|
8845
9047
|
| "lint/nursery/useVueValidTemplateRoot"
|
|
8846
9048
|
| "lint/nursery/useVueValidVBind"
|
|
@@ -9334,6 +9536,10 @@ type EmbeddingKind =
|
|
|
9334
9536
|
}
|
|
9335
9537
|
| {
|
|
9336
9538
|
Svelte: {
|
|
9539
|
+
/**
|
|
9540
|
+
* Whether this is a `{@const name = value}` block.
|
|
9541
|
+
*/
|
|
9542
|
+
is_const_block: boolean;
|
|
9337
9543
|
/**
|
|
9338
9544
|
* Whether this is the declaration of a function, usually declared in `#snippet`
|
|
9339
9545
|
*/
|
|
@@ -9342,6 +9548,13 @@ type EmbeddingKind =
|
|
|
9342
9548
|
* Where the bindings are defined
|
|
9343
9549
|
*/
|
|
9344
9550
|
is_source: boolean;
|
|
9551
|
+
/**
|
|
9552
|
+
* `kind` models whether the Svelte file is a component document or a
|
|
9553
|
+
source module. That distinction controls whether downstream code
|
|
9554
|
+
extracts `<script>` content or treats the file as a standalone JS/TS
|
|
9555
|
+
module, while `is_source` still tracks where bindings come from.
|
|
9556
|
+
*/
|
|
9557
|
+
kind: SvelteFileKind;
|
|
9345
9558
|
};
|
|
9346
9559
|
};
|
|
9347
9560
|
type Language = "javaScript" | { typeScript: { definition_file: boolean } };
|
|
@@ -9360,6 +9573,7 @@ type HtmlVariant =
|
|
|
9360
9573
|
| "Svelte";
|
|
9361
9574
|
type GritVariant = "Standard";
|
|
9362
9575
|
type MarkdownVariant = "Standard";
|
|
9576
|
+
type SvelteFileKind = "Component" | "SourceModule";
|
|
9363
9577
|
type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
|
|
9364
9578
|
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
9365
9579
|
interface OpenFileResult {
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|