@biomejs/wasm-web 2.5.11 → 2.5.13

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 CHANGED
@@ -877,7 +877,23 @@ interface JsonParserConfiguration {
877
877
  */
878
878
  allowTrailingCommas?: Bool;
879
879
  }
880
- type RuleDomains = { [K in RuleDomain]?: RuleDomainValue };
880
+ interface RuleDomains {
881
+ astro?: RuleDomainValue;
882
+ drizzle?: RuleDomainValue;
883
+ next?: RuleDomainValue;
884
+ playwright?: RuleDomainValue;
885
+ project?: RuleDomainValue;
886
+ qwik?: RuleDomainValue;
887
+ react?: RuleDomainValue;
888
+ reactNative?: RuleDomainValue;
889
+ solid?: RuleDomainValue;
890
+ svelte?: RuleDomainValue;
891
+ tailwind?: RuleDomainValue;
892
+ test?: RuleDomainValue;
893
+ turborepo?: RuleDomainValue;
894
+ types?: RuleDomainValue;
895
+ vue?: RuleDomainValue;
896
+ }
881
897
  interface Rules {
882
898
  a11y?: SeverityOrA11y;
883
899
  complexity?: SeverityOrComplexity;
@@ -1020,22 +1036,6 @@ type QuoteProperties = "asNeeded" | "preserve";
1020
1036
  type Semicolons = "always" | "asNeeded";
1021
1037
  type JsTrailingCommas = "all" | "es5" | "none";
1022
1038
  type JsonTrailingCommas = "none" | "all";
1023
- type RuleDomain =
1024
- | "astro"
1025
- | "drizzle"
1026
- | "react"
1027
- | "reactNative"
1028
- | "test"
1029
- | "solid"
1030
- | "next"
1031
- | "qwik"
1032
- | "svelte"
1033
- | "vue"
1034
- | "project"
1035
- | "tailwind"
1036
- | "turborepo"
1037
- | "playwright"
1038
- | "types";
1039
1039
  type RuleDomainValue = "all" | "none" | "recommended";
1040
1040
  type SeverityOrA11y = GroupPlainConfiguration | A11y;
1041
1041
  type SeverityOrComplexity = GroupPlainConfiguration | Complexity;
@@ -2173,6 +2173,11 @@ interface Nursery {
2173
2173
  See https://biomejs.dev/linter/rules/no-base-to-string
2174
2174
  */
2175
2175
  noBaseToString?: NoBaseToStringConfiguration;
2176
+ /**
2177
+ * Forbid the use of Bun builtin modules.
2178
+ See https://biomejs.dev/linter/rules/no-bun-modules
2179
+ */
2180
+ noBunModules?: NoBunModulesConfiguration;
2176
2181
  /**
2177
2182
  * Disallows defining React components or custom hooks inside other functions.
2178
2183
  See https://biomejs.dev/linter/rules/no-component-hook-factories
@@ -2243,6 +2248,11 @@ interface Nursery {
2243
2248
  See https://biomejs.dev/linter/rules/no-inline-styles
2244
2249
  */
2245
2250
  noInlineStyles?: NoInlineStylesConfiguration;
2251
+ /**
2252
+ * Disallow invalid accept values on file inputs.
2253
+ See https://biomejs.dev/linter/rules/no-invalid-file-input-accept
2254
+ */
2255
+ noInvalidFileInputAccept?: NoInvalidFileInputAcceptConfiguration;
2246
2256
  /**
2247
2257
  * Checks that the initial-value of an @property rule follows the value format declared by its syntax.
2248
2258
  See https://biomejs.dev/linter/rules/no-invalid-property-init-value
@@ -2363,6 +2373,11 @@ interface Nursery {
2363
2373
  See https://biomejs.dev/linter/rules/no-restricted-dependencies
2364
2374
  */
2365
2375
  noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
2376
+ /**
2377
+ * Disallow the use of Svelte's {@html} tag.
2378
+ See https://biomejs.dev/linter/rules/no-svelte-at-html-tags
2379
+ */
2380
+ noSvelteAtHtmlTags?: NoSvelteAtHtmlTagsConfiguration;
2366
2381
  /**
2367
2382
  * Disallow legacy Svelte {@const} tags.
2368
2383
  See https://biomejs.dev/linter/rules/no-svelte-legacy-const
@@ -2378,6 +2393,11 @@ interface Nursery {
2378
2393
  See https://biomejs.dev/linter/rules/no-tailwind-arbitrary-value
2379
2394
  */
2380
2395
  noTailwindArbitraryValue?: NoTailwindArbitraryValueConfiguration;
2396
+ /**
2397
+ * Disallow this outside of classes.
2398
+ See https://biomejs.dev/linter/rules/no-this-outside-of-class
2399
+ */
2400
+ noThisOutsideOfClass?: NoThisOutsideOfClassConfiguration;
2381
2401
  /**
2382
2402
  * Require the JSON top-level value to be an array or object.
2383
2403
  See https://biomejs.dev/linter/rules/no-top-level-literals
@@ -2393,11 +2413,21 @@ interface Nursery {
2393
2413
  See https://biomejs.dev/linter/rules/no-undeclared-custom-properties
2394
2414
  */
2395
2415
  noUndeclaredCustomProperties?: NoUndeclaredCustomPropertiesConfiguration;
2416
+ /**
2417
+ * Disallow loop conditions whose variables are never modified in the loop.
2418
+ See https://biomejs.dev/linter/rules/no-unmodified-loop-condition
2419
+ */
2420
+ noUnmodifiedLoopCondition?: NoUnmodifiedLoopConditionConfiguration;
2396
2421
  /**
2397
2422
  * Disallow unnecessary template expressions.
2398
2423
  See https://biomejs.dev/linter/rules/no-unnecessary-template-expression
2399
2424
  */
2400
2425
  noUnnecessaryTemplateExpression?: NoUnnecessaryTemplateExpressionConfiguration;
2426
+ /**
2427
+ * Disallow an unsafe combination of the sandbox attribute.
2428
+ See https://biomejs.dev/linter/rules/no-unsafe-iframe-sandbox
2429
+ */
2430
+ noUnsafeIframeSandbox?: NoUnsafeIframeSandboxConfiguration;
2401
2431
  /**
2402
2432
  * Disallow + operations with operands that are known to be unsafe.
2403
2433
  See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
@@ -2423,6 +2453,11 @@ interface Nursery {
2423
2453
  See https://biomejs.dev/linter/rules/no-useless-type-conversion
2424
2454
  */
2425
2455
  noUselessTypeConversion?: NoUselessTypeConversionConfiguration;
2456
+ /**
2457
+ * Disallow the deprecated Vue $scopedSlots API.
2458
+ See https://biomejs.dev/linter/rules/no-vue-deprecated-scoped-slots
2459
+ */
2460
+ noVueDeprecatedScopedSlots?: NoVueDeprecatedScopedSlotsConfiguration;
2426
2461
  /**
2427
2462
  * Disallow importing Vue compiler macros.
2428
2463
  See https://biomejs.dev/linter/rules/no-vue-import-compiler-macros
@@ -2438,6 +2473,11 @@ interface Nursery {
2438
2473
  See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
2439
2474
  */
2440
2475
  noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
2476
+ /**
2477
+ * Disallow the bitwise XOR operator where exponentiation was likely intended.
2478
+ See https://biomejs.dev/linter/rules/no-xor-as-exponentiation
2479
+ */
2480
+ noXorAsExponentiation?: NoXorAsExponentiationConfiguration;
2441
2481
  /**
2442
2482
  * Enables a particular rule preset
2443
2483
  */
@@ -2466,6 +2506,11 @@ interface Nursery {
2466
2506
  See https://biomejs.dev/linter/rules/use-baseline
2467
2507
  */
2468
2508
  useBaseline?: UseBaselineConfiguration;
2509
+ /**
2510
+ * Prefer modern DOM traversal APIs over positional indexes and chained walks.
2511
+ See https://biomejs.dev/linter/rules/use-better-dom-traversing
2512
+ */
2513
+ useBetterDomTraversing?: UseBetterDomTraversingConfiguration;
2469
2514
  /**
2470
2515
  * Enforce consistent use of it or test for test functions.
2471
2516
  See https://biomejs.dev/linter/rules/use-consistent-test-it
@@ -2511,6 +2556,11 @@ interface Nursery {
2511
2556
  See https://biomejs.dev/linter/rules/use-explicit-type
2512
2557
  */
2513
2558
  useExplicitType?: UseExplicitTypeConfiguration;
2559
+ /**
2560
+ * Prefer flat Math.min() and Math.max() calls over nested calls of the same method.
2561
+ See https://biomejs.dev/linter/rules/use-flat-math-min-max
2562
+ */
2563
+ useFlatMathMinMax?: UseFlatMathMinMaxConfiguration;
2514
2564
  /**
2515
2565
  * Enforce the 'sandbox' attribute for 'iframe' elements.
2516
2566
  See https://biomejs.dev/linter/rules/use-iframe-sandbox
@@ -2526,11 +2576,21 @@ interface Nursery {
2526
2576
  See https://biomejs.dev/linter/rules/use-includes
2527
2577
  */
2528
2578
  useIncludes?: UseIncludesConfiguration;
2579
+ /**
2580
+ * Enforce style rules to be defined within a cascade layer.
2581
+ See https://biomejs.dev/linter/rules/use-layered-styles
2582
+ */
2583
+ useLayeredStyles?: UseLayeredStylesConfiguration;
2529
2584
  /**
2530
2585
  * Prefer Math.min() and Math.max() over ternaries for simple comparisons.
2531
2586
  See https://biomejs.dev/linter/rules/use-math-min-max
2532
2587
  */
2533
2588
  useMathMinMax?: UseMathMinMaxConfiguration;
2589
+ /**
2590
+ * Use modern Math APIs for common mathematical operations.
2591
+ See https://biomejs.dev/linter/rules/use-modern-math-apis
2592
+ */
2593
+ useModernMathApis?: UseModernMathApisConfiguration;
2534
2594
  /**
2535
2595
  * Enforce using named capture groups in regular expression.
2536
2596
  See https://biomejs.dev/linter/rules/use-named-capture-group
@@ -2571,6 +2631,11 @@ interface Nursery {
2571
2631
  See https://biomejs.dev/linter/rules/use-react-function-component-definition
2572
2632
  */
2573
2633
  useReactFunctionComponentDefinition?: UseReactFunctionComponentDefinitionConfiguration;
2634
+ /**
2635
+ * Enforces naming conventions for React createContext, useId, and useRef.
2636
+ See https://biomejs.dev/linter/rules/use-react-naming-convention
2637
+ */
2638
+ useReactNamingConvention?: UseReactNamingConventionConfiguration;
2574
2639
  /**
2575
2640
  * Ensure that platform-specific React Native components are only imported in files named for that platform.
2576
2641
  See https://biomejs.dev/linter/rules/use-react-native-platform-components
@@ -2641,6 +2706,11 @@ interface Nursery {
2641
2706
  See https://biomejs.dev/linter/rules/use-vars-on-top
2642
2707
  */
2643
2708
  useVarsOnTop?: UseVarsOnTopConfiguration;
2709
+ /**
2710
+ * Enforce importing Vue's public entry point instead of internal Vue packages.
2711
+ See https://biomejs.dev/linter/rules/use-vue-base-import
2712
+ */
2713
+ useVueBaseImport?: UseVueBaseImportConfiguration;
2644
2714
  /**
2645
2715
  * Enforce consistent defineProps declaration style.
2646
2716
  See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
@@ -4496,6 +4566,9 @@ type NoAstroSetHtmlDirectiveConfiguration =
4496
4566
  type NoBaseToStringConfiguration =
4497
4567
  | RulePlainConfiguration
4498
4568
  | RuleWithNoBaseToStringOptions;
4569
+ type NoBunModulesConfiguration =
4570
+ | RulePlainConfiguration
4571
+ | RuleWithNoBunModulesOptions;
4499
4572
  type NoComponentHookFactoriesConfiguration =
4500
4573
  | RulePlainConfiguration
4501
4574
  | RuleWithNoComponentHookFactoriesOptions;
@@ -4538,6 +4611,9 @@ type NoImpliedEvalConfiguration =
4538
4611
  type NoInlineStylesConfiguration =
4539
4612
  | RulePlainConfiguration
4540
4613
  | RuleWithNoInlineStylesOptions;
4614
+ type NoInvalidFileInputAcceptConfiguration =
4615
+ | RulePlainConfiguration
4616
+ | RuleWithNoInvalidFileInputAcceptOptions;
4541
4617
  type NoInvalidPropertyInitValueConfiguration =
4542
4618
  | RulePlainConfiguration
4543
4619
  | RuleWithNoInvalidPropertyInitValueOptions;
@@ -4610,6 +4686,9 @@ type NoReactStringRefsConfiguration =
4610
4686
  type NoRestrictedDependenciesConfiguration =
4611
4687
  | RulePlainConfiguration
4612
4688
  | RuleWithNoRestrictedDependenciesOptions;
4689
+ type NoSvelteAtHtmlTagsConfiguration =
4690
+ | RulePlainConfiguration
4691
+ | RuleWithNoSvelteAtHtmlTagsOptions;
4613
4692
  type NoSvelteLegacyConstConfiguration =
4614
4693
  | RulePlainConfiguration
4615
4694
  | RuleWithNoSvelteLegacyConstOptions;
@@ -4619,6 +4698,9 @@ type NoSvelteUnnecessaryStateWrapConfiguration =
4619
4698
  type NoTailwindArbitraryValueConfiguration =
4620
4699
  | RulePlainConfiguration
4621
4700
  | RuleWithNoTailwindArbitraryValueOptions;
4701
+ type NoThisOutsideOfClassConfiguration =
4702
+ | RulePlainConfiguration
4703
+ | RuleWithNoThisOutsideOfClassOptions;
4622
4704
  type NoTopLevelLiteralsConfiguration =
4623
4705
  | RulePlainConfiguration
4624
4706
  | RuleWithNoTopLevelLiteralsOptions;
@@ -4628,9 +4710,15 @@ type NoUndeclaredClassesConfiguration =
4628
4710
  type NoUndeclaredCustomPropertiesConfiguration =
4629
4711
  | RulePlainConfiguration
4630
4712
  | RuleWithNoUndeclaredCustomPropertiesOptions;
4713
+ type NoUnmodifiedLoopConditionConfiguration =
4714
+ | RulePlainConfiguration
4715
+ | RuleWithNoUnmodifiedLoopConditionOptions;
4631
4716
  type NoUnnecessaryTemplateExpressionConfiguration =
4632
4717
  | RulePlainConfiguration
4633
4718
  | RuleWithNoUnnecessaryTemplateExpressionOptions;
4719
+ type NoUnsafeIframeSandboxConfiguration =
4720
+ | RulePlainConfiguration
4721
+ | RuleWithNoUnsafeIframeSandboxOptions;
4634
4722
  type NoUnsafePlusOperandsConfiguration =
4635
4723
  | RulePlainConfiguration
4636
4724
  | RuleWithNoUnsafePlusOperandsOptions;
@@ -4646,6 +4734,9 @@ type NoUnusedClassesConfiguration =
4646
4734
  type NoUselessTypeConversionConfiguration =
4647
4735
  | RulePlainConfiguration
4648
4736
  | RuleWithNoUselessTypeConversionOptions;
4737
+ type NoVueDeprecatedScopedSlotsConfiguration =
4738
+ | RulePlainConfiguration
4739
+ | RuleWithNoVueDeprecatedScopedSlotsOptions;
4649
4740
  type NoVueImportCompilerMacrosConfiguration =
4650
4741
  | RulePlainConfiguration
4651
4742
  | RuleWithNoVueImportCompilerMacrosOptions;
@@ -4655,6 +4746,9 @@ type NoVueRefAsOperandConfiguration =
4655
4746
  type NoVueVOnNumberValuesConfiguration =
4656
4747
  | RulePlainConfiguration
4657
4748
  | RuleWithNoVueVOnNumberValuesOptions;
4749
+ type NoXorAsExponentiationConfiguration =
4750
+ | RulePlainConfiguration
4751
+ | RuleWithNoXorAsExponentiationOptions;
4658
4752
  type UseArraySomeConfiguration =
4659
4753
  | RulePlainConfiguration
4660
4754
  | RuleWithUseArraySomeOptions;
@@ -4667,6 +4761,9 @@ type UseAwaitThenableConfiguration =
4667
4761
  type UseBaselineConfiguration =
4668
4762
  | RulePlainConfiguration
4669
4763
  | RuleWithUseBaselineOptions;
4764
+ type UseBetterDomTraversingConfiguration =
4765
+ | RulePlainConfiguration
4766
+ | RuleWithUseBetterDomTraversingOptions;
4670
4767
  type UseConsistentTestItConfiguration =
4671
4768
  | RulePlainConfiguration
4672
4769
  | RuleWithUseConsistentTestItOptions;
@@ -4692,6 +4789,9 @@ type UseExplicitReturnTypeConfiguration =
4692
4789
  type UseExplicitTypeConfiguration =
4693
4790
  | RulePlainConfiguration
4694
4791
  | RuleWithUseExplicitTypeOptions;
4792
+ type UseFlatMathMinMaxConfiguration =
4793
+ | RulePlainConfiguration
4794
+ | RuleWithUseFlatMathMinMaxOptions;
4695
4795
  type UseIframeSandboxConfiguration =
4696
4796
  | RulePlainConfiguration
4697
4797
  | RuleWithUseIframeSandboxOptions;
@@ -4701,9 +4801,15 @@ type UseImportsFirstConfiguration =
4701
4801
  type UseIncludesConfiguration =
4702
4802
  | RulePlainConfiguration
4703
4803
  | RuleWithUseIncludesOptions;
4804
+ type UseLayeredStylesConfiguration =
4805
+ | RulePlainConfiguration
4806
+ | RuleWithUseLayeredStylesOptions;
4704
4807
  type UseMathMinMaxConfiguration =
4705
4808
  | RulePlainConfiguration
4706
4809
  | RuleWithUseMathMinMaxOptions;
4810
+ type UseModernMathApisConfiguration =
4811
+ | RulePlainConfiguration
4812
+ | RuleWithUseModernMathApisOptions;
4707
4813
  type UseNamedCaptureGroupConfiguration =
4708
4814
  | RulePlainConfiguration
4709
4815
  | RuleWithUseNamedCaptureGroupOptions;
@@ -4728,6 +4834,9 @@ type UseReactCompilerConfiguration =
4728
4834
  type UseReactFunctionComponentDefinitionConfiguration =
4729
4835
  | RulePlainConfiguration
4730
4836
  | RuleWithUseReactFunctionComponentDefinitionOptions;
4837
+ type UseReactNamingConventionConfiguration =
4838
+ | RulePlainConfiguration
4839
+ | RuleWithUseReactNamingConventionOptions;
4731
4840
  type UseReactNativePlatformComponentsConfiguration =
4732
4841
  | RulePlainConfiguration
4733
4842
  | RuleWithUseReactNativePlatformComponentsOptions;
@@ -4770,6 +4879,9 @@ type UseUnicodeRegexConfiguration =
4770
4879
  type UseVarsOnTopConfiguration =
4771
4880
  | RulePlainConfiguration
4772
4881
  | RuleWithUseVarsOnTopOptions;
4882
+ type UseVueBaseImportConfiguration =
4883
+ | RulePlainConfiguration
4884
+ | RuleWithUseVueBaseImportOptions;
4773
4885
  type UseVueConsistentDefinePropsDeclarationConfiguration =
4774
4886
  | RulePlainConfiguration
4775
4887
  | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
@@ -6348,6 +6460,10 @@ interface RuleWithNoBaseToStringOptions {
6348
6460
  level: RulePlainConfiguration;
6349
6461
  options?: NoBaseToStringOptions;
6350
6462
  }
6463
+ interface RuleWithNoBunModulesOptions {
6464
+ level: RulePlainConfiguration;
6465
+ options?: NoBunModulesOptions;
6466
+ }
6351
6467
  interface RuleWithNoComponentHookFactoriesOptions {
6352
6468
  level: RulePlainConfiguration;
6353
6469
  options?: NoComponentHookFactoriesOptions;
@@ -6406,6 +6522,11 @@ interface RuleWithNoInlineStylesOptions {
6406
6522
  level: RulePlainConfiguration;
6407
6523
  options?: NoInlineStylesOptions;
6408
6524
  }
6525
+ interface RuleWithNoInvalidFileInputAcceptOptions {
6526
+ fix?: FixKind;
6527
+ level: RulePlainConfiguration;
6528
+ options?: NoInvalidFileInputAcceptOptions;
6529
+ }
6409
6530
  interface RuleWithNoInvalidPropertyInitValueOptions {
6410
6531
  level: RulePlainConfiguration;
6411
6532
  options?: NoInvalidPropertyInitValueOptions;
@@ -6509,6 +6630,10 @@ interface RuleWithNoRestrictedDependenciesOptions {
6509
6630
  level: RulePlainConfiguration;
6510
6631
  options?: NoRestrictedDependenciesOptions;
6511
6632
  }
6633
+ interface RuleWithNoSvelteAtHtmlTagsOptions {
6634
+ level: RulePlainConfiguration;
6635
+ options?: NoSvelteAtHtmlTagsOptions;
6636
+ }
6512
6637
  interface RuleWithNoSvelteLegacyConstOptions {
6513
6638
  level: RulePlainConfiguration;
6514
6639
  options?: NoSvelteLegacyConstOptions;
@@ -6522,6 +6647,10 @@ interface RuleWithNoTailwindArbitraryValueOptions {
6522
6647
  level: RulePlainConfiguration;
6523
6648
  options?: NoTailwindArbitraryValueOptions;
6524
6649
  }
6650
+ interface RuleWithNoThisOutsideOfClassOptions {
6651
+ level: RulePlainConfiguration;
6652
+ options?: NoThisOutsideOfClassOptions;
6653
+ }
6525
6654
  interface RuleWithNoTopLevelLiteralsOptions {
6526
6655
  level: RulePlainConfiguration;
6527
6656
  options?: NoTopLevelLiteralsOptions;
@@ -6534,11 +6663,19 @@ interface RuleWithNoUndeclaredCustomPropertiesOptions {
6534
6663
  level: RulePlainConfiguration;
6535
6664
  options?: NoUndeclaredCustomPropertiesOptions;
6536
6665
  }
6666
+ interface RuleWithNoUnmodifiedLoopConditionOptions {
6667
+ level: RulePlainConfiguration;
6668
+ options?: NoUnmodifiedLoopConditionOptions;
6669
+ }
6537
6670
  interface RuleWithNoUnnecessaryTemplateExpressionOptions {
6538
6671
  fix?: FixKind;
6539
6672
  level: RulePlainConfiguration;
6540
6673
  options?: NoUnnecessaryTemplateExpressionOptions;
6541
6674
  }
6675
+ interface RuleWithNoUnsafeIframeSandboxOptions {
6676
+ level: RulePlainConfiguration;
6677
+ options?: NoUnsafeIframeSandboxOptions;
6678
+ }
6542
6679
  interface RuleWithNoUnsafePlusOperandsOptions {
6543
6680
  level: RulePlainConfiguration;
6544
6681
  options?: NoUnsafePlusOperandsOptions;
@@ -6559,6 +6696,11 @@ interface RuleWithNoUselessTypeConversionOptions {
6559
6696
  level: RulePlainConfiguration;
6560
6697
  options?: NoUselessTypeConversionOptions;
6561
6698
  }
6699
+ interface RuleWithNoVueDeprecatedScopedSlotsOptions {
6700
+ fix?: FixKind;
6701
+ level: RulePlainConfiguration;
6702
+ options?: NoVueDeprecatedScopedSlotsOptions;
6703
+ }
6562
6704
  interface RuleWithNoVueImportCompilerMacrosOptions {
6563
6705
  level: RulePlainConfiguration;
6564
6706
  options?: NoVueImportCompilerMacrosOptions;
@@ -6571,6 +6713,11 @@ interface RuleWithNoVueVOnNumberValuesOptions {
6571
6713
  level: RulePlainConfiguration;
6572
6714
  options?: NoVueVOnNumberValuesOptions;
6573
6715
  }
6716
+ interface RuleWithNoXorAsExponentiationOptions {
6717
+ fix?: FixKind;
6718
+ level: RulePlainConfiguration;
6719
+ options?: NoXorAsExponentiationOptions;
6720
+ }
6574
6721
  interface RuleWithUseArraySomeOptions {
6575
6722
  fix?: FixKind;
6576
6723
  level: RulePlainConfiguration;
@@ -6588,6 +6735,11 @@ interface RuleWithUseBaselineOptions {
6588
6735
  level: RulePlainConfiguration;
6589
6736
  options?: UseBaselineOptions;
6590
6737
  }
6738
+ interface RuleWithUseBetterDomTraversingOptions {
6739
+ fix?: FixKind;
6740
+ level: RulePlainConfiguration;
6741
+ options?: UseBetterDomTraversingOptions;
6742
+ }
6591
6743
  interface RuleWithUseConsistentTestItOptions {
6592
6744
  fix?: FixKind;
6593
6745
  level: RulePlainConfiguration;
@@ -6629,6 +6781,11 @@ interface RuleWithUseExplicitTypeOptions {
6629
6781
  level: RulePlainConfiguration;
6630
6782
  options?: UseExplicitTypeOptions;
6631
6783
  }
6784
+ interface RuleWithUseFlatMathMinMaxOptions {
6785
+ fix?: FixKind;
6786
+ level: RulePlainConfiguration;
6787
+ options?: UseFlatMathMinMaxOptions;
6788
+ }
6632
6789
  interface RuleWithUseIframeSandboxOptions {
6633
6790
  level: RulePlainConfiguration;
6634
6791
  options?: UseIframeSandboxOptions;
@@ -6642,11 +6799,20 @@ interface RuleWithUseIncludesOptions {
6642
6799
  level: RulePlainConfiguration;
6643
6800
  options?: UseIncludesOptions;
6644
6801
  }
6802
+ interface RuleWithUseLayeredStylesOptions {
6803
+ level: RulePlainConfiguration;
6804
+ options?: UseLayeredStylesOptions;
6805
+ }
6645
6806
  interface RuleWithUseMathMinMaxOptions {
6646
6807
  fix?: FixKind;
6647
6808
  level: RulePlainConfiguration;
6648
6809
  options?: UseMathMinMaxOptions;
6649
6810
  }
6811
+ interface RuleWithUseModernMathApisOptions {
6812
+ fix?: FixKind;
6813
+ level: RulePlainConfiguration;
6814
+ options?: UseModernMathApisOptions;
6815
+ }
6650
6816
  interface RuleWithUseNamedCaptureGroupOptions {
6651
6817
  level: RulePlainConfiguration;
6652
6818
  options?: UseNamedCaptureGroupOptions;
@@ -6682,6 +6848,10 @@ interface RuleWithUseReactFunctionComponentDefinitionOptions {
6682
6848
  level: RulePlainConfiguration;
6683
6849
  options?: UseReactFunctionComponentDefinitionOptions;
6684
6850
  }
6851
+ interface RuleWithUseReactNamingConventionOptions {
6852
+ level: RulePlainConfiguration;
6853
+ options?: UseReactNamingConventionOptions;
6854
+ }
6685
6855
  interface RuleWithUseReactNativePlatformComponentsOptions {
6686
6856
  level: RulePlainConfiguration;
6687
6857
  options?: UseReactNativePlatformComponentsOptions;
@@ -6745,6 +6915,11 @@ interface RuleWithUseVarsOnTopOptions {
6745
6915
  level: RulePlainConfiguration;
6746
6916
  options?: UseVarsOnTopOptions;
6747
6917
  }
6918
+ interface RuleWithUseVueBaseImportOptions {
6919
+ fix?: FixKind;
6920
+ level: RulePlainConfiguration;
6921
+ options?: UseVueBaseImportOptions;
6922
+ }
6748
6923
  interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
6749
6924
  level: RulePlainConfiguration;
6750
6925
  options?: UseVueConsistentDefinePropsDeclarationOptions;
@@ -8183,6 +8358,7 @@ type NoAstroSetHtmlDirectiveOptions = {};
8183
8358
  interface NoBaseToStringOptions {
8184
8359
  ignoredTypeNames?: string[];
8185
8360
  }
8361
+ type NoBunModulesOptions = {};
8186
8362
  type NoComponentHookFactoriesOptions = {};
8187
8363
  type NoConditionalExpectOptions = {};
8188
8364
  interface NoDrizzleDeleteWithoutWhereOptions {
@@ -8226,6 +8402,7 @@ type NoFloatingPromisesOptions = {};
8226
8402
  type NoIdenticalTestTitleOptions = {};
8227
8403
  type NoImpliedEvalOptions = {};
8228
8404
  type NoInlineStylesOptions = {};
8405
+ type NoInvalidFileInputAcceptOptions = {};
8229
8406
  type NoInvalidPropertyInitValueOptions = {};
8230
8407
  interface NoJsRestrictedPropertiesOptions {
8231
8408
  /**
@@ -8269,6 +8446,7 @@ interface NoReactNativeRawTextOptions {
8269
8446
  }
8270
8447
  type NoReactStringRefsOptions = {};
8271
8448
  type NoRestrictedDependenciesOptions = {};
8449
+ type NoSvelteAtHtmlTagsOptions = {};
8272
8450
  type NoSvelteLegacyConstOptions = {};
8273
8451
  interface NoSvelteUnnecessaryStateWrapOptions {
8274
8452
  /**
@@ -8290,10 +8468,13 @@ interface NoTailwindArbitraryValueOptions {
8290
8468
  */
8291
8469
  functions?: string[];
8292
8470
  }
8471
+ type NoThisOutsideOfClassOptions = {};
8293
8472
  type NoTopLevelLiteralsOptions = {};
8294
8473
  type NoUndeclaredClassesOptions = {};
8295
8474
  type NoUndeclaredCustomPropertiesOptions = {};
8475
+ type NoUnmodifiedLoopConditionOptions = {};
8296
8476
  type NoUnnecessaryTemplateExpressionOptions = {};
8477
+ type NoUnsafeIframeSandboxOptions = {};
8297
8478
  type NoUnsafePlusOperandsOptions = {};
8298
8479
  type NoUnsafeTypeAssertionOptions = {};
8299
8480
  interface NoUntrustedLicensesOptions {
@@ -8332,9 +8513,11 @@ interface NoUntrustedLicensesOptions {
8332
8513
  }
8333
8514
  type NoUnusedClassesOptions = {};
8334
8515
  type NoUselessTypeConversionOptions = {};
8516
+ type NoVueDeprecatedScopedSlotsOptions = {};
8335
8517
  type NoVueImportCompilerMacrosOptions = {};
8336
8518
  type NoVueRefAsOperandOptions = {};
8337
8519
  type NoVueVOnNumberValuesOptions = {};
8520
+ type NoXorAsExponentiationOptions = {};
8338
8521
  type UseArraySomeOptions = {};
8339
8522
  type UseAstroClientOnlyDirectiveValueOptions = {};
8340
8523
  type UseAwaitThenableOptions = {};
@@ -8368,6 +8551,7 @@ interface UseBaselineOptions {
8368
8551
  */
8369
8552
  available?: AvailabilityTarget;
8370
8553
  }
8554
+ type UseBetterDomTraversingOptions = {};
8371
8555
  interface UseConsistentTestItOptions {
8372
8556
  /**
8373
8557
  * The function to use for top-level tests (outside describe blocks).
@@ -8409,10 +8593,18 @@ interface UseExplicitReturnTypeOptions {
8409
8593
  allowedNames?: string[];
8410
8594
  }
8411
8595
  type UseExplicitTypeOptions = {};
8596
+ type UseFlatMathMinMaxOptions = {};
8412
8597
  type UseIframeSandboxOptions = {};
8413
8598
  type UseImportsFirstOptions = {};
8414
8599
  type UseIncludesOptions = {};
8600
+ interface UseLayeredStylesOptions {
8601
+ /**
8602
+ * Require `@import` rules to have a cascade layer. Defaults to `true`.
8603
+ */
8604
+ requireImportLayers?: boolean;
8605
+ }
8415
8606
  type UseMathMinMaxOptions = {};
8607
+ type UseModernMathApisOptions = {};
8416
8608
  type UseNamedCaptureGroupOptions = {};
8417
8609
  type UseNamedLayerOptions = {};
8418
8610
  interface UseNullishCoalescingOptions {
@@ -8456,6 +8648,7 @@ interface UseReactFunctionComponentDefinitionOptions {
8456
8648
  */
8457
8649
  namedComponents?: ComponentDefinitionStyle;
8458
8650
  }
8651
+ type UseReactNamingConventionOptions = {};
8459
8652
  interface UseReactNativePlatformComponentsOptions {
8460
8653
  /**
8461
8654
  * A list of glob patterns to identify Android-specific files.
@@ -8511,6 +8704,7 @@ interface UseThisInClassMethodsOptions {
8511
8704
  }
8512
8705
  type UseUnicodeRegexOptions = {};
8513
8706
  type UseVarsOnTopOptions = {};
8707
+ type UseVueBaseImportOptions = {};
8514
8708
  interface UseVueConsistentDefinePropsDeclarationOptions {
8515
8709
  style?: DeclarationStyle;
8516
8710
  }
@@ -9606,6 +9800,7 @@ type Category =
9606
9800
  | "lint/correctness/useYield"
9607
9801
  | "lint/nursery/noAstroSetHtmlDirective"
9608
9802
  | "lint/nursery/noBaseToString"
9803
+ | "lint/nursery/noBunModules"
9609
9804
  | "lint/nursery/noColorInvalidHex"
9610
9805
  | "lint/nursery/noComponentHookFactories"
9611
9806
  | "lint/nursery/noConditionalExpect"
@@ -9622,6 +9817,7 @@ type Category =
9622
9817
  | "lint/nursery/noImplicitCoercion"
9623
9818
  | "lint/nursery/noImpliedEval"
9624
9819
  | "lint/nursery/noInlineStyles"
9820
+ | "lint/nursery/noInvalidFileInputAccept"
9625
9821
  | "lint/nursery/noInvalidPropertyInitValue"
9626
9822
  | "lint/nursery/noJsRestrictedProperties"
9627
9823
  | "lint/nursery/noJsxLeakedDollar"
@@ -9647,13 +9843,17 @@ type Category =
9647
9843
  | "lint/nursery/noReactNativeRawText"
9648
9844
  | "lint/nursery/noReactStringRefs"
9649
9845
  | "lint/nursery/noRestrictedDependencies"
9846
+ | "lint/nursery/noSvelteAtHtmlTags"
9650
9847
  | "lint/nursery/noSvelteLegacyConst"
9651
9848
  | "lint/nursery/noSvelteUnnecessaryStateWrap"
9652
9849
  | "lint/nursery/noTailwindArbitraryValue"
9850
+ | "lint/nursery/noThisOutsideOfClass"
9653
9851
  | "lint/nursery/noTopLevelLiterals"
9654
9852
  | "lint/nursery/noUndeclaredClasses"
9655
9853
  | "lint/nursery/noUndeclaredCustomProperties"
9854
+ | "lint/nursery/noUnmodifiedLoopCondition"
9656
9855
  | "lint/nursery/noUnnecessaryTemplateExpression"
9856
+ | "lint/nursery/noUnsafeIframeSandbox"
9657
9857
  | "lint/nursery/noUnsafePlusOperands"
9658
9858
  | "lint/nursery/noUnsafeTypeAssertion"
9659
9859
  | "lint/nursery/noUntrustedLicenses"
@@ -9661,13 +9861,16 @@ type Category =
9661
9861
  | "lint/nursery/noUnwantedPolyfillio"
9662
9862
  | "lint/nursery/noUselessBackrefInRegex"
9663
9863
  | "lint/nursery/noUselessTypeConversion"
9864
+ | "lint/nursery/noVueDeprecatedScopedSlots"
9664
9865
  | "lint/nursery/noVueImportCompilerMacros"
9665
9866
  | "lint/nursery/noVueRefAsOperand"
9666
9867
  | "lint/nursery/noVueVOnNumberValues"
9868
+ | "lint/nursery/noXorAsExponentiation"
9667
9869
  | "lint/nursery/useArraySome"
9668
9870
  | "lint/nursery/useAstroClientOnlyDirectiveValue"
9669
9871
  | "lint/nursery/useAwaitThenable"
9670
9872
  | "lint/nursery/useBaseline"
9873
+ | "lint/nursery/useBetterDomTraversing"
9671
9874
  | "lint/nursery/useBiomeSuppressionComment"
9672
9875
  | "lint/nursery/useConsistentHeadingLevel"
9673
9876
  | "lint/nursery/useConsistentObjectDefinition"
@@ -9682,14 +9885,17 @@ type Category =
9682
9885
  | "lint/nursery/useExplicitReturnType"
9683
9886
  | "lint/nursery/useExplicitType"
9684
9887
  | "lint/nursery/useFind"
9888
+ | "lint/nursery/useFlatMathMinMax"
9685
9889
  | "lint/nursery/useGlobalThis"
9686
9890
  | "lint/nursery/useIframeSandbox"
9687
9891
  | "lint/nursery/useImportRestrictions"
9688
9892
  | "lint/nursery/useImportsFirst"
9689
9893
  | "lint/nursery/useIncludes"
9690
9894
  | "lint/nursery/useJsxCurlyBraceConvention"
9895
+ | "lint/nursery/useLayeredStyles"
9691
9896
  | "lint/nursery/useMathMinMax"
9692
9897
  | "lint/nursery/useMaxParams"
9898
+ | "lint/nursery/useModernMathApis"
9693
9899
  | "lint/nursery/useNamedCaptureGroup"
9694
9900
  | "lint/nursery/useNamedLayer"
9695
9901
  | "lint/nursery/useNullishCoalescing"
@@ -9700,11 +9906,13 @@ type Category =
9700
9906
  | "lint/nursery/useReactAsyncServerFunction"
9701
9907
  | "lint/nursery/useReactCompiler"
9702
9908
  | "lint/nursery/useReactFunctionComponentDefinition"
9909
+ | "lint/nursery/useReactNamingConvention"
9703
9910
  | "lint/nursery/useReactNativePlatformComponents"
9704
9911
  | "lint/nursery/useReduceTypeParameter"
9705
9912
  | "lint/nursery/useRegexpExec"
9706
9913
  | "lint/nursery/useRegexpTest"
9707
9914
  | "lint/nursery/useScopedStyles"
9915
+ | "lint/nursery/useSingleTopLevelHeading"
9708
9916
  | "lint/nursery/useSortedClasses"
9709
9917
  | "lint/nursery/useStringStartsEndsWith"
9710
9918
  | "lint/nursery/useSvelteRequireEachKey"
@@ -9720,6 +9928,7 @@ type Category =
9720
9928
  | "lint/nursery/useUniqueInputFieldNames"
9721
9929
  | "lint/nursery/useUniqueVariableNames"
9722
9930
  | "lint/nursery/useVarsOnTop"
9931
+ | "lint/nursery/useVueBaseImport"
9723
9932
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
9724
9933
  | "lint/nursery/useVueNextTickPromise"
9725
9934
  | "lint/nursery/useVueValidVFor"
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "2.5.11",
8
+ "version": "2.5.13",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",