@biomejs/wasm-web 2.5.12 → 2.5.14
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 +247 -5
- package/biome_wasm_bg.wasm +2 -2
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -2082,7 +2082,7 @@ interface Correctness {
|
|
|
2082
2082
|
*/
|
|
2083
2083
|
useSingleJsDocAsterisk?: UseSingleJsDocAsteriskConfiguration;
|
|
2084
2084
|
/**
|
|
2085
|
-
* Prevent the usage of static string literal id attribute on elements.
|
|
2085
|
+
* Prevent the usage of static string literal id attribute on elements outside SVG contexts.
|
|
2086
2086
|
See https://biomejs.dev/linter/rules/use-unique-element-ids
|
|
2087
2087
|
*/
|
|
2088
2088
|
useUniqueElementIds?: UseUniqueElementIdsConfiguration;
|
|
@@ -2263,6 +2263,11 @@ interface Nursery {
|
|
|
2263
2263
|
See https://biomejs.dev/linter/rules/no-js-restricted-properties
|
|
2264
2264
|
*/
|
|
2265
2265
|
noJsRestrictedProperties?: NoJsRestrictedPropertiesConfiguration;
|
|
2266
|
+
/**
|
|
2267
|
+
* Disallow unsafe JSON values that may cause interoperability issues.
|
|
2268
|
+
See https://biomejs.dev/linter/rules/no-json-unsafe-values
|
|
2269
|
+
*/
|
|
2270
|
+
noJsonUnsafeValues?: NoJsonUnsafeValuesConfiguration;
|
|
2266
2271
|
/**
|
|
2267
2272
|
* Flags text nodes with a trailing $ before a JSX expression.
|
|
2268
2273
|
See https://biomejs.dev/linter/rules/no-jsx-leaked-dollar
|
|
@@ -2298,6 +2303,11 @@ interface Nursery {
|
|
|
2298
2303
|
See https://biomejs.dev/linter/rules/no-non-scalable-viewport
|
|
2299
2304
|
*/
|
|
2300
2305
|
noNonScalableViewport?: NoNonScalableViewportConfiguration;
|
|
2306
|
+
/**
|
|
2307
|
+
* Disallow obsolete HTML elements.
|
|
2308
|
+
See https://biomejs.dev/linter/rules/no-obsolete-tags
|
|
2309
|
+
*/
|
|
2310
|
+
noObsoleteTags?: NoObsoleteTagsConfiguration;
|
|
2301
2311
|
/**
|
|
2302
2312
|
* Disallow usage of element handles (page.$() and page.$$()).
|
|
2303
2313
|
See https://biomejs.dev/linter/rules/no-playwright-element-handle
|
|
@@ -2373,6 +2383,21 @@ interface Nursery {
|
|
|
2373
2383
|
See https://biomejs.dev/linter/rules/no-restricted-dependencies
|
|
2374
2384
|
*/
|
|
2375
2385
|
noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
|
|
2386
|
+
/**
|
|
2387
|
+
* Disallow return statements in Promise.prototype.finally() callbacks.
|
|
2388
|
+
See https://biomejs.dev/linter/rules/no-return-in-finally
|
|
2389
|
+
*/
|
|
2390
|
+
noReturnInFinally?: NoReturnInFinallyConfiguration;
|
|
2391
|
+
/**
|
|
2392
|
+
* Disallow the use of Svelte's {@debug} tag.
|
|
2393
|
+
See https://biomejs.dev/linter/rules/no-svelte-at-debug-tags
|
|
2394
|
+
*/
|
|
2395
|
+
noSvelteAtDebugTags?: NoSvelteAtDebugTagsConfiguration;
|
|
2396
|
+
/**
|
|
2397
|
+
* Disallow the use of Svelte's {@html} tag.
|
|
2398
|
+
See https://biomejs.dev/linter/rules/no-svelte-at-html-tags
|
|
2399
|
+
*/
|
|
2400
|
+
noSvelteAtHtmlTags?: NoSvelteAtHtmlTagsConfiguration;
|
|
2376
2401
|
/**
|
|
2377
2402
|
* Disallow legacy Svelte {@const} tags.
|
|
2378
2403
|
See https://biomejs.dev/linter/rules/no-svelte-legacy-const
|
|
@@ -2418,6 +2443,11 @@ interface Nursery {
|
|
|
2418
2443
|
See https://biomejs.dev/linter/rules/no-unnecessary-template-expression
|
|
2419
2444
|
*/
|
|
2420
2445
|
noUnnecessaryTemplateExpression?: NoUnnecessaryTemplateExpressionConfiguration;
|
|
2446
|
+
/**
|
|
2447
|
+
* Disallow an unsafe combination of the sandbox attribute.
|
|
2448
|
+
See https://biomejs.dev/linter/rules/no-unsafe-iframe-sandbox
|
|
2449
|
+
*/
|
|
2450
|
+
noUnsafeIframeSandbox?: NoUnsafeIframeSandboxConfiguration;
|
|
2421
2451
|
/**
|
|
2422
2452
|
* Disallow + operations with operands that are known to be unsafe.
|
|
2423
2453
|
See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
|
|
@@ -2458,11 +2488,21 @@ interface Nursery {
|
|
|
2458
2488
|
See https://biomejs.dev/linter/rules/no-vue-ref-as-operand
|
|
2459
2489
|
*/
|
|
2460
2490
|
noVueRefAsOperand?: NoVueRefAsOperandConfiguration;
|
|
2491
|
+
/**
|
|
2492
|
+
* Disallow custom Vue directives that are not declared.
|
|
2493
|
+
See https://biomejs.dev/linter/rules/no-vue-undeclared-directives
|
|
2494
|
+
*/
|
|
2495
|
+
noVueUndeclaredDirectives?: NoVueUndeclaredDirectivesConfiguration;
|
|
2461
2496
|
/**
|
|
2462
2497
|
* Disallow deprecated number modifiers on Vue v-on directives.
|
|
2463
2498
|
See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
|
|
2464
2499
|
*/
|
|
2465
2500
|
noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
|
|
2501
|
+
/**
|
|
2502
|
+
* Disallow the bitwise XOR operator where exponentiation was likely intended.
|
|
2503
|
+
See https://biomejs.dev/linter/rules/no-xor-as-exponentiation
|
|
2504
|
+
*/
|
|
2505
|
+
noXorAsExponentiation?: NoXorAsExponentiationConfiguration;
|
|
2466
2506
|
/**
|
|
2467
2507
|
* Enables a particular rule preset
|
|
2468
2508
|
*/
|
|
@@ -2491,6 +2531,21 @@ interface Nursery {
|
|
|
2491
2531
|
See https://biomejs.dev/linter/rules/use-baseline
|
|
2492
2532
|
*/
|
|
2493
2533
|
useBaseline?: UseBaselineConfiguration;
|
|
2534
|
+
/**
|
|
2535
|
+
* Prefer modern DOM traversal APIs over positional indexes and chained walks.
|
|
2536
|
+
See https://biomejs.dev/linter/rules/use-better-dom-traversing
|
|
2537
|
+
*/
|
|
2538
|
+
useBetterDomTraversing?: UseBetterDomTraversingConfiguration;
|
|
2539
|
+
/**
|
|
2540
|
+
* Enforce consistent use of function declarations or expressions assigned to variables.
|
|
2541
|
+
See https://biomejs.dev/linter/rules/use-consistent-function-style
|
|
2542
|
+
*/
|
|
2543
|
+
useConsistentFunctionStyle?: UseConsistentFunctionStyleConfiguration;
|
|
2544
|
+
/**
|
|
2545
|
+
* Enforce JSON keys with consistent Unicode representation.
|
|
2546
|
+
See https://biomejs.dev/linter/rules/use-consistent-object-keys
|
|
2547
|
+
*/
|
|
2548
|
+
useConsistentObjectKeys?: UseConsistentObjectKeysConfiguration;
|
|
2494
2549
|
/**
|
|
2495
2550
|
* Enforce consistent use of it or test for test functions.
|
|
2496
2551
|
See https://biomejs.dev/linter/rules/use-consistent-test-it
|
|
@@ -2552,10 +2607,15 @@ interface Nursery {
|
|
|
2552
2607
|
*/
|
|
2553
2608
|
useImportsFirst?: UseImportsFirstConfiguration;
|
|
2554
2609
|
/**
|
|
2555
|
-
* Prefer Array#includes() over Array#indexOf()
|
|
2610
|
+
* Prefer Array#includes() over Array#indexOf(), Array#lastIndexOf(), and Array#some() when checking for existence or non-existence.
|
|
2556
2611
|
See https://biomejs.dev/linter/rules/use-includes
|
|
2557
2612
|
*/
|
|
2558
2613
|
useIncludes?: UseIncludesConfiguration;
|
|
2614
|
+
/**
|
|
2615
|
+
* Enforce style rules to be defined within a cascade layer.
|
|
2616
|
+
See https://biomejs.dev/linter/rules/use-layered-styles
|
|
2617
|
+
*/
|
|
2618
|
+
useLayeredStyles?: UseLayeredStylesConfiguration;
|
|
2559
2619
|
/**
|
|
2560
2620
|
* Prefer Math.min() and Math.max() over ternaries for simple comparisons.
|
|
2561
2621
|
See https://biomejs.dev/linter/rules/use-math-min-max
|
|
@@ -2676,11 +2736,21 @@ interface Nursery {
|
|
|
2676
2736
|
See https://biomejs.dev/linter/rules/use-unicode-regex
|
|
2677
2737
|
*/
|
|
2678
2738
|
useUnicodeRegex?: UseUnicodeRegexConfiguration;
|
|
2739
|
+
/**
|
|
2740
|
+
* Enforce valid titles for unit test cases and test suites.
|
|
2741
|
+
See https://biomejs.dev/linter/rules/use-valid-test-title
|
|
2742
|
+
*/
|
|
2743
|
+
useValidTestTitle?: UseValidTestTitleConfiguration;
|
|
2679
2744
|
/**
|
|
2680
2745
|
* Require var declarations to appear at the top of their containing scope.
|
|
2681
2746
|
See https://biomejs.dev/linter/rules/use-vars-on-top
|
|
2682
2747
|
*/
|
|
2683
2748
|
useVarsOnTop?: UseVarsOnTopConfiguration;
|
|
2749
|
+
/**
|
|
2750
|
+
* Enforce importing Vue's public entry point instead of internal Vue packages.
|
|
2751
|
+
See https://biomejs.dev/linter/rules/use-vue-base-import
|
|
2752
|
+
*/
|
|
2753
|
+
useVueBaseImport?: UseVueBaseImportConfiguration;
|
|
2684
2754
|
/**
|
|
2685
2755
|
* Enforce consistent defineProps declaration style.
|
|
2686
2756
|
See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
|
|
@@ -3242,7 +3312,7 @@ interface Style {
|
|
|
3242
3312
|
*/
|
|
3243
3313
|
useReactFunctionComponents?: UseReactFunctionComponentsConfiguration;
|
|
3244
3314
|
/**
|
|
3245
|
-
* Enforce marking
|
|
3315
|
+
* Enforce marking instance properties as readonly if they are never modified outside the constructor, and static properties as readonly if they are never reassigned.
|
|
3246
3316
|
See https://biomejs.dev/linter/rules/use-readonly-class-properties
|
|
3247
3317
|
*/
|
|
3248
3318
|
useReadonlyClassProperties?: UseReadonlyClassPropertiesConfiguration;
|
|
@@ -4590,6 +4660,9 @@ type NoInvalidPropertyInitValueConfiguration =
|
|
|
4590
4660
|
type NoJsRestrictedPropertiesConfiguration =
|
|
4591
4661
|
| RulePlainConfiguration
|
|
4592
4662
|
| RuleWithNoJsRestrictedPropertiesOptions;
|
|
4663
|
+
type NoJsonUnsafeValuesConfiguration =
|
|
4664
|
+
| RulePlainConfiguration
|
|
4665
|
+
| RuleWithNoJsonUnsafeValuesOptions;
|
|
4593
4666
|
type NoJsxLeakedDollarConfiguration =
|
|
4594
4667
|
| RulePlainConfiguration
|
|
4595
4668
|
| RuleWithNoJsxLeakedDollarOptions;
|
|
@@ -4611,6 +4684,9 @@ type NoNegationInEqualityCheckConfiguration =
|
|
|
4611
4684
|
type NoNonScalableViewportConfiguration =
|
|
4612
4685
|
| RulePlainConfiguration
|
|
4613
4686
|
| RuleWithNoNonScalableViewportOptions;
|
|
4687
|
+
type NoObsoleteTagsConfiguration =
|
|
4688
|
+
| RulePlainConfiguration
|
|
4689
|
+
| RuleWithNoObsoleteTagsOptions;
|
|
4614
4690
|
type NoPlaywrightElementHandleConfiguration =
|
|
4615
4691
|
| RulePlainConfiguration
|
|
4616
4692
|
| RuleWithNoPlaywrightElementHandleOptions;
|
|
@@ -4656,6 +4732,15 @@ type NoReactStringRefsConfiguration =
|
|
|
4656
4732
|
type NoRestrictedDependenciesConfiguration =
|
|
4657
4733
|
| RulePlainConfiguration
|
|
4658
4734
|
| RuleWithNoRestrictedDependenciesOptions;
|
|
4735
|
+
type NoReturnInFinallyConfiguration =
|
|
4736
|
+
| RulePlainConfiguration
|
|
4737
|
+
| RuleWithNoReturnInFinallyOptions;
|
|
4738
|
+
type NoSvelteAtDebugTagsConfiguration =
|
|
4739
|
+
| RulePlainConfiguration
|
|
4740
|
+
| RuleWithNoSvelteAtDebugTagsOptions;
|
|
4741
|
+
type NoSvelteAtHtmlTagsConfiguration =
|
|
4742
|
+
| RulePlainConfiguration
|
|
4743
|
+
| RuleWithNoSvelteAtHtmlTagsOptions;
|
|
4659
4744
|
type NoSvelteLegacyConstConfiguration =
|
|
4660
4745
|
| RulePlainConfiguration
|
|
4661
4746
|
| RuleWithNoSvelteLegacyConstOptions;
|
|
@@ -4683,6 +4768,9 @@ type NoUnmodifiedLoopConditionConfiguration =
|
|
|
4683
4768
|
type NoUnnecessaryTemplateExpressionConfiguration =
|
|
4684
4769
|
| RulePlainConfiguration
|
|
4685
4770
|
| RuleWithNoUnnecessaryTemplateExpressionOptions;
|
|
4771
|
+
type NoUnsafeIframeSandboxConfiguration =
|
|
4772
|
+
| RulePlainConfiguration
|
|
4773
|
+
| RuleWithNoUnsafeIframeSandboxOptions;
|
|
4686
4774
|
type NoUnsafePlusOperandsConfiguration =
|
|
4687
4775
|
| RulePlainConfiguration
|
|
4688
4776
|
| RuleWithNoUnsafePlusOperandsOptions;
|
|
@@ -4707,9 +4795,15 @@ type NoVueImportCompilerMacrosConfiguration =
|
|
|
4707
4795
|
type NoVueRefAsOperandConfiguration =
|
|
4708
4796
|
| RulePlainConfiguration
|
|
4709
4797
|
| RuleWithNoVueRefAsOperandOptions;
|
|
4798
|
+
type NoVueUndeclaredDirectivesConfiguration =
|
|
4799
|
+
| RulePlainConfiguration
|
|
4800
|
+
| RuleWithNoVueUndeclaredDirectivesOptions;
|
|
4710
4801
|
type NoVueVOnNumberValuesConfiguration =
|
|
4711
4802
|
| RulePlainConfiguration
|
|
4712
4803
|
| RuleWithNoVueVOnNumberValuesOptions;
|
|
4804
|
+
type NoXorAsExponentiationConfiguration =
|
|
4805
|
+
| RulePlainConfiguration
|
|
4806
|
+
| RuleWithNoXorAsExponentiationOptions;
|
|
4713
4807
|
type UseArraySomeConfiguration =
|
|
4714
4808
|
| RulePlainConfiguration
|
|
4715
4809
|
| RuleWithUseArraySomeOptions;
|
|
@@ -4722,6 +4816,15 @@ type UseAwaitThenableConfiguration =
|
|
|
4722
4816
|
type UseBaselineConfiguration =
|
|
4723
4817
|
| RulePlainConfiguration
|
|
4724
4818
|
| RuleWithUseBaselineOptions;
|
|
4819
|
+
type UseBetterDomTraversingConfiguration =
|
|
4820
|
+
| RulePlainConfiguration
|
|
4821
|
+
| RuleWithUseBetterDomTraversingOptions;
|
|
4822
|
+
type UseConsistentFunctionStyleConfiguration =
|
|
4823
|
+
| RulePlainConfiguration
|
|
4824
|
+
| RuleWithUseConsistentFunctionStyleOptions;
|
|
4825
|
+
type UseConsistentObjectKeysConfiguration =
|
|
4826
|
+
| RulePlainConfiguration
|
|
4827
|
+
| RuleWithUseConsistentObjectKeysOptions;
|
|
4725
4828
|
type UseConsistentTestItConfiguration =
|
|
4726
4829
|
| RulePlainConfiguration
|
|
4727
4830
|
| RuleWithUseConsistentTestItOptions;
|
|
@@ -4759,6 +4862,9 @@ type UseImportsFirstConfiguration =
|
|
|
4759
4862
|
type UseIncludesConfiguration =
|
|
4760
4863
|
| RulePlainConfiguration
|
|
4761
4864
|
| RuleWithUseIncludesOptions;
|
|
4865
|
+
type UseLayeredStylesConfiguration =
|
|
4866
|
+
| RulePlainConfiguration
|
|
4867
|
+
| RuleWithUseLayeredStylesOptions;
|
|
4762
4868
|
type UseMathMinMaxConfiguration =
|
|
4763
4869
|
| RulePlainConfiguration
|
|
4764
4870
|
| RuleWithUseMathMinMaxOptions;
|
|
@@ -4831,9 +4937,15 @@ type UseThisInClassMethodsConfiguration =
|
|
|
4831
4937
|
type UseUnicodeRegexConfiguration =
|
|
4832
4938
|
| RulePlainConfiguration
|
|
4833
4939
|
| RuleWithUseUnicodeRegexOptions;
|
|
4940
|
+
type UseValidTestTitleConfiguration =
|
|
4941
|
+
| RulePlainConfiguration
|
|
4942
|
+
| RuleWithUseValidTestTitleOptions;
|
|
4834
4943
|
type UseVarsOnTopConfiguration =
|
|
4835
4944
|
| RulePlainConfiguration
|
|
4836
4945
|
| RuleWithUseVarsOnTopOptions;
|
|
4946
|
+
type UseVueBaseImportConfiguration =
|
|
4947
|
+
| RulePlainConfiguration
|
|
4948
|
+
| RuleWithUseVueBaseImportOptions;
|
|
4837
4949
|
type UseVueConsistentDefinePropsDeclarationConfiguration =
|
|
4838
4950
|
| RulePlainConfiguration
|
|
4839
4951
|
| RuleWithUseVueConsistentDefinePropsDeclarationOptions;
|
|
@@ -6487,6 +6599,10 @@ interface RuleWithNoJsRestrictedPropertiesOptions {
|
|
|
6487
6599
|
level: RulePlainConfiguration;
|
|
6488
6600
|
options?: NoJsRestrictedPropertiesOptions;
|
|
6489
6601
|
}
|
|
6602
|
+
interface RuleWithNoJsonUnsafeValuesOptions {
|
|
6603
|
+
level: RulePlainConfiguration;
|
|
6604
|
+
options?: NoJsonUnsafeValuesOptions;
|
|
6605
|
+
}
|
|
6490
6606
|
interface RuleWithNoJsxLeakedDollarOptions {
|
|
6491
6607
|
fix?: FixKind;
|
|
6492
6608
|
level: RulePlainConfiguration;
|
|
@@ -6518,6 +6634,10 @@ interface RuleWithNoNonScalableViewportOptions {
|
|
|
6518
6634
|
level: RulePlainConfiguration;
|
|
6519
6635
|
options?: NoNonScalableViewportOptions;
|
|
6520
6636
|
}
|
|
6637
|
+
interface RuleWithNoObsoleteTagsOptions {
|
|
6638
|
+
level: RulePlainConfiguration;
|
|
6639
|
+
options?: NoObsoleteTagsOptions;
|
|
6640
|
+
}
|
|
6521
6641
|
interface RuleWithNoPlaywrightElementHandleOptions {
|
|
6522
6642
|
fix?: FixKind;
|
|
6523
6643
|
level: RulePlainConfiguration;
|
|
@@ -6582,6 +6702,19 @@ interface RuleWithNoRestrictedDependenciesOptions {
|
|
|
6582
6702
|
level: RulePlainConfiguration;
|
|
6583
6703
|
options?: NoRestrictedDependenciesOptions;
|
|
6584
6704
|
}
|
|
6705
|
+
interface RuleWithNoReturnInFinallyOptions {
|
|
6706
|
+
level: RulePlainConfiguration;
|
|
6707
|
+
options?: NoReturnInFinallyOptions;
|
|
6708
|
+
}
|
|
6709
|
+
interface RuleWithNoSvelteAtDebugTagsOptions {
|
|
6710
|
+
fix?: FixKind;
|
|
6711
|
+
level: RulePlainConfiguration;
|
|
6712
|
+
options?: NoSvelteAtDebugTagsOptions;
|
|
6713
|
+
}
|
|
6714
|
+
interface RuleWithNoSvelteAtHtmlTagsOptions {
|
|
6715
|
+
level: RulePlainConfiguration;
|
|
6716
|
+
options?: NoSvelteAtHtmlTagsOptions;
|
|
6717
|
+
}
|
|
6585
6718
|
interface RuleWithNoSvelteLegacyConstOptions {
|
|
6586
6719
|
level: RulePlainConfiguration;
|
|
6587
6720
|
options?: NoSvelteLegacyConstOptions;
|
|
@@ -6620,6 +6753,10 @@ interface RuleWithNoUnnecessaryTemplateExpressionOptions {
|
|
|
6620
6753
|
level: RulePlainConfiguration;
|
|
6621
6754
|
options?: NoUnnecessaryTemplateExpressionOptions;
|
|
6622
6755
|
}
|
|
6756
|
+
interface RuleWithNoUnsafeIframeSandboxOptions {
|
|
6757
|
+
level: RulePlainConfiguration;
|
|
6758
|
+
options?: NoUnsafeIframeSandboxOptions;
|
|
6759
|
+
}
|
|
6623
6760
|
interface RuleWithNoUnsafePlusOperandsOptions {
|
|
6624
6761
|
level: RulePlainConfiguration;
|
|
6625
6762
|
options?: NoUnsafePlusOperandsOptions;
|
|
@@ -6653,10 +6790,19 @@ interface RuleWithNoVueRefAsOperandOptions {
|
|
|
6653
6790
|
level: RulePlainConfiguration;
|
|
6654
6791
|
options?: NoVueRefAsOperandOptions;
|
|
6655
6792
|
}
|
|
6793
|
+
interface RuleWithNoVueUndeclaredDirectivesOptions {
|
|
6794
|
+
level: RulePlainConfiguration;
|
|
6795
|
+
options?: NoVueUndeclaredDirectivesOptions;
|
|
6796
|
+
}
|
|
6656
6797
|
interface RuleWithNoVueVOnNumberValuesOptions {
|
|
6657
6798
|
level: RulePlainConfiguration;
|
|
6658
6799
|
options?: NoVueVOnNumberValuesOptions;
|
|
6659
6800
|
}
|
|
6801
|
+
interface RuleWithNoXorAsExponentiationOptions {
|
|
6802
|
+
fix?: FixKind;
|
|
6803
|
+
level: RulePlainConfiguration;
|
|
6804
|
+
options?: NoXorAsExponentiationOptions;
|
|
6805
|
+
}
|
|
6660
6806
|
interface RuleWithUseArraySomeOptions {
|
|
6661
6807
|
fix?: FixKind;
|
|
6662
6808
|
level: RulePlainConfiguration;
|
|
@@ -6674,6 +6820,20 @@ interface RuleWithUseBaselineOptions {
|
|
|
6674
6820
|
level: RulePlainConfiguration;
|
|
6675
6821
|
options?: UseBaselineOptions;
|
|
6676
6822
|
}
|
|
6823
|
+
interface RuleWithUseBetterDomTraversingOptions {
|
|
6824
|
+
fix?: FixKind;
|
|
6825
|
+
level: RulePlainConfiguration;
|
|
6826
|
+
options?: UseBetterDomTraversingOptions;
|
|
6827
|
+
}
|
|
6828
|
+
interface RuleWithUseConsistentFunctionStyleOptions {
|
|
6829
|
+
level: RulePlainConfiguration;
|
|
6830
|
+
options?: UseConsistentFunctionStyleOptions;
|
|
6831
|
+
}
|
|
6832
|
+
interface RuleWithUseConsistentObjectKeysOptions {
|
|
6833
|
+
fix?: FixKind;
|
|
6834
|
+
level: RulePlainConfiguration;
|
|
6835
|
+
options?: UseConsistentObjectKeysOptions;
|
|
6836
|
+
}
|
|
6677
6837
|
interface RuleWithUseConsistentTestItOptions {
|
|
6678
6838
|
fix?: FixKind;
|
|
6679
6839
|
level: RulePlainConfiguration;
|
|
@@ -6733,6 +6893,10 @@ interface RuleWithUseIncludesOptions {
|
|
|
6733
6893
|
level: RulePlainConfiguration;
|
|
6734
6894
|
options?: UseIncludesOptions;
|
|
6735
6895
|
}
|
|
6896
|
+
interface RuleWithUseLayeredStylesOptions {
|
|
6897
|
+
level: RulePlainConfiguration;
|
|
6898
|
+
options?: UseLayeredStylesOptions;
|
|
6899
|
+
}
|
|
6736
6900
|
interface RuleWithUseMathMinMaxOptions {
|
|
6737
6901
|
fix?: FixKind;
|
|
6738
6902
|
level: RulePlainConfiguration;
|
|
@@ -6841,10 +7005,20 @@ interface RuleWithUseUnicodeRegexOptions {
|
|
|
6841
7005
|
level: RulePlainConfiguration;
|
|
6842
7006
|
options?: UseUnicodeRegexOptions;
|
|
6843
7007
|
}
|
|
7008
|
+
interface RuleWithUseValidTestTitleOptions {
|
|
7009
|
+
fix?: FixKind;
|
|
7010
|
+
level: RulePlainConfiguration;
|
|
7011
|
+
options?: UseValidTestTitleOptions;
|
|
7012
|
+
}
|
|
6844
7013
|
interface RuleWithUseVarsOnTopOptions {
|
|
6845
7014
|
level: RulePlainConfiguration;
|
|
6846
7015
|
options?: UseVarsOnTopOptions;
|
|
6847
7016
|
}
|
|
7017
|
+
interface RuleWithUseVueBaseImportOptions {
|
|
7018
|
+
fix?: FixKind;
|
|
7019
|
+
level: RulePlainConfiguration;
|
|
7020
|
+
options?: UseVueBaseImportOptions;
|
|
7021
|
+
}
|
|
6848
7022
|
interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
|
|
6849
7023
|
level: RulePlainConfiguration;
|
|
6850
7024
|
options?: UseVueConsistentDefinePropsDeclarationOptions;
|
|
@@ -8344,6 +8518,7 @@ interface NoJsRestrictedPropertiesOptions {
|
|
|
8344
8518
|
*/
|
|
8345
8519
|
entries?: RestrictedPropertyEntry[];
|
|
8346
8520
|
}
|
|
8521
|
+
type NoJsonUnsafeValuesOptions = {};
|
|
8347
8522
|
type NoJsxLeakedDollarOptions = {};
|
|
8348
8523
|
type NoJsxNamespaceOptions = {};
|
|
8349
8524
|
type NoLoopFuncOptions = {};
|
|
@@ -8351,6 +8526,7 @@ type NoMisleadingReturnTypeOptions = {};
|
|
|
8351
8526
|
type NoMisusedPromisesOptions = {};
|
|
8352
8527
|
type NoNegationInEqualityCheckOptions = {};
|
|
8353
8528
|
type NoNonScalableViewportOptions = {};
|
|
8529
|
+
type NoObsoleteTagsOptions = {};
|
|
8354
8530
|
type NoPlaywrightElementHandleOptions = {};
|
|
8355
8531
|
type NoPlaywrightEvalOptions = {};
|
|
8356
8532
|
type NoPlaywrightForceOptionOptions = {};
|
|
@@ -8371,6 +8547,9 @@ interface NoReactNativeRawTextOptions {
|
|
|
8371
8547
|
}
|
|
8372
8548
|
type NoReactStringRefsOptions = {};
|
|
8373
8549
|
type NoRestrictedDependenciesOptions = {};
|
|
8550
|
+
type NoReturnInFinallyOptions = {};
|
|
8551
|
+
type NoSvelteAtDebugTagsOptions = {};
|
|
8552
|
+
type NoSvelteAtHtmlTagsOptions = {};
|
|
8374
8553
|
type NoSvelteLegacyConstOptions = {};
|
|
8375
8554
|
interface NoSvelteUnnecessaryStateWrapOptions {
|
|
8376
8555
|
/**
|
|
@@ -8398,6 +8577,7 @@ type NoUndeclaredClassesOptions = {};
|
|
|
8398
8577
|
type NoUndeclaredCustomPropertiesOptions = {};
|
|
8399
8578
|
type NoUnmodifiedLoopConditionOptions = {};
|
|
8400
8579
|
type NoUnnecessaryTemplateExpressionOptions = {};
|
|
8580
|
+
type NoUnsafeIframeSandboxOptions = {};
|
|
8401
8581
|
type NoUnsafePlusOperandsOptions = {};
|
|
8402
8582
|
type NoUnsafeTypeAssertionOptions = {};
|
|
8403
8583
|
interface NoUntrustedLicensesOptions {
|
|
@@ -8439,7 +8619,16 @@ type NoUselessTypeConversionOptions = {};
|
|
|
8439
8619
|
type NoVueDeprecatedScopedSlotsOptions = {};
|
|
8440
8620
|
type NoVueImportCompilerMacrosOptions = {};
|
|
8441
8621
|
type NoVueRefAsOperandOptions = {};
|
|
8622
|
+
interface NoVueUndeclaredDirectivesOptions {
|
|
8623
|
+
/**
|
|
8624
|
+
* Names of directives registered globally with `app.directive(...)`,
|
|
8625
|
+
written in kebab-case without the `v-` prefix, such as
|
|
8626
|
+
`click-outside` for `v-click-outside`.
|
|
8627
|
+
*/
|
|
8628
|
+
globals?: string[];
|
|
8629
|
+
}
|
|
8442
8630
|
type NoVueVOnNumberValuesOptions = {};
|
|
8631
|
+
type NoXorAsExponentiationOptions = {};
|
|
8443
8632
|
type UseArraySomeOptions = {};
|
|
8444
8633
|
type UseAstroClientOnlyDirectiveValueOptions = {};
|
|
8445
8634
|
type UseAwaitThenableOptions = {};
|
|
@@ -8473,6 +8662,23 @@ interface UseBaselineOptions {
|
|
|
8473
8662
|
*/
|
|
8474
8663
|
available?: AvailabilityTarget;
|
|
8475
8664
|
}
|
|
8665
|
+
type UseBetterDomTraversingOptions = {};
|
|
8666
|
+
interface UseConsistentFunctionStyleOptions {
|
|
8667
|
+
/**
|
|
8668
|
+
* Allow arrow functions when declarations are required. Default: `false`.
|
|
8669
|
+
*/
|
|
8670
|
+
allowArrowFunctions?: boolean;
|
|
8671
|
+
/**
|
|
8672
|
+
* The function style to enforce. Default: `"expression"`.
|
|
8673
|
+
*/
|
|
8674
|
+
style?: FunctionStyle;
|
|
8675
|
+
}
|
|
8676
|
+
interface UseConsistentObjectKeysOptions {
|
|
8677
|
+
/**
|
|
8678
|
+
* The Unicode normalization form that every object key must use so equivalent characters share one encoding. Defaults to `NFC`.
|
|
8679
|
+
*/
|
|
8680
|
+
form?: NormalizationForm;
|
|
8681
|
+
}
|
|
8476
8682
|
interface UseConsistentTestItOptions {
|
|
8477
8683
|
/**
|
|
8478
8684
|
* The function to use for top-level tests (outside describe blocks).
|
|
@@ -8496,7 +8702,13 @@ interface UseDomQuerySelectorOptions {
|
|
|
8496
8702
|
*/
|
|
8497
8703
|
ignore?: string[];
|
|
8498
8704
|
}
|
|
8499
|
-
|
|
8705
|
+
interface UseExhaustiveSwitchCasesOptions {
|
|
8706
|
+
/**
|
|
8707
|
+
* Require a `case` for each value in the union, even when the switch has a `default` clause.
|
|
8708
|
+
Default: `false`.
|
|
8709
|
+
*/
|
|
8710
|
+
requireExplicitCase?: boolean;
|
|
8711
|
+
}
|
|
8500
8712
|
type UseExpectOptions = {};
|
|
8501
8713
|
interface UseExplicitReturnTypeOptions {
|
|
8502
8714
|
/**
|
|
@@ -8518,6 +8730,12 @@ type UseFlatMathMinMaxOptions = {};
|
|
|
8518
8730
|
type UseIframeSandboxOptions = {};
|
|
8519
8731
|
type UseImportsFirstOptions = {};
|
|
8520
8732
|
type UseIncludesOptions = {};
|
|
8733
|
+
interface UseLayeredStylesOptions {
|
|
8734
|
+
/**
|
|
8735
|
+
* Require `@import` rules to have a cascade layer. Defaults to `true`.
|
|
8736
|
+
*/
|
|
8737
|
+
requireImportLayers?: boolean;
|
|
8738
|
+
}
|
|
8521
8739
|
type UseMathMinMaxOptions = {};
|
|
8522
8740
|
type UseModernMathApisOptions = {};
|
|
8523
8741
|
type UseNamedCaptureGroupOptions = {};
|
|
@@ -8618,7 +8836,14 @@ interface UseThisInClassMethodsOptions {
|
|
|
8618
8836
|
ignoreOverrideMethods?: boolean;
|
|
8619
8837
|
}
|
|
8620
8838
|
type UseUnicodeRegexOptions = {};
|
|
8839
|
+
interface UseValidTestTitleOptions {
|
|
8840
|
+
/**
|
|
8841
|
+
* A list of words that are disallowed in test titles.
|
|
8842
|
+
*/
|
|
8843
|
+
disallowedWords?: string[];
|
|
8844
|
+
}
|
|
8621
8845
|
type UseVarsOnTopOptions = {};
|
|
8846
|
+
type UseVueBaseImportOptions = {};
|
|
8622
8847
|
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
8623
8848
|
style?: DeclarationStyle;
|
|
8624
8849
|
}
|
|
@@ -8695,7 +8920,7 @@ interface NoIncrementDecrementOptions {
|
|
|
8695
8920
|
type NoInferrableTypesOptions = {};
|
|
8696
8921
|
interface NoJsxLiteralsOptions {
|
|
8697
8922
|
/**
|
|
8698
|
-
* An array of strings that won't trigger the rule.
|
|
8923
|
+
* An array of strings that won't trigger the rule. Surrounding whitespace is ignored.
|
|
8699
8924
|
*/
|
|
8700
8925
|
allowedStrings?: string[];
|
|
8701
8926
|
/**
|
|
@@ -9297,6 +9522,8 @@ interface RestrictedPropertyEntry {
|
|
|
9297
9522
|
property?: string;
|
|
9298
9523
|
}
|
|
9299
9524
|
type AvailabilityTarget = AvailabilityNamed | number;
|
|
9525
|
+
type FunctionStyle = "expression" | "declaration";
|
|
9526
|
+
type NormalizationForm = "NFC" | "NFD" | "NFKC" | "NFKD";
|
|
9300
9527
|
type TestFunctionKind = "it" | "test";
|
|
9301
9528
|
type IgnorePrimitives =
|
|
9302
9529
|
| boolean
|
|
@@ -9742,6 +9969,7 @@ type Category =
|
|
|
9742
9969
|
| "lint/nursery/noMisusedPromises"
|
|
9743
9970
|
| "lint/nursery/noNegationInEqualityCheck"
|
|
9744
9971
|
| "lint/nursery/noNonScalableViewport"
|
|
9972
|
+
| "lint/nursery/noObsoleteTags"
|
|
9745
9973
|
| "lint/nursery/noPlaywrightElementHandle"
|
|
9746
9974
|
| "lint/nursery/noPlaywrightEval"
|
|
9747
9975
|
| "lint/nursery/noPlaywrightForceOption"
|
|
@@ -9757,6 +9985,9 @@ type Category =
|
|
|
9757
9985
|
| "lint/nursery/noReactNativeRawText"
|
|
9758
9986
|
| "lint/nursery/noReactStringRefs"
|
|
9759
9987
|
| "lint/nursery/noRestrictedDependencies"
|
|
9988
|
+
| "lint/nursery/noReturnInFinally"
|
|
9989
|
+
| "lint/nursery/noSvelteAtDebugTags"
|
|
9990
|
+
| "lint/nursery/noSvelteAtHtmlTags"
|
|
9760
9991
|
| "lint/nursery/noSvelteLegacyConst"
|
|
9761
9992
|
| "lint/nursery/noSvelteUnnecessaryStateWrap"
|
|
9762
9993
|
| "lint/nursery/noTailwindArbitraryValue"
|
|
@@ -9766,8 +9997,11 @@ type Category =
|
|
|
9766
9997
|
| "lint/nursery/noUndeclaredCustomProperties"
|
|
9767
9998
|
| "lint/nursery/noUnmodifiedLoopCondition"
|
|
9768
9999
|
| "lint/nursery/noUnnecessaryTemplateExpression"
|
|
10000
|
+
| "lint/nursery/noUnsafeIframeSandbox"
|
|
10001
|
+
| "lint/nursery/useConsistentObjectKeys"
|
|
9769
10002
|
| "lint/nursery/noUnsafePlusOperands"
|
|
9770
10003
|
| "lint/nursery/noUnsafeTypeAssertion"
|
|
10004
|
+
| "lint/nursery/noJsonUnsafeValues"
|
|
9771
10005
|
| "lint/nursery/noUntrustedLicenses"
|
|
9772
10006
|
| "lint/nursery/noUnusedClasses"
|
|
9773
10007
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
@@ -9776,12 +10010,16 @@ type Category =
|
|
|
9776
10010
|
| "lint/nursery/noVueDeprecatedScopedSlots"
|
|
9777
10011
|
| "lint/nursery/noVueImportCompilerMacros"
|
|
9778
10012
|
| "lint/nursery/noVueRefAsOperand"
|
|
10013
|
+
| "lint/nursery/noVueUndeclaredDirectives"
|
|
9779
10014
|
| "lint/nursery/noVueVOnNumberValues"
|
|
10015
|
+
| "lint/nursery/noXorAsExponentiation"
|
|
9780
10016
|
| "lint/nursery/useArraySome"
|
|
9781
10017
|
| "lint/nursery/useAstroClientOnlyDirectiveValue"
|
|
9782
10018
|
| "lint/nursery/useAwaitThenable"
|
|
9783
10019
|
| "lint/nursery/useBaseline"
|
|
10020
|
+
| "lint/nursery/useBetterDomTraversing"
|
|
9784
10021
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
10022
|
+
| "lint/nursery/useConsistentFunctionStyle"
|
|
9785
10023
|
| "lint/nursery/useConsistentHeadingLevel"
|
|
9786
10024
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
9787
10025
|
| "lint/nursery/useConsistentTestIt"
|
|
@@ -9794,6 +10032,7 @@ type Category =
|
|
|
9794
10032
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
9795
10033
|
| "lint/nursery/useExplicitReturnType"
|
|
9796
10034
|
| "lint/nursery/useExplicitType"
|
|
10035
|
+
| "lint/nursery/useFencedCodeLanguage"
|
|
9797
10036
|
| "lint/nursery/useFind"
|
|
9798
10037
|
| "lint/nursery/useFlatMathMinMax"
|
|
9799
10038
|
| "lint/nursery/useGlobalThis"
|
|
@@ -9802,6 +10041,7 @@ type Category =
|
|
|
9802
10041
|
| "lint/nursery/useImportsFirst"
|
|
9803
10042
|
| "lint/nursery/useIncludes"
|
|
9804
10043
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
10044
|
+
| "lint/nursery/useLayeredStyles"
|
|
9805
10045
|
| "lint/nursery/useMathMinMax"
|
|
9806
10046
|
| "lint/nursery/useMaxParams"
|
|
9807
10047
|
| "lint/nursery/useModernMathApis"
|
|
@@ -9836,7 +10076,9 @@ type Category =
|
|
|
9836
10076
|
| "lint/nursery/useUniqueGraphqlOperationName"
|
|
9837
10077
|
| "lint/nursery/useUniqueInputFieldNames"
|
|
9838
10078
|
| "lint/nursery/useUniqueVariableNames"
|
|
10079
|
+
| "lint/nursery/useValidTestTitle"
|
|
9839
10080
|
| "lint/nursery/useVarsOnTop"
|
|
10081
|
+
| "lint/nursery/useVueBaseImport"
|
|
9840
10082
|
| "lint/nursery/useVueConsistentDefinePropsDeclaration"
|
|
9841
10083
|
| "lint/nursery/useVueNextTickPromise"
|
|
9842
10084
|
| "lint/nursery/useVueValidVFor"
|
package/biome_wasm_bg.wasm
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/biome_wasm_bg.wasm
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 45630618 bytes
|
|
4
|
+
sha256: 898927f0cd131b7679810555c75a4814eb8fe85d067fbf40ac24d8fa3f306554
|