@biomejs/wasm-nodejs 1.6.2 → 1.6.4-nightly.a995ada

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
@@ -7,7 +7,7 @@ interface SupportsFeatureParams {
7
7
  features: FeatureName[];
8
8
  path: BiomePath;
9
9
  }
10
- type FeatureName = "Format" | "Lint" | "OrganizeImports";
10
+ type FeatureName = "Format" | "Lint" | "OrganizeImports" | "Search";
11
11
  interface BiomePath {
12
12
  path: string;
13
13
  }
@@ -103,7 +103,7 @@ interface PartialFilesConfiguration {
103
103
  }
104
104
  interface PartialFormatterConfiguration {
105
105
  /**
106
- * The attribute position style. By default auto.
106
+ * The attribute position style in HTMLish languages. By default auto.
107
107
  */
108
108
  attributePosition?: AttributePosition;
109
109
  enabled?: boolean;
@@ -267,7 +267,7 @@ interface PartialJavascriptFormatter {
267
267
  */
268
268
  arrowParentheses?: ArrowParentheses;
269
269
  /**
270
- * The attribute position style in JavaScript code. Defaults to auto.
270
+ * The attribute position style in jsx elements. Defaults to auto.
271
271
  */
272
272
  attributePosition?: AttributePosition;
273
273
  /**
@@ -787,7 +787,7 @@ interface Correctness {
787
787
  /**
788
788
  * Disallow unused imports.
789
789
  */
790
- noUnusedImports?: RuleConfiguration_for_Null;
790
+ noUnusedImports?: RuleConfiguration_for_UnusedImportsOptions;
791
791
  /**
792
792
  * Disallow unused labels.
793
793
  */
@@ -843,7 +843,7 @@ interface Nursery {
843
843
  */
844
844
  noBarrelFile?: RuleConfiguration_for_Null;
845
845
  /**
846
- * Succinct description of the rule.
846
+ * [WIP] This rule hasn't been implemented yet.
847
847
  */
848
848
  noColorInvalidHex?: RuleConfiguration_for_Null;
849
849
  /**
@@ -866,6 +866,10 @@ interface Nursery {
866
866
  * A describe block should not contain duplicate hooks.
867
867
  */
868
868
  noDuplicateTestHooks?: RuleConfiguration_for_Null;
869
+ /**
870
+ * Disallow variables from evolving into any type through reassignments.
871
+ */
872
+ noEvolvingAny?: RuleConfiguration_for_Null;
869
873
  /**
870
874
  * This rule enforces a maximum depth to nested describe() in test files.
871
875
  */
@@ -878,6 +882,10 @@ interface Nursery {
878
882
  * Disallow focused tests.
879
883
  */
880
884
  noFocusedTests?: RuleConfiguration_for_Null;
885
+ /**
886
+ * Checks that the assertion function, for example expect, is placed inside an it() function call.
887
+ */
888
+ noMisplacedAssertion?: RuleConfiguration_for_Null;
881
889
  /**
882
890
  * Disallow the use of namespace imports.
883
891
  */
@@ -894,14 +902,14 @@ interface Nursery {
894
902
  * Disallow specified modules when loaded by import or require.
895
903
  */
896
904
  noRestrictedImports?: RuleConfiguration_for_RestrictedImportsOptions;
897
- /**
898
- * It detects possible "wrong" semicolons inside JSX elements.
899
- */
900
- noSemicolonInJsx?: RuleConfiguration_for_Null;
901
905
  /**
902
906
  * Disallow disabled tests.
903
907
  */
904
908
  noSkippedTests?: RuleConfiguration_for_Null;
909
+ /**
910
+ * It detects possible "wrong" semicolons inside JSX elements.
911
+ */
912
+ noSuspiciousSemicolonInJsx?: RuleConfiguration_for_Null;
905
913
  /**
906
914
  * Disallow the use of dependencies that aren't specified in the package.json.
907
915
  */
@@ -1411,6 +1419,9 @@ type RuleConfiguration_for_ValidAriaRoleOptions =
1411
1419
  type RuleConfiguration_for_ComplexityOptions =
1412
1420
  | RulePlainConfiguration
1413
1421
  | RuleWithOptions_for_ComplexityOptions;
1422
+ type RuleConfiguration_for_UnusedImportsOptions =
1423
+ | RulePlainConfiguration
1424
+ | RuleWithOptions_for_UnusedImportsOptions;
1414
1425
  type RuleConfiguration_for_HooksOptions =
1415
1426
  | RulePlainConfiguration
1416
1427
  | RuleWithOptions_for_HooksOptions;
@@ -1448,6 +1459,10 @@ interface RuleWithOptions_for_ComplexityOptions {
1448
1459
  level: RulePlainConfiguration;
1449
1460
  options: ComplexityOptions;
1450
1461
  }
1462
+ interface RuleWithOptions_for_UnusedImportsOptions {
1463
+ level: RulePlainConfiguration;
1464
+ options: UnusedImportsOptions;
1465
+ }
1451
1466
  interface RuleWithOptions_for_HooksOptions {
1452
1467
  level: RulePlainConfiguration;
1453
1468
  options: HooksOptions;
@@ -1490,6 +1505,12 @@ interface ComplexityOptions {
1490
1505
  */
1491
1506
  maxAllowedComplexity: number;
1492
1507
  }
1508
+ interface UnusedImportsOptions {
1509
+ /**
1510
+ * Ignore `React` imports from the `react` package when set to `true`.
1511
+ */
1512
+ ignoreReact: boolean;
1513
+ }
1493
1514
  interface HooksOptions {
1494
1515
  /**
1495
1516
  * List of hooks of which the dependencies should be validated.
@@ -1789,15 +1810,17 @@ type Category =
1789
1810
  | "lint/nursery/noDuplicateElseIf"
1790
1811
  | "lint/nursery/noDuplicateJsonKeys"
1791
1812
  | "lint/nursery/noDuplicateTestHooks"
1813
+ | "lint/nursery/noEvolvingAny"
1792
1814
  | "lint/nursery/noExcessiveNestedTestSuites"
1793
1815
  | "lint/nursery/noExportsInTest"
1794
1816
  | "lint/nursery/noFocusedTests"
1817
+ | "lint/nursery/noMisplacedAssertion"
1795
1818
  | "lint/nursery/noNamespaceImport"
1796
1819
  | "lint/nursery/noNodejsModules"
1797
1820
  | "lint/nursery/noReExportAll"
1798
1821
  | "lint/nursery/noRestrictedImports"
1799
- | "lint/nursery/noSemicolonInJsx"
1800
1822
  | "lint/nursery/noSkippedTests"
1823
+ | "lint/nursery/noSuspiciousSemicolonInJsx"
1801
1824
  | "lint/nursery/noTypeOnlyImportAttributes"
1802
1825
  | "lint/nursery/noUndeclaredDependencies"
1803
1826
  | "lint/nursery/noUselessTernary"
@@ -1911,6 +1934,7 @@ type Category =
1911
1934
  | "migrate"
1912
1935
  | "deserialize"
1913
1936
  | "project"
1937
+ | "search"
1914
1938
  | "internalError/io"
1915
1939
  | "internalError/fs"
1916
1940
  | "internalError/panic"
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.6.2","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.6.4-nightly.a995ada","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"]}