@biomejs/wasm-bundler 2.2.2 → 2.2.4

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
@@ -753,7 +753,7 @@ interface Source {
753
753
  */
754
754
  organizeImports?: RuleAssistConfiguration_for_OrganizeImportsOptions;
755
755
  /**
756
- * It enables the recommended rules for this group
756
+ * Enables the recommended rules for this group
757
757
  */
758
758
  recommended?: boolean;
759
759
  /**
@@ -761,7 +761,7 @@ interface Source {
761
761
  */
762
762
  useSortedAttributes?: RuleAssistConfiguration_for_UseSortedAttributesOptions;
763
763
  /**
764
- * Sorts the keys of a JSON object in natural order
764
+ * Sort the keys of a JSON object in natural order.
765
765
  */
766
766
  useSortedKeys?: RuleAssistConfiguration_for_UseSortedKeysOptions;
767
767
  /**
@@ -951,7 +951,7 @@ interface A11y {
951
951
  */
952
952
  noSvgWithoutTitle?: RuleConfiguration_for_NoSvgWithoutTitleOptions;
953
953
  /**
954
- * It enables the recommended rules for this group
954
+ * Enables the recommended rules for this group
955
955
  */
956
956
  recommended?: boolean;
957
957
  /**
@@ -1169,7 +1169,7 @@ interface Complexity {
1169
1169
  */
1170
1170
  noVoid?: RuleConfiguration_for_NoVoidOptions;
1171
1171
  /**
1172
- * It enables the recommended rules for this group
1172
+ * Enables the recommended rules for this group
1173
1173
  */
1174
1174
  recommended?: boolean;
1175
1175
  /**
@@ -1427,7 +1427,7 @@ interface Correctness {
1427
1427
  */
1428
1428
  noVoidTypeReturn?: RuleConfiguration_for_NoVoidTypeReturnOptions;
1429
1429
  /**
1430
- * It enables the recommended rules for this group
1430
+ * Enables the recommended rules for this group
1431
1431
  */
1432
1432
  recommended?: boolean;
1433
1433
  /**
@@ -1484,6 +1484,10 @@ interface Correctness {
1484
1484
  useYield?: RuleConfiguration_for_UseYieldOptions;
1485
1485
  }
1486
1486
  interface Nursery {
1487
+ /**
1488
+ * Disallow any dependency from being specified more than once (e.g. in dependencies and devDependencies)
1489
+ */
1490
+ noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
1487
1491
  /**
1488
1492
  * Require Promise-like statements to be handled appropriately.
1489
1493
  */
@@ -1492,6 +1496,10 @@ interface Nursery {
1492
1496
  * Prevent import cycles.
1493
1497
  */
1494
1498
  noImportCycles?: RuleConfiguration_for_NoImportCyclesOptions;
1499
+ /**
1500
+ * Disallow string literals inside JSX elements.
1501
+ */
1502
+ noJsxLiterals?: RuleConfiguration_for_NoJsxLiteralsOptions;
1495
1503
  /**
1496
1504
  * Disallow Promises to be used in places where they are almost certainly a mistake.
1497
1505
  */
@@ -1524,6 +1532,10 @@ interface Nursery {
1524
1532
  * Warn when importing non-existing exports.
1525
1533
  */
1526
1534
  noUnresolvedImports?: RuleConfiguration_for_NoUnresolvedImportsOptions;
1535
+ /**
1536
+ * Disallow unused catch bindings.
1537
+ */
1538
+ noUselessCatchBinding?: RuleFixConfiguration_for_NoUselessCatchBindingOptions;
1527
1539
  /**
1528
1540
  * Disallow the use of useless undefined.
1529
1541
  */
@@ -1541,13 +1553,17 @@ interface Nursery {
1541
1553
  */
1542
1554
  noVueReservedProps?: RuleConfiguration_for_NoVueReservedPropsOptions;
1543
1555
  /**
1544
- * It enables the recommended rules for this group
1556
+ * Enables the recommended rules for this group
1545
1557
  */
1546
1558
  recommended?: boolean;
1547
1559
  /**
1548
1560
  * Enforces href attribute for \<a> elements.
1549
1561
  */
1550
1562
  useAnchorHref?: RuleConfiguration_for_UseAnchorHrefOptions;
1563
+ /**
1564
+ * Enforce consistent arrow function bodies.
1565
+ */
1566
+ useConsistentArrowReturn?: RuleFixConfiguration_for_UseConsistentArrowReturnOptions;
1551
1567
  /**
1552
1568
  * Enforce type definitions to consistently use either interface or type.
1553
1569
  */
@@ -1580,6 +1596,10 @@ interface Nursery {
1580
1596
  * Enforce the sorting of CSS utility classes.
1581
1597
  */
1582
1598
  useSortedClasses?: RuleFixConfiguration_for_UseSortedClassesOptions;
1599
+ /**
1600
+ * Enforce multi-word component names in Vue components.
1601
+ */
1602
+ useVueMultiWordComponentNames?: RuleConfiguration_for_UseVueMultiWordComponentNamesOptions;
1583
1603
  }
1584
1604
  interface Performance {
1585
1605
  /**
@@ -1619,7 +1639,7 @@ interface Performance {
1619
1639
  */
1620
1640
  noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
1621
1641
  /**
1622
- * It enables the recommended rules for this group
1642
+ * Enables the recommended rules for this group
1623
1643
  */
1624
1644
  recommended?: boolean;
1625
1645
  /**
@@ -1653,7 +1673,7 @@ interface Security {
1653
1673
  */
1654
1674
  noGlobalEval?: RuleConfiguration_for_NoGlobalEvalOptions;
1655
1675
  /**
1656
- * It enables the recommended rules for this group
1676
+ * Enables the recommended rules for this group
1657
1677
  */
1658
1678
  recommended?: boolean;
1659
1679
  }
@@ -1763,7 +1783,7 @@ interface Style {
1763
1783
  */
1764
1784
  noYodaExpression?: RuleFixConfiguration_for_NoYodaExpressionOptions;
1765
1785
  /**
1766
- * It enables the recommended rules for this group
1786
+ * Enables the recommended rules for this group
1767
1787
  */
1768
1788
  recommended?: boolean;
1769
1789
  /**
@@ -2269,7 +2289,7 @@ interface Suspicious {
2269
2289
  */
2270
2290
  noWith?: RuleConfiguration_for_NoWithOptions;
2271
2291
  /**
2272
- * It enables the recommended rules for this group
2292
+ * Enables the recommended rules for this group
2273
2293
  */
2274
2294
  recommended?: boolean;
2275
2295
  /**
@@ -2805,12 +2825,18 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
2805
2825
  type RuleConfiguration_for_UseYieldOptions =
2806
2826
  | RulePlainConfiguration
2807
2827
  | RuleWithOptions_for_UseYieldOptions;
2828
+ type RuleConfiguration_for_NoDuplicateDependenciesOptions =
2829
+ | RulePlainConfiguration
2830
+ | RuleWithOptions_for_NoDuplicateDependenciesOptions;
2808
2831
  type RuleFixConfiguration_for_NoFloatingPromisesOptions =
2809
2832
  | RulePlainConfiguration
2810
2833
  | RuleWithFixOptions_for_NoFloatingPromisesOptions;
2811
2834
  type RuleConfiguration_for_NoImportCyclesOptions =
2812
2835
  | RulePlainConfiguration
2813
2836
  | RuleWithOptions_for_NoImportCyclesOptions;
2837
+ type RuleConfiguration_for_NoJsxLiteralsOptions =
2838
+ | RulePlainConfiguration
2839
+ | RuleWithOptions_for_NoJsxLiteralsOptions;
2814
2840
  type RuleFixConfiguration_for_NoMisusedPromisesOptions =
2815
2841
  | RulePlainConfiguration
2816
2842
  | RuleWithFixOptions_for_NoMisusedPromisesOptions;
@@ -2835,6 +2861,9 @@ type RuleConfiguration_for_NoUnnecessaryConditionsOptions =
2835
2861
  type RuleConfiguration_for_NoUnresolvedImportsOptions =
2836
2862
  | RulePlainConfiguration
2837
2863
  | RuleWithOptions_for_NoUnresolvedImportsOptions;
2864
+ type RuleFixConfiguration_for_NoUselessCatchBindingOptions =
2865
+ | RulePlainConfiguration
2866
+ | RuleWithFixOptions_for_NoUselessCatchBindingOptions;
2838
2867
  type RuleFixConfiguration_for_NoUselessUndefinedOptions =
2839
2868
  | RulePlainConfiguration
2840
2869
  | RuleWithFixOptions_for_NoUselessUndefinedOptions;
@@ -2850,6 +2879,9 @@ type RuleConfiguration_for_NoVueReservedPropsOptions =
2850
2879
  type RuleConfiguration_for_UseAnchorHrefOptions =
2851
2880
  | RulePlainConfiguration
2852
2881
  | RuleWithOptions_for_UseAnchorHrefOptions;
2882
+ type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
2883
+ | RulePlainConfiguration
2884
+ | RuleWithFixOptions_for_UseConsistentArrowReturnOptions;
2853
2885
  type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
2854
2886
  | RulePlainConfiguration
2855
2887
  | RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
@@ -2874,6 +2906,9 @@ type RuleConfiguration_for_UseReactFunctionComponentsOptions =
2874
2906
  type RuleFixConfiguration_for_UseSortedClassesOptions =
2875
2907
  | RulePlainConfiguration
2876
2908
  | RuleWithFixOptions_for_UseSortedClassesOptions;
2909
+ type RuleConfiguration_for_UseVueMultiWordComponentNamesOptions =
2910
+ | RulePlainConfiguration
2911
+ | RuleWithOptions_for_UseVueMultiWordComponentNamesOptions;
2877
2912
  type RuleConfiguration_for_NoAccumulatingSpreadOptions =
2878
2913
  | RulePlainConfiguration
2879
2914
  | RuleWithOptions_for_NoAccumulatingSpreadOptions;
@@ -5159,6 +5194,16 @@ interface RuleWithOptions_for_UseYieldOptions {
5159
5194
  */
5160
5195
  options: UseYieldOptions;
5161
5196
  }
5197
+ interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
5198
+ /**
5199
+ * The severity of the emitted diagnostics by the rule
5200
+ */
5201
+ level: RulePlainConfiguration;
5202
+ /**
5203
+ * Rule's options
5204
+ */
5205
+ options: NoDuplicateDependenciesOptions;
5206
+ }
5162
5207
  interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
5163
5208
  /**
5164
5209
  * The kind of the code actions emitted by the rule
@@ -5183,6 +5228,16 @@ interface RuleWithOptions_for_NoImportCyclesOptions {
5183
5228
  */
5184
5229
  options: NoImportCyclesOptions;
5185
5230
  }
5231
+ interface RuleWithOptions_for_NoJsxLiteralsOptions {
5232
+ /**
5233
+ * The severity of the emitted diagnostics by the rule
5234
+ */
5235
+ level: RulePlainConfiguration;
5236
+ /**
5237
+ * Rule's options
5238
+ */
5239
+ options: NoJsxLiteralsOptions;
5240
+ }
5186
5241
  interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
5187
5242
  /**
5188
5243
  * The kind of the code actions emitted by the rule
@@ -5267,6 +5322,20 @@ interface RuleWithOptions_for_NoUnresolvedImportsOptions {
5267
5322
  */
5268
5323
  options: NoUnresolvedImportsOptions;
5269
5324
  }
5325
+ interface RuleWithFixOptions_for_NoUselessCatchBindingOptions {
5326
+ /**
5327
+ * The kind of the code actions emitted by the rule
5328
+ */
5329
+ fix?: FixKind;
5330
+ /**
5331
+ * The severity of the emitted diagnostics by the rule
5332
+ */
5333
+ level: RulePlainConfiguration;
5334
+ /**
5335
+ * Rule's options
5336
+ */
5337
+ options: NoUselessCatchBindingOptions;
5338
+ }
5270
5339
  interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
5271
5340
  /**
5272
5341
  * The kind of the code actions emitted by the rule
@@ -5325,6 +5394,20 @@ interface RuleWithOptions_for_UseAnchorHrefOptions {
5325
5394
  */
5326
5395
  options: UseAnchorHrefOptions;
5327
5396
  }
