@biomejs/wasm-nodejs 1.6.3 → 1.6.4-nightly.abab451

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
  }
@@ -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
  /**
@@ -882,6 +882,10 @@ interface Nursery {
882
882
  * Disallow focused tests.
883
883
  */
884
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;
885
889
  /**
886
890
  * Disallow the use of namespace imports.
887
891
  */
@@ -898,14 +902,14 @@ interface Nursery {
898
902
  * Disallow specified modules when loaded by import or require.
899
903
  */
900
904
  noRestrictedImports?: RuleConfiguration_for_RestrictedImportsOptions;
901
- /**
902
- * It detects possible "wrong" semicolons inside JSX elements.
903
- */
904
- noSemicolonInJsx?: RuleConfiguration_for_Null;
905
905
  /**
906
906
  * Disallow disabled tests.
907
907
  */
908
908
  noSkippedTests?: RuleConfiguration_for_Null;
909
+ /**
910
+ * It detects possible "wrong" semicolons inside JSX elements.
911
+ */
912
+ noSuspiciousSemicolonInJsx?: RuleConfiguration_for_Null;
909
913
  /**
910
914
  * Disallow the use of dependencies that aren't specified in the package.json.
911
915
  */
@@ -1415,6 +1419,9 @@ type RuleConfiguration_for_ValidAriaRoleOptions =
1415
1419
  type RuleConfiguration_for_ComplexityOptions =
1416
1420
  | RulePlainConfiguration
1417
1421
  | RuleWithOptions_for_ComplexityOptions;
1422
+ type RuleConfiguration_for_UnusedImportsOptions =
1423
+ | RulePlainConfiguration
1424
+ | RuleWithOptions_for_UnusedImportsOptions;
1418
1425
  type RuleConfiguration_for_HooksOptions =
1419
1426
  | RulePlainConfiguration
1420
1427
  | RuleWithOptions_for_HooksOptions;
@@ -1452,6 +1459,10 @@ interface RuleWithOptions_for_ComplexityOptions {
1452
1459
  level: RulePlainConfiguration;
1453
1460
  options: ComplexityOptions;
1454
1461
  }
1462
+ interface RuleWithOptions_for_UnusedImportsOptions {
1463
+ level: RulePlainConfiguration;
1464
+ options: UnusedImportsOptions;
1465
+ }
1455
1466
  interface RuleWithOptions_for_HooksOptions {
1456
1467
  level: RulePlainConfiguration;
1457
1468
  options: HooksOptions;
@@ -1494,6 +1505,12 @@ interface ComplexityOptions {
1494
1505
  */
1495
1506
  maxAllowedComplexity: number;
1496
1507
  }
1508
+ interface UnusedImportsOptions {
1509
+ /**
1510
+ * Ignore `React` imports from the `react` package when set to `true`.
1511
+ */
1512
+ ignoreReact: boolean;
1513
+ }
1497
1514
  interface HooksOptions {
1498
1515
  /**
1499
1516
  * List of hooks of which the dependencies should be validated.
@@ -1797,12 +1814,13 @@ type Category =
1797
1814
  | "lint/nursery/noExcessiveNestedTestSuites"
1798
1815
  | "lint/nursery/noExportsInTest"
1799
1816
  | "lint/nursery/noFocusedTests"
1817
+ | "lint/nursery/noMisplacedAssertion"
1800
1818
  | "lint/nursery/noNamespaceImport"
1801
1819
  | "lint/nursery/noNodejsModules"
1802
1820
  | "lint/nursery/noReExportAll"
1803
1821
  | "lint/nursery/noRestrictedImports"
1804
- | "lint/nursery/noSemicolonInJsx"
1805
1822
  | "lint/nursery/noSkippedTests"
1823
+ | "lint/nursery/noSuspiciousSemicolonInJsx"
1806
1824
  | "lint/nursery/noTypeOnlyImportAttributes"
1807
1825
  | "lint/nursery/noUndeclaredDependencies"
1808
1826
  | "lint/nursery/noUselessTernary"
@@ -1916,6 +1934,7 @@ type Category =
1916
1934
  | "migrate"
1917
1935
  | "deserialize"
1918
1936
  | "project"
1937
+ | "search"
1919
1938
  | "internalError/io"
1920
1939
  | "internalError/fs"
1921
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.3","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.abab451","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"]}