@biomejs/wasm-web 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/biome_wasm.d.ts CHANGED
@@ -1462,6 +1462,10 @@ interface Nursery {
1462
1462
  * Disallow the use of process global.
1463
1463
  */
1464
1464
  noProcessGlobal?: RuleFixConfiguration_for_NoProcessGlobalOptions;
1465
+ /**
1466
+ * Disallow the use if quickfix.biome inside editor settings file.
1467
+ */
1468
+ noQuickfixBiome?: RuleFixConfiguration_for_NoQuickfixBiomeOptions;
1465
1469
  /**
1466
1470
  * Disallow assigning to React component props.
1467
1471
  */
@@ -1510,6 +1514,14 @@ interface Nursery {
1510
1514
  * Disallow the use of useless undefined.
1511
1515
  */
1512
1516
  noUselessUndefined?: RuleFixConfiguration_for_NoUselessUndefinedOptions;
1517
+ /**
1518
+ * Disallow reserved keys in Vue component data and computed properties.
1519
+ */
1520
+ noVueReservedKeys?: RuleConfiguration_for_NoVueReservedKeysOptions;
1521
+ /**
1522
+ * Disallow reserved names to be used as props.
1523
+ */
1524
+ noVueReservedProps?: RuleConfiguration_for_NoVueReservedPropsOptions;
1513
1525
  /**
1514
1526
  * It enables the recommended rules for this group
1515
1527
  */
@@ -1578,6 +1590,10 @@ interface Nursery {
1578
1590
  * Enforce the consistent use of the radix argument when using parseInt().
1579
1591
  */
1580
1592
  useParseIntRadix?: RuleFixConfiguration_for_UseParseIntRadixOptions;
1593
+ /**
1594
+ * Enforce that components are defined as functions and never as classes.
1595
+ */
1596
+ useReactFunctionComponents?: RuleConfiguration_for_UseReactFunctionComponentsOptions;
1581
1597
  /**
1582
1598
  * Enforce marking members as readonly if they are never modified outside the constructor.
1583
1599
  */
@@ -2720,6 +2736,9 @@ type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
2720
2736
  type RuleFixConfiguration_for_NoProcessGlobalOptions =
2721
2737
  | RulePlainConfiguration
2722
2738
  | RuleWithFixOptions_for_NoProcessGlobalOptions;
2739
+ type RuleFixConfiguration_for_NoQuickfixBiomeOptions =
2740
+ | RulePlainConfiguration
2741
+ | RuleWithFixOptions_for_NoQuickfixBiomeOptions;
2723
2742
  type RuleConfiguration_for_NoReactPropAssignOptions =
2724
2743
  | RulePlainConfiguration
2725
2744
  | RuleWithOptions_for_NoReactPropAssignOptions;
@@ -2756,6 +2775,12 @@ type RuleFixConfiguration_for_NoUselessEscapeInStringOptions =
2756
2775
  type RuleFixConfiguration_for_NoUselessUndefinedOptions =
2757
2776
  | RulePlainConfiguration
2758
2777
  | RuleWithFixOptions_for_NoUselessUndefinedOptions;
2778
+ type RuleConfiguration_for_NoVueReservedKeysOptions =
2779
+ | RulePlainConfiguration
2780
+ | RuleWithOptions_for_NoVueReservedKeysOptions;
2781
+ type RuleConfiguration_for_NoVueReservedPropsOptions =
2782
+ | RulePlainConfiguration
2783
+ | RuleWithOptions_for_NoVueReservedPropsOptions;
2759
2784
  type RuleConfiguration_for_UseAdjacentGetterSetterOptions =
2760
2785
  | RulePlainConfiguration
2761
2786
  | RuleWithOptions_for_UseAdjacentGetterSetterOptions;
@@ -2804,6 +2829,9 @@ type RuleFixConfiguration_for_UseObjectSpreadOptions =
2804
2829
  type RuleFixConfiguration_for_UseParseIntRadixOptions =
2805
2830
  | RulePlainConfiguration
2806
2831
  | RuleWithFixOptions_for_UseParseIntRadixOptions;
2832
+ type RuleConfiguration_for_UseReactFunctionComponentsOptions =
2833
+ | RulePlainConfiguration
2834
+ | RuleWithOptions_for_UseReactFunctionComponentsOptions;
2807
2835
  type RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions =
2808
2836
  | RulePlainConfiguration
2809
2837
  | RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions;
@@ -5002,6 +5030,20 @@ interface RuleWithFixOptions_for_NoProcessGlobalOptions {
5002
5030
  */
5003
5031
  options: NoProcessGlobalOptions;
5004
5032
  }
5033
+ interface RuleWithFixOptions_for_NoQuickfixBiomeOptions {
5034
+ /**
5035
+ * The kind of the code actions emitted by the rule
5036
+ */
5037
+ fix?: FixKind;
5038
+ /**
5039
+ * The severity of the emitted diagnostics by the rule
5040
+ */
5041
+ level: RulePlainConfiguration;
5042
+ /**
5043
+ * Rule's options
5044
+ */
5045
+ options: NoQuickfixBiomeOptions;
5046
+ }
5005
5047
  interface RuleWithOptions_for_NoReactPropAssignOptions {
5006
5048
  /**
5007
5049
  * The severity of the emitted diagnostics by the rule
@@ -5134,6 +5176,26 @@ interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
5134
5176
  */
5135
5177
  options: NoUselessUndefinedOptions;
5136
5178
  }
5179
+ interface RuleWithOptions_for_NoVueReservedKeysOptions {
5180
+ /**
5181
+ * The severity of the emitted diagnostics by the rule
5182
+ */
5183
+ level: RulePlainConfiguration;
5184
+ /**
5185
+ * Rule's options
5186
+ */
5187
+ options: NoVueReservedKeysOptions;
5188
+ }
5189
+ interface RuleWithOptions_for_NoVueReservedPropsOptions {
5190
+ /**
5191
+ * The severity of the emitted diagnostics by the rule
5192
+ */
5193
+ level: RulePlainConfiguration;
5194
+ /**
5195
+ * Rule's options
5196
+ */
5197
+ options: NoVueReservedPropsOptions;
5198
+ }
5137
5199
  interface RuleWithOptions_for_UseAdjacentGetterSetterOptions {
5138
5200
  /**
5139
5201
  * The severity of the emitted diagnostics by the rule
@@ -5334,6 +5396,16 @@ interface RuleWithFixOptions_for_UseParseIntRadixOptions {
5334
5396
  */
5335
5397
  options: UseParseIntRadixOptions;
5336
5398
  }
5399
+ interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
5400
+ /**
5401
+ * The severity of the emitted diagnostics by the rule
5402
+ */
5403
+ level: RulePlainConfiguration;
5404
+ /**
5405
+ * Rule's options
5406
+ */
5407
+ options: UseReactFunctionComponentsOptions;
5408
+ }
5337
5409
  interface RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions {
5338
5410
  /**
5339
5411
  * The kind of the code actions emitted by the rule
@@ -7487,6 +7559,12 @@ interface NoMisusedPromisesOptions {}
7487
7559
  interface NoNestedComponentDefinitionsOptions {}
7488
7560
  interface NoNoninteractiveElementInteractionsOptions {}
7489
7561
  interface NoProcessGlobalOptions {}
7562
+ interface NoQuickfixBiomeOptions {
7563
+ /**
7564
+ * A list of additional JSON files that should be checked.
7565
+ */
7566
+ additionalPaths?: string[];
7567
+ }
7490
7568
  interface NoReactPropAssignOptions {}
7491
7569
  interface NoRestrictedElementsOptions {
7492
7570
  /**
@@ -7509,6 +7587,8 @@ interface NoUnwantedPolyfillioOptions {}
7509
7587
  interface NoUselessBackrefInRegexOptions {}
7510
7588
  interface NoUselessEscapeInStringOptions {}
7511
7589
  interface NoUselessUndefinedOptions {}
7590
+ interface NoVueReservedKeysOptions {}
7591
+ interface NoVueReservedPropsOptions {}
7512
7592
  interface UseAdjacentGetterSetterOptions {}
7513
7593
  interface UseConsistentObjectDefinitionOptions {
7514
7594
  /**
@@ -7543,6 +7623,7 @@ interface UseNamingConventionOptions {
7543
7623
  interface UseNumericSeparatorsOptions {}
7544
7624
  interface UseObjectSpreadOptions {}
7545
7625
  interface UseParseIntRadixOptions {}
7626
+ interface UseReactFunctionComponentsOptions {}
7546
7627
  interface UseReadonlyClassPropertiesOptions {
7547
7628
  /**
7548
7629
  * When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
@@ -7562,7 +7643,12 @@ interface UseSortedClassesOptions {
7562
7643
  }
7563
7644
  interface UseSymbolDescriptionOptions {}
7564
7645
  interface UseUnifiedTypeSignatureOptions {}
7565
- interface UseUniqueElementIdsOptions {}
7646
+ interface UseUniqueElementIdsOptions {
7647
+ /**
7648
+ * Component names that accept an `id` prop that does not translate to a DOM element id.
7649
+ */
7650
+ excludedComponents?: string[];
7651
+ }
7566
7652
  interface NoAccumulatingSpreadOptions {}
7567
7653
  interface NoBarrelFileOptions {}
7568
7654
  interface NoDeleteOptions {}
@@ -8139,6 +8225,7 @@ type Category =
8139
8225
  | "lint/nursery/noNestedComponentDefinitions"
8140
8226
  | "lint/nursery/noNoninteractiveElementInteractions"
8141
8227
  | "lint/nursery/noProcessGlobal"
8228
+ | "lint/nursery/noQuickfixBiome"
8142
8229
  | "lint/nursery/noReactPropAssign"
8143
8230
  | "lint/nursery/noReactSpecificProps"
8144
8231
  | "lint/nursery/noRestrictedElements"
@@ -8161,6 +8248,8 @@ type Category =
8161
8248
  | "lint/nursery/noUselessBackrefInRegex"
8162
8249
  | "lint/nursery/noUselessEscapeInString"
8163
8250
  | "lint/nursery/noUselessUndefined"
8251
+ | "lint/nursery/noVueReservedKeys"
8252
+ | "lint/nursery/noVueReservedProps"
8164
8253
  | "lint/nursery/useAdjacentGetterSetter"
8165
8254
  | "lint/nursery/useBiomeSuppressionComment"
8166
8255
  | "lint/nursery/useConsistentObjectDefinition"
@@ -8170,6 +8259,7 @@ type Category =
8170
8259
  | "lint/nursery/useExplicitType"
8171
8260
  | "lint/nursery/useExportsLast"
8172
8261
  | "lint/nursery/useForComponent"
8262
+ | "lint/nursery/useReactFunctionComponents"
8173
8263
  | "lint/nursery/useGoogleFontPreconnect"
8174
8264
  | "lint/nursery/useImportRestrictions"
8175
8265
  | "lint/nursery/useIndexOf"
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.1.1",
8
+ "version": "2.1.3",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",