5397
+ interface RuleWithFixOptions_for_UseConsistentArrowReturnOptions {
5398
+ /**
5399
+ * The kind of the code actions emitted by the rule
5400
+ */
5401
+ fix?: FixKind;
5402
+ /**
5403
+ * The severity of the emitted diagnostics by the rule
5404
+ */
5405
+ level: RulePlainConfiguration;
5406
+ /**
5407
+ * Rule's options
5408
+ */
5409
+ options: UseConsistentArrowReturnOptions;
5410
+ }
5328
5411
  interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
5329
5412
  /**
5330
5413
  * The kind of the code actions emitted by the rule
@@ -5417,6 +5500,16 @@ interface RuleWithFixOptions_for_UseSortedClassesOptions {
5417
5500
  */
5418
5501
  options: UseSortedClassesOptions;
5419
5502
  }
5503
+ interface RuleWithOptions_for_UseVueMultiWordComponentNamesOptions {
5504
+ /**
5505
+ * The severity of the emitted diagnostics by the rule
5506
+ */
5507
+ level: RulePlainConfiguration;
5508
+ /**
5509
+ * Rule's options
5510
+ */
5511
+ options: UseVueMultiWordComponentNamesOptions;
5512
+ }
5420
5513
  interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
5421
5514
  /**
5422
5515
  * The severity of the emitted diagnostics by the rule
@@ -7809,6 +7902,7 @@ interface UseUniqueElementIdsOptions {
7809
7902
  interface UseValidForDirectionOptions {}
7810
7903
  interface UseValidTypeofOptions {}
7811
7904
  interface UseYieldOptions {}
7905
+ interface NoDuplicateDependenciesOptions {}
7812
7906
  interface NoFloatingPromisesOptions {}
7813
7907
  interface NoImportCyclesOptions {
7814
7908
  /**
@@ -7816,6 +7910,20 @@ interface NoImportCyclesOptions {
7816
7910
  */
