@biomejs/wasm-nodejs
Advanced tools
Comparing version 1.4.1-nightly.e087146 to 1.4.1-nightly.efc084c
@@ -33,2 +33,6 @@ /* tslint:disable */ | ||
/** | ||
* Specific configuration for the Css language | ||
*/ | ||
css?: CssConfiguration; | ||
/** | ||
* A list of paths to other JSON files, used to extends the current configuration. | ||
@@ -70,2 +74,12 @@ */ | ||
} | ||
interface CssConfiguration { | ||
/** | ||
* Formatting options | ||
*/ | ||
formatter?: CssFormatter; | ||
/** | ||
* Parsing options | ||
*/ | ||
parser?: CssParser; | ||
} | ||
type StringSet = string[]; | ||
@@ -191,2 +205,6 @@ interface FilesConfiguration { | ||
/** | ||
* The main branch of the project | ||
*/ | ||
defaultBranch?: string; | ||
/** | ||
* Whether Biome should integrate itself with the VCS client | ||
@@ -206,2 +224,34 @@ */ | ||
} | ||
interface CssFormatter { | ||
/** | ||
* Control the formatter for CSS (and its super languages) files. | ||
*/ | ||
enabled?: boolean; | ||
/** | ||
* The size of the indentation applied to CSS (and its super languages) files. Default to 2. | ||
*/ | ||
indentSize?: number; | ||
/** | ||
* The indent style applied to CSS (and its super languages) files. | ||
*/ | ||
indentStyle?: PlainIndentStyle; | ||
/** | ||
* The size of the indentation applied to CSS (and its super languages) files. Default to 2. | ||
*/ | ||
indentWidth?: number; | ||
/** | ||
* The type of line ending applied to CSS (and its super languages) files. | ||
*/ | ||
lineEnding?: LineEnding; | ||
/** | ||
* What's the max width of a line applied to CSS (and its super languages) files. Defaults to 80. | ||
*/ | ||
lineWidth?: LineWidth; | ||
} | ||
interface CssParser { | ||
/** | ||
* Allow comments to appear on incorrect lines in `.css` files | ||
*/ | ||
allowWrongLineComments?: boolean; | ||
} | ||
type PlainIndentStyle = "tab" | "space"; | ||
@@ -333,2 +383,6 @@ type LineEnding = "lf" | "crlf" | "cr"; | ||
/** | ||
* Specific configuration for the Css language | ||
*/ | ||
css?: CssConfiguration; | ||
/** | ||
* Specific configuration for the Json language | ||
@@ -764,2 +818,6 @@ */ | ||
/** | ||
* Disallow the use of variables and function parameters before their declaration | ||
*/ | ||
noInvalidUseBeforeDeclaration?: RuleConfiguration; | ||
/** | ||
* Disallow characters made with multiple code points in character class syntax. | ||
@@ -769,2 +827,6 @@ */ | ||
/** | ||
* Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules. | ||
*/ | ||
noNodejsModules?: RuleConfiguration; | ||
/** | ||
* Disallow unused imports. | ||
@@ -810,2 +872,6 @@ */ | ||
/** | ||
* Enforces using the node: protocol for Node.js builtin modules. | ||
*/ | ||
useNodeImportProtocol?: RuleConfiguration; | ||
/** | ||
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible. | ||
@@ -1304,2 +1370,3 @@ */ | ||
| "Jsonc" | ||
| "Css" | ||
| "Unknown"; | ||
@@ -1456,3 +1523,6 @@ interface ChangeFileParams { | ||
| "lint/nursery/noImplicitAnyLet" | ||
| "lint/nursery/noInvalidUseBeforeDeclaration" | ||
| "lint/nursery/noMisleadingCharacterClass" | ||
| "lint/nursery/noNodejsModules" | ||
| "lint/nursery/noTypeOnlyImportAttributes" | ||
| "lint/nursery/noUnusedImports" | ||
@@ -1468,2 +1538,3 @@ | "lint/nursery/noUnusedPrivateClassMembers" | ||
| "lint/nursery/useImportRestrictions" | ||
| "lint/nursery/useNodeImportProtocol" | ||
| "lint/nursery/useRegexLiterals" | ||
@@ -1470,0 +1541,0 @@ | "lint/nursery/useShorthandFunctionType" |
@@ -1,1 +0,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"]} | ||
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.efc084c","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"]} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8571298
2786