@biomejs/wasm-web 2.3.14 → 2.3.15

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
@@ -215,7 +215,7 @@ match these patterns.
215
215
  * Use any `.editorconfig` files to configure the formatter. Configuration
216
216
  in `biome.json` will override `.editorconfig` configuration.
217
217
 
218
- Default: `true`.
218
+ Default: `false`.
219
219
  */
220
220
  useEditorconfig?: Bool;
221
221
  }
@@ -1864,6 +1864,11 @@ See https://biomejs.dev/linter/rules/no-multi-str
1864
1864
  */
1865
1865
  noMultiStr?: NoMultiStrConfiguration;
1866
1866
  /**
1867
+ * Disallow nested .then() or .catch() promise calls.
1868
+ See https://biomejs.dev/linter/rules/no-nested-promises
1869
+ */
1870
+ noNestedPromises?: NoNestedPromisesConfiguration;
1871
+ /**
1867
1872
  * Prevent client components from being async functions.
1868
1873
  See https://biomejs.dev/linter/rules/no-next-async-client-component
1869
1874
  */
@@ -1949,6 +1954,11 @@ See https://biomejs.dev/linter/rules/no-useless-catch-binding
1949
1954
  */
1950
1955
  noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1951
1956
  /**
1957
+ * Disallow redundant return statements.
1958
+ See https://biomejs.dev/linter/rules/no-useless-return
1959
+ */
1960
+ noUselessReturn?: NoUselessReturnConfiguration;
1961
+ /**
1952
1962
  * Disallow the use of useless undefined.
1953
1963
  See https://biomejs.dev/linter/rules/no-useless-undefined
1954
1964
  */
@@ -3708,6 +3718,9 @@ type NoMultiAssignConfiguration =
3708
3718
  type NoMultiStrConfiguration =
3709
3719
  | RulePlainConfiguration
3710
3720
  | RuleWithNoMultiStrOptions;
3721
+ type NoNestedPromisesConfiguration =
3722
+ | RulePlainConfiguration
3723
+ | RuleWithNoNestedPromisesOptions;
3711
3724
  type NoNextAsyncClientComponentConfiguration =
3712
3725
  | RulePlainConfiguration
3713
3726
  | RuleWithNoNextAsyncClientComponentOptions;
@@ -3753,6 +3766,9 @@ type NoUnusedExpressionsConfiguration =
3753
3766
  type NoUselessCatchBindingConfiguration =
3754
3767
  | RulePlainConfiguration
3755
3768
  | RuleWithNoUselessCatchBindingOptions;
3769
+ type NoUselessReturnConfiguration =
3770
+ | RulePlainConfiguration
3771
+ | RuleWithNoUselessReturnOptions;
3756
3772
  type NoUselessUndefinedConfiguration =
3757
3773
  | RulePlainConfiguration
3758
3774
  | RuleWithNoUselessUndefinedOptions;
@@ -5244,6 +5260,10 @@ interface RuleWithNoMultiStrOptions {
5244
5260
  level: RulePlainConfiguration;
5245
5261
  options?: NoMultiStrOptions;
5246
5262
  }
5263
+ interface RuleWithNoNestedPromisesOptions {
5264
+ level: RulePlainConfiguration;
5265
+ options?: NoNestedPromisesOptions;
5266
+ }
5247
5267
  interface RuleWithNoNextAsyncClientComponentOptions {
5248
5268
  level: RulePlainConfiguration;
5249
5269
  options?: NoNextAsyncClientComponentOptions;
@@ -5315,6 +5335,11 @@ interface RuleWithNoUselessCatchBindingOptions {
5315
5335
  level: RulePlainConfiguration;
5316
5336
  options?: NoUselessCatchBindingOptions;
5317
5337
  }
5338
+ interface RuleWithNoUselessReturnOptions {
5339
+ fix?: FixKind;
5340
+ level: RulePlainConfiguration;
5341
+ options?: NoUselessReturnOptions;
5342
+ }
5318
5343
  interface RuleWithNoUselessUndefinedOptions {
5319
5344
  fix?: FixKind;
5320
5345
  level: RulePlainConfiguration;
@@ -6718,6 +6743,7 @@ type NoLeakedRenderOptions = {};
6718
6743
  type NoMisusedPromisesOptions = {};
6719
6744
  type NoMultiAssignOptions = {};
6720
6745
  type NoMultiStrOptions = {};
6746
+ type NoNestedPromisesOptions = {};
6721
6747
  type NoNextAsyncClientComponentOptions = {};
6722
6748
  type NoParametersOnlyUsedInRecursionOptions = {};
6723
6749
  type NoProtoOptions = {};
@@ -6751,6 +6777,7 @@ type NoUnnecessaryConditionsOptions = {};
6751
6777
  type NoUnresolvedImportsOptions = {};
6752
6778
  type NoUnusedExpressionsOptions = {};
6753
6779
  type NoUselessCatchBindingOptions = {};
6780
+ type NoUselessReturnOptions = {};
6754
6781
  type NoUselessUndefinedOptions = {};
6755
6782
  type NoVueArrowFuncInWatchOptions = {};
6756
6783
  type NoVueDataObjectDeclarationOptions = {};
@@ -7612,6 +7639,7 @@ type Category =
7612
7639
  | "lint/nursery/noMisusedPromises"
7613
7640
  | "lint/nursery/noMultiAssign"
7614
7641
  | "lint/nursery/noMultiStr"
7642
+ | "lint/nursery/noNestedPromises"
7615
7643
  | "lint/nursery/noNextAsyncClientComponent"
7616
7644
  | "lint/nursery/noParametersOnlyUsedInRecursion"
7617
7645
  | "lint/nursery/noProto"
@@ -7631,6 +7659,7 @@ type Category =
7631
7659
  | "lint/nursery/noUnwantedPolyfillio"
7632
7660
  | "lint/nursery/noUselessBackrefInRegex"
7633
7661
  | "lint/nursery/noUselessCatchBinding"
7662
+ | "lint/nursery/noUselessReturn"
7634
7663
  | "lint/nursery/noUselessUndefined"
7635
7664
  | "lint/nursery/noVueArrowFuncInWatch"
7636
7665
  | "lint/nursery/noVueDataObjectDeclaration"
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.3.14",
8
+ "version": "2.3.15",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",