7817
7911
  ignoreTypes?: boolean;
7818
7912
  }
7913
+ interface NoJsxLiteralsOptions {
7914
+ /**
7915
+ * An array of strings that won't trigger the rule. Whitespaces are taken into consideration
7916
+ */
7917
+ allowedStrings?: string[];
7918
+ /**
7919
+ * When enabled, strings inside props are always ignored
7920
+ */
7921
+ ignoreProps?: boolean;
7922
+ /**
7923
+ * When enabled, also flag string literals inside JSX expressions and attributes
7924
+ */
7925
+ noStrings?: boolean;
7926
+ }
7819
7927
  interface NoMisusedPromisesOptions {}
7820
7928
  interface NoNextAsyncClientComponentOptions {}
7821
7929
  interface NoNonNullAssertedOptionalChainOptions {}
@@ -7829,11 +7937,13 @@ interface NoSecretsOptions {
7829
7937
  interface NoShadowOptions {}
7830
7938
  interface NoUnnecessaryConditionsOptions {}
7831
7939
  interface NoUnresolvedImportsOptions {}
7940
+ interface NoUselessCatchBindingOptions {}
7832
7941
  interface NoUselessUndefinedOptions {}
7833
7942
  interface NoVueDataObjectDeclarationOptions {}
7834
7943
  interface NoVueReservedKeysOptions {}
7835
7944
  interface NoVueReservedPropsOptions {}
7836
7945
  type UseAnchorHrefOptions = null;
7946
+ interface UseConsistentArrowReturnOptions {}
7837
7947
  interface UseConsistentTypeDefinitionsOptions {
7838
7948
  style?: ConsistentTypeDefinition;
7839
7949
  }
@@ -7858,6 +7968,12 @@ interface UseSortedClassesOptions {
7858
7968
  */
7859
7969
  functions?: string[];
7860
7970
  }
7971
+ interface UseVueMultiWordComponentNamesOptions {
7972
+ /**
7973
+ * Component names to ignore (allowed to be single-word).
7974
+ */
7975
+ ignores: string[];
7976
+ }
7861
7977
  interface NoAccumulatingSpreadOptions {}
7862
7978
  interface NoAwaitInLoopsOptions {}
7863
7979
  interface NoBarrelFileOptions {}
@@ -8497,25 +8613,26 @@ type Category =
8497
8613
  | "lint/correctness/noVoidElementsWithChildren"
8498
8614
  | "lint/correctness/noVoidTypeReturn"
8499
8615
  | "lint/correctness/useExhaustiveDependencies"
8616
+ | "lint/correctness/useGraphqlNamedOperations"
8500
8617
  | "lint/correctness/useHookAtTopLevel"
8501
8618
  | "lint/correctness/useImportExtensions"
8502
8619
  | "lint/correctness/useIsNan"
8503
8620
  | "lint/correctness/useJsonImportAttributes"
8504
8621
  | "lint/correctness/useJsxKeyInIterable"
8505
- | "lint/correctness/useGraphqlNamedOperations"
8506
8622
  | "lint/correctness/useParseIntRadix"
8507
8623
  | "lint/correctness/useSingleJsDocAsterisk"
8508
8624
  | "lint/correctness/useUniqueElementIds"
8509
8625
  | "lint/correctness/useValidForDirection"
8510
8626
  | "lint/correctness/useValidTypeof"
8511
8627
  | "lint/correctness/useYield"
8512
- | "lint/nursery/noNextAsyncClientComponent"
8513
8628
  | "lint/nursery/noColorInvalidHex"
8514
8629
  | "lint/nursery/noFloatingPromises"
8515
8630
  | "lint/nursery/noImplicitCoercion"
8516
8631
  | "lint/nursery/noImportCycles"
8632
+ | "lint/nursery/noJsxLiterals"
8517
8633
  | "lint/nursery/noMissingGenericFamilyKeyword"
8518
8634
  | "lint/nursery/noMisusedPromises"
8635
+ | "lint/nursery/noNextAsyncClientComponent"
8519
8636
  | "lint/nursery/noNonNullAssertedOptionalChain"
8520
8637
  | "lint/nursery/noQwikUseVisibleTask"
8521
8638
  | "lint/nursery/noSecrets"
@@ -8524,12 +8641,14 @@ type Category =
8524
8641
  | "lint/nursery/noUnresolvedImports"
8525
8642
  | "lint/nursery/noUnwantedPolyfillio"
8526
8643
  | "lint/nursery/noUselessBackrefInRegex"
8644
+ | "lint/nursery/noUselessCatchBinding"
8527
8645
  | "lint/nursery/noUselessUndefined"
8528
8646
  | "lint/nursery/noVueDataObjectDeclaration"
8529
8647
  | "lint/nursery/noVueReservedKeys"
8530
8648
  | "lint/nursery/noVueReservedProps"
8531
8649
  | "lint/nursery/useAnchorHref"
8532
8650
  | "lint/nursery/useBiomeSuppressionComment"
8651
+ | "lint/nursery/useConsistentArrowReturn"
8533
8652
  | "lint/nursery/useConsistentObjectDefinition"
8534
8653
  | "lint/nursery/useConsistentTypeDefinitions"
8535
8654
  | "lint/nursery/useExhaustiveSwitchCases"
@@ -8542,6 +8661,7 @@ type Category =
8542
8661
  | "lint/nursery/useQwikClasslist"
8543
8662
  | "lint/nursery/useReactFunctionComponents"
8544
8663
  | "lint/nursery/useSortedClasses"
8664
+ | "lint/nursery/useVueMultiWordComponentNames"
8545
8665
  | "lint/performance/noAccumulatingSpread"
8546
8666
  | "lint/performance/noAwaitInLoops"
8547
8667
  | "lint/performance/noBarrelFile"
@@ -8656,6 +8776,7 @@ type Category =
8656
8776
  | "lint/suspicious/noDuplicateCase"
8657
8777
  | "lint/suspicious/noDuplicateClassMembers"
8658
8778
  | "lint/suspicious/noDuplicateCustomProperties"
8779
+ | "lint/nursery/noDuplicateDependencies"
8659
8780
  | "lint/suspicious/noDuplicateElseIf"
8660
8781
  | "lint/suspicious/noDuplicateFields"
8661
8782
  | "lint/suspicious/noDuplicateFontNames"
@@ -8707,20 +8828,20 @@ type Category =
8707
8828
  | "lint/suspicious/noUnknownAtRules"
8708
8829
  | "lint/suspicious/noUnsafeDeclarationMerging"
8709
8830
  | "lint/suspicious/noUnsafeNegation"
8710
- | "lint/suspicious/noUselessRegexBackrefs"
8711
8831
  | "lint/suspicious/noUselessEscapeInString"
8832
+ | "lint/suspicious/noUselessRegexBackrefs"
8712
8833
  | "lint/suspicious/noVar"
8713
8834
  | "lint/suspicious/noWith"
8714
8835
  | "lint/suspicious/useAdjacentOverloadSignatures"
8715
8836
  | "lint/suspicious/useAwait"
8716
8837
  | "lint/suspicious/useBiomeIgnoreFolder"
8717
- | "lint/suspicious/useIterableCallbackReturn"
8718
8838
  | "lint/suspicious/useDefaultSwitchClauseLast"
8719
8839
  | "lint/suspicious/useErrorMessage"
8720
8840
  | "lint/suspicious/useGetterReturn"
8721
8841
  | "lint/suspicious/useGoogleFontDisplay"
8722
8842
  | "lint/suspicious/useGuardForIn"
8723
8843
  | "lint/suspicious/useIsArray"
8844
+ | "lint/suspicious/useIterableCallbackReturn"
8724
8845
  | "lint/suspicious/useNamespaceKeyword"
8725
8846
  | "lint/suspicious/useNumberToFixedDigitsArgument"
8726
8847
  | "lint/suspicious/useStaticResponseMethods"
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.2.2",
8
+ "version": "2.2.4",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",