@biomejs/wasm-nodejs 2.3.0 → 2.3.2

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
@@ -1533,6 +1533,10 @@ interface Nursery {
1533
1533
  * Prevent import cycles.
1534
1534
  */
1535
1535
  noImportCycles?: RuleConfiguration_for_NoImportCyclesOptions;
1536
+ /**
1537
+ * Disallows the usage of the unary operators ++ and --.
1538
+ */
1539
+ noIncrementDecrement?: RuleConfiguration_for_NoIncrementDecrementOptions;
1536
1540
  /**
1537
1541
  * Disallow string literals inside JSX elements.
1538
1542
  */
@@ -2898,6 +2902,9 @@ type RuleFixConfiguration_for_NoFloatingPromisesOptions =
2898
2902
  type RuleConfiguration_for_NoImportCyclesOptions =
2899
2903
  | RulePlainConfiguration
2900
2904
  | RuleWithOptions_for_NoImportCyclesOptions;
2905
+ type RuleConfiguration_for_NoIncrementDecrementOptions =
2906
+ | RulePlainConfiguration
2907
+ | RuleWithOptions_for_NoIncrementDecrementOptions;
2901
2908
  type RuleConfiguration_for_NoJsxLiteralsOptions =
2902
2909
  | RulePlainConfiguration
2903
2910
  | RuleWithOptions_for_NoJsxLiteralsOptions;
@@ -5351,6 +5358,16 @@ interface RuleWithOptions_for_NoImportCyclesOptions {
5351
5358
  */
5352
5359
  options: NoImportCyclesOptions;
5353
5360
  }
5361
+ interface RuleWithOptions_for_NoIncrementDecrementOptions {
5362
+ /**
5363
+ * The severity of the emitted diagnostics by the rule
5364
+ */
5365
+ level: RulePlainConfiguration;
5366
+ /**
5367
+ * Rule's options
5368
+ */
5369
+ options: NoIncrementDecrementOptions;
5370
+ }
5354
5371
  interface RuleWithOptions_for_NoJsxLiteralsOptions {
5355
5372
  /**
5356
5373
  * The severity of the emitted diagnostics by the rule
@@ -8081,6 +8098,12 @@ interface NoImportCyclesOptions {
8081
8098
  */
8082
8099
  ignoreTypes?: boolean;
8083
8100
  }
8101
+ interface NoIncrementDecrementOptions {
8102
+ /**
8103
+ * Allows unary operators ++ and -- in the afterthought (final expression) of a for loop.
8104
+ */
8105
+ allowForLoopAfterthoughts?: boolean;
8106
+ }
8084
8107
  interface NoJsxLiteralsOptions {
8085
8108
  /**
8086
8109
  * An array of strings that won't trigger the rule. Whitespaces are taken into consideration
@@ -8833,6 +8856,7 @@ type Category =
8833
8856
  | "lint/nursery/noFloatingPromises"
8834
8857
  | "lint/nursery/noImplicitCoercion"
8835
8858
  | "lint/nursery/noImportCycles"
8859
+ | "lint/nursery/noIncrementDecrement"
8836
8860
  | "lint/nursery/noJsxLiterals"
8837
8861
  | "lint/nursery/noMissingGenericFamilyKeyword"
8838
8862
  | "lint/nursery/noMisusedPromises"
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Biome Developers and Contributors"
5
5
  ],
6
6
  "description": "WebAssembly bindings to the Biome workspace API",
7
- "version": "2.3.0",
7
+ "version": "2.3.2",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",