@biomejs/wasm-web 1.6.2 → 1.6.4
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 +20 -9
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
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
|
|
270
|
+
* The attribute position style in jsx elements. Defaults to auto.
|
|
271
271
|
*/
|
|
272
272
|
attributePosition?: AttributePosition;
|
|
273
273
|
/**
|
|
@@ -843,7 +843,7 @@ interface Nursery {
|
|
|
843
843
|
*/
|
|
844
844
|
noBarrelFile?: RuleConfiguration_for_Null;
|
|
845
845
|
/**
|
|
846
|
-
*
|
|
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
|
*/
|
|
@@ -1789,15 +1797,17 @@ type Category =
|
|
|
1789
1797
|
| "lint/nursery/noDuplicateElseIf"
|
|
1790
1798
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1791
1799
|
| "lint/nursery/noDuplicateTestHooks"
|
|
1800
|
+
| "lint/nursery/noEvolvingAny"
|
|
1792
1801
|
| "lint/nursery/noExcessiveNestedTestSuites"
|
|
1793
1802
|
| "lint/nursery/noExportsInTest"
|
|
1794
1803
|
| "lint/nursery/noFocusedTests"
|
|
1804
|
+
| "lint/nursery/noMisplacedAssertion"
|
|
1795
1805
|
| "lint/nursery/noNamespaceImport"
|
|
1796
1806
|
| "lint/nursery/noNodejsModules"
|
|
1797
1807
|
| "lint/nursery/noReExportAll"
|
|
1798
1808
|
| "lint/nursery/noRestrictedImports"
|
|
1799
|
-
| "lint/nursery/noSemicolonInJsx"
|
|
1800
1809
|
| "lint/nursery/noSkippedTests"
|
|
1810
|
+
| "lint/nursery/noSuspiciousSemicolonInJsx"
|
|
1801
1811
|
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
1802
1812
|
| "lint/nursery/noUndeclaredDependencies"
|
|
1803
1813
|
| "lint/nursery/noUselessTernary"
|
|
@@ -1911,6 +1921,7 @@ type Category =
|
|
|
1911
1921
|
| "migrate"
|
|
1912
1922
|
| "deserialize"
|
|
1913
1923
|
| "project"
|
|
1924
|
+
| "search"
|
|
1914
1925
|
| "internalError/io"
|
|
1915
1926
|
| "internalError/fs"
|
|
1916
1927
|
| "internalError/panic"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.6.
|
|
1
|
+
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.6.4","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"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}
|