@biomejs/wasm-nodejs 1.4.1-nightly.bc772a3 → 1.4.1-nightly.e087146

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
@@ -21,6 +21,8 @@ type SupportKind =
21
21
  | "FileNotSupported";
22
22
  interface UpdateSettingsParams {
23
23
  configuration: Configuration;
24
+ gitignore_matches: string[];
25
+ vcs_base_path?: string;
24
26
  }
25
27
  interface Configuration {
26
28
  /**
@@ -769,6 +771,10 @@ interface Nursery {
769
771
  * Disallow unnecessary nested block statements.
770
772
  */
771
773
  noUselessLoneBlockStatements?: RuleConfiguration;
774
+ /**
775
+ * Disallow ternary operators when simpler alternatives exist.
776
+ */
777
+ noUselessTernary?: RuleConfiguration;
772
778
  /**
773
779
  * It enables the recommended rules for this group
774
780
  */
@@ -777,6 +783,10 @@ interface Nursery {
777
783
  * Ensure async functions utilize await.
778
784
  */
779
785
  useAwait?: RuleConfiguration;
786
+ /**
787
+ * Promotes the use of export type for types.
788
+ */
789
+ useExportType?: RuleConfiguration;
780
790
  /**
781
791
  * This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
782
792
  */
@@ -1438,14 +1448,16 @@ type Category =
1438
1448
  | "lint/nursery/noUnusedImports"
1439
1449
  | "lint/nursery/noUnusedPrivateClassMembers"
1440
1450
  | "lint/nursery/noUselessLoneBlockStatements"
1451
+ | "lint/nursery/noUselessTernary"
1441
1452
  | "lint/nursery/useAwait"
1442
1453
  | "lint/nursery/useBiomeSuppressionComment"
1454
+ | "lint/nursery/useExportType"
1443
1455
  | "lint/nursery/useForOf"
1444
1456
  | "lint/nursery/useGroupedTypeImport"
1445
1457
  | "lint/nursery/useImportRestrictions"
1446
1458
  | "lint/nursery/useRegexLiterals"
1447
- | "lint/nursery/useValidAriaRole"
1448
1459
  | "lint/nursery/useShorthandFunctionType"
1460
+ | "lint/nursery/useValidAriaRole"
1449
1461
  | "lint/performance/noAccumulatingSpread"
1450
1462
  | "lint/performance/noDelete"
1451
1463
  | "lint/security/noDangerouslySetInnerHtml"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.bc772a3","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.e087146","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}