@biomejs/wasm-web 2.1.2 → 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,10 @@ 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;
1513
1521
  /**
1514
1522
  * Disallow reserved names to be used as props.
1515
1523
  */
@@ -1582,6 +1590,10 @@ interface Nursery {
1582
1590
  * Enforce the consistent use of the radix argument when using parseInt().
1583
1591
  */
1584
1592
  useParseIntRadix?: RuleFixConfiguration_for_UseParseIntRadixOptions;
1593
+ /**
1594
+ * Enforce that components are defined as functions and never as classes.
1595
+ */
1596
+ useReactFunctionComponents?: RuleConfiguration_for_UseReactFunctionComponentsOptions;
1585
1597
  /**
1586
1598
  * Enforce marking members as readonly if they are never modified outside the constructor.
1587
1599
  */
@@ -2724,6 +2736,9 @@ type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
2724
2736
  type RuleFixConfiguration_for_NoProcessGlobalOptions =
2725
2737
  | RulePlainConfiguration
2726
2738
  | RuleWithFixOptions_for_NoProcessGlobalOptions;
2739
+ type RuleFixConfiguration_for_NoQuickfixBiomeOptions =
2740
+ | RulePlainConfiguration
2741
+ | RuleWithFixOptions_for_NoQuickfixBiomeOptions;
2727
2742
  type RuleConfiguration_for_NoReactPropAssignOptions =
2728
2743
  | RulePlainConfiguration
2729
2744
  | RuleWithOptions_for_NoReactPropAssignOptions;
@@ -2760,6 +2775,9 @@ type RuleFixConfiguration_for_NoUselessEscapeInStringOptions =
2760
2775
  type RuleFixConfiguration_for_NoUselessUndefinedOptions =
2761
2776
  | RulePlainConfiguration
2762
2777
  | RuleWithFixOptions_for_NoUselessUndefinedOptions;
2778
+ type RuleConfiguration_for_NoVueReservedKeysOptions =
2779
+ | RulePlainConfiguration
2780
+ | RuleWithOptions_for_NoVueReservedKeysOptions;
2763
2781
  type RuleConfiguration_for_NoVueReservedPropsOptions =
2764
2782
  | RulePlainConfiguration
2765
2783
  | RuleWithOptions_for_NoVueReservedPropsOptions;
@@ -2811,6 +2829,9 @@ type RuleFixConfiguration_for_UseObjectSpreadOptions =
2811
2829
  type RuleFixConfiguration_for_UseParseIntRadixOptions =
2812
2830
  | RulePlainConfiguration
2813
2831
  | RuleWithFixOptions_for_UseParseIntRadixOptions;
2832
+ type RuleConfiguration_for_UseReactFunctionComponentsOptions =
2833
+ | RulePlainConfiguration
2834
+ | RuleWithOptions_for_UseReactFunctionComponentsOptions;
2814
2835
  type RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions =
2815
2836
  | RulePlainConfiguration
2816
2837
  | RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions;
@@ -5009,6 +5030,20 @@ interface RuleWithFixOptions_for_NoProcessGlobalOptions {
5009
5030
  */
5010
5031
  options: NoProcessGlobalOptions;
5011
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
+ }
5012
5047
  interface RuleWithOptions_for_NoReactPropAssignOptions {
5013
5048
  /**
5014
5049
  * The severity of the emitted diagnostics by the rule
@@ -5141,6 +5176,16 @@ interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
5141
5176
  */
5142
5177
  options: NoUselessUndefinedOptions;
5143
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
+ }
5144
5189
  interface RuleWithOptions_for_NoVueReservedPropsOptions {
5145
5190
  /**
5146
5191
  * The severity of the emitted diagnostics by the rule
@@ -5351,6 +5396,16 @@ interface RuleWithFixOptions_for_UseParseIntRadixOptions {
5351
5396
  */
5352
5397
  options: UseParseIntRadixOptions;
5353
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
+ }
5354
5409
  interface RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions {
5355
5410
  /**
5356
5411
  * The kind of the code actions emitted by the rule
@@ -7504,6 +7559,12 @@ interface NoMisusedPromisesOptions {}
7504
7559
  interface NoNestedComponentDefinitionsOptions {}
7505
7560
  interface NoNoninteractiveElementInteractionsOptions {}
7506
7561
  interface NoProcessGlobalOptions {}
7562
+ interface NoQuickfixBiomeOptions {
7563
+ /**
7564
+ * A list of additional JSON files that should be checked.
7565
+ */
7566
+ additionalPaths?: string[];
7567
+ }
7507
7568
  interface NoReactPropAssignOptions {}
7508
7569
  interface NoRestrictedElementsOptions {
7509
7570
  /**
@@ -7526,6 +7587,7 @@ interface NoUnwantedPolyfillioOptions {}
7526
7587
  interface NoUselessBackrefInRegexOptions {}
7527
7588
  interface NoUselessEscapeInStringOptions {}
7528
7589
  interface NoUselessUndefinedOptions {}
7590
+ interface NoVueReservedKeysOptions {}
7529
7591
  interface NoVueReservedPropsOptions {}
7530
7592
  interface UseAdjacentGetterSetterOptions {}
7531
7593
  interface UseConsistentObjectDefinitionOptions {
@@ -7561,6 +7623,7 @@ interface UseNamingConventionOptions {
7561
7623
  interface UseNumericSeparatorsOptions {}
7562
7624
  interface UseObjectSpreadOptions {}
7563
7625
  interface UseParseIntRadixOptions {}
7626
+ interface UseReactFunctionComponentsOptions {}
7564
7627
  interface UseReadonlyClassPropertiesOptions {
7565
7628
  /**
7566
7629
  * When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
@@ -8162,6 +8225,7 @@ type Category =
8162
8225
  | "lint/nursery/noNestedComponentDefinitions"
8163
8226
  | "lint/nursery/noNoninteractiveElementInteractions"
8164
8227
  | "lint/nursery/noProcessGlobal"
8228
+ | "lint/nursery/noQuickfixBiome"
8165
8229
  | "lint/nursery/noReactPropAssign"
8166
8230
  | "lint/nursery/noReactSpecificProps"
8167
8231
  | "lint/nursery/noRestrictedElements"
@@ -8184,6 +8248,7 @@ type Category =
8184
8248
  | "lint/nursery/noUselessBackrefInRegex"
8185
8249
  | "lint/nursery/noUselessEscapeInString"
8186
8250
  | "lint/nursery/noUselessUndefined"
8251
+ | "lint/nursery/noVueReservedKeys"
8187
8252
  | "lint/nursery/noVueReservedProps"
8188
8253
  | "lint/nursery/useAdjacentGetterSetter"
8189
8254
  | "lint/nursery/useBiomeSuppressionComment"
@@ -8194,6 +8259,7 @@ type Category =
8194
8259
  | "lint/nursery/useExplicitType"
8195
8260
  | "lint/nursery/useExportsLast"
8196
8261
  | "lint/nursery/useForComponent"
8262
+ | "lint/nursery/useReactFunctionComponents"
8197
8263
  | "lint/nursery/useGoogleFontPreconnect"
8198
8264
  | "lint/nursery/useImportRestrictions"
8199
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.2",
8
+ "version": "2.1.3",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",