@biomejs/wasm-web 1.6.1 → 1.6.2
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 +15 -5
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export function main(): void;
|
|
6
6
|
interface SupportsFeatureParams {
|
|
7
|
-
|
|
7
|
+
features: FeatureName[];
|
|
8
8
|
path: BiomePath;
|
|
9
9
|
}
|
|
10
10
|
type FeatureName = "Format" | "Lint" | "OrganizeImports";
|
|
@@ -842,6 +842,10 @@ interface Nursery {
|
|
|
842
842
|
* Disallow the use of barrel file.
|
|
843
843
|
*/
|
|
844
844
|
noBarrelFile?: RuleConfiguration_for_Null;
|
|
845
|
+
/**
|
|
846
|
+
* Succinct description of the rule.
|
|
847
|
+
*/
|
|
848
|
+
noColorInvalidHex?: RuleConfiguration_for_Null;
|
|
845
849
|
/**
|
|
846
850
|
* Disallow the use of console.
|
|
847
851
|
*/
|
|
@@ -850,6 +854,10 @@ interface Nursery {
|
|
|
850
854
|
* Disallow using a callback in asynchronous tests and hooks.
|
|
851
855
|
*/
|
|
852
856
|
noDoneCallback?: RuleConfiguration_for_Null;
|
|
857
|
+
/**
|
|
858
|
+
* Disallow duplicate conditions in if-else-if chains
|
|
859
|
+
*/
|
|
860
|
+
noDuplicateElseIf?: RuleConfiguration_for_Null;
|
|
853
861
|
/**
|
|
854
862
|
* Disallow two keys with the same name inside a JSON object.
|
|
855
863
|
*/
|
|
@@ -1516,7 +1524,7 @@ interface ConsistentArrayTypeOptions {
|
|
|
1516
1524
|
}
|
|
1517
1525
|
interface FilenamingConventionOptions {
|
|
1518
1526
|
/**
|
|
1519
|
-
* Allowed cases for
|
|
1527
|
+
* Allowed cases for file names.
|
|
1520
1528
|
*/
|
|
1521
1529
|
filenameCases: FilenameCases;
|
|
1522
1530
|
/**
|
|
@@ -1608,8 +1616,8 @@ interface JsFileSource {
|
|
|
1608
1616
|
version: LanguageVersion;
|
|
1609
1617
|
}
|
|
1610
1618
|
interface JsonFileSource {
|
|
1611
|
-
|
|
1612
|
-
|
|
1619
|
+
allow_comments: boolean;
|
|
1620
|
+
allow_trailing_commas: boolean;
|
|
1613
1621
|
}
|
|
1614
1622
|
interface CssFileSource {
|
|
1615
1623
|
variant: CssVariant;
|
|
@@ -1619,7 +1627,6 @@ type Language = "JavaScript" | { TypeScript: { definition_file: boolean } };
|
|
|
1619
1627
|
type ModuleKind = "Script" | "Module";
|
|
1620
1628
|
type LanguageVariant = "Standard" | "StandardRestricted" | "Jsx";
|
|
1621
1629
|
type LanguageVersion = "ES2022" | "ESNext";
|
|
1622
|
-
type JsonVariant = "Standard" | "Jsonc";
|
|
1623
1630
|
type CssVariant = "Standard";
|
|
1624
1631
|
interface ChangeFileParams {
|
|
1625
1632
|
content: string;
|
|
@@ -1773,10 +1780,13 @@ type Category =
|
|
|
1773
1780
|
| "lint/correctness/useIsNan"
|
|
1774
1781
|
| "lint/correctness/useValidForDirection"
|
|
1775
1782
|
| "lint/correctness/useYield"
|
|
1783
|
+
| "lint/nursery/colorNoInvalidHex"
|
|
1776
1784
|
| "lint/nursery/noApproximativeNumericConstant"
|
|
1777
1785
|
| "lint/nursery/noBarrelFile"
|
|
1786
|
+
| "lint/nursery/noColorInvalidHex"
|
|
1778
1787
|
| "lint/nursery/noConsole"
|
|
1779
1788
|
| "lint/nursery/noDoneCallback"
|
|
1789
|
+
| "lint/nursery/noDuplicateElseIf"
|
|
1780
1790
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1781
1791
|
| "lint/nursery/noDuplicateTestHooks"
|
|
1782
1792
|
| "lint/nursery/noExcessiveNestedTestSuites"
|
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.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"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}
|