@biomejs/wasm-web
Advanced tools
Comparing version 1.4.0 to 1.4.1-nightly.22dd4e1
@@ -24,2 +24,4 @@ /* tslint:disable */ | ||
configuration: Configuration; | ||
gitignore_matches: string[]; | ||
vcs_base_path?: string; | ||
} | ||
@@ -32,2 +34,6 @@ interface Configuration { | ||
/** | ||
* Specific configuration for the Css language | ||
*/ | ||
css?: CssConfiguration; | ||
/** | ||
* A list of paths to other JSON files, used to extends the current configuration. | ||
@@ -69,2 +75,12 @@ */ | ||
} | ||
interface CssConfiguration { | ||
/** | ||
* Formatting options | ||
*/ | ||
formatter?: CssFormatter; | ||
/** | ||
* Parsing options | ||
*/ | ||
parser?: CssParser; | ||
} | ||
type StringSet = string[]; | ||
@@ -190,2 +206,6 @@ interface FilesConfiguration { | ||
/** | ||
* The main branch of the project | ||
*/ | ||
defaultBranch?: string; | ||
/** | ||
* Whether Biome should integrate itself with the VCS client | ||
@@ -205,2 +225,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"; | ||
@@ -332,2 +384,6 @@ type LineEnding = "lf" | "crlf" | "cr"; | ||
/** | ||
* Specific configuration for the Css language | ||
*/ | ||
css?: CssConfiguration; | ||
/** | ||
* Specific configuration for the Json language | ||
@@ -763,2 +819,14 @@ */ | ||
/** | ||
* Disallow the use of variables and function parameters before their declaration | ||
*/ | ||
noInvalidUseBeforeDeclaration?: RuleConfiguration; | ||
/** | ||
* Disallow characters made with multiple code points in character class syntax. | ||
*/ | ||
noMisleadingCharacterClass?: RuleConfiguration; | ||
/** | ||
* 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. | ||
@@ -776,2 +844,6 @@ */ | ||
/** | ||
* Disallow ternary operators when simpler alternatives exist. | ||
*/ | ||
noUselessTernary?: RuleConfiguration; | ||
/** | ||
* It enables the recommended rules for this group | ||
@@ -785,2 +857,14 @@ */ | ||
/** | ||
* Promotes the use of export type for types. | ||
*/ | ||
useExportType?: RuleConfiguration; | ||
/** | ||
* Enforce naming conventions for JavaScript and TypeScript filenames. | ||
*/ | ||
useFilenamingConvention?: RuleConfiguration; | ||
/** | ||
* This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array. | ||
*/ | ||
useForOf?: RuleConfiguration; | ||
/** | ||
* Enforce the use of import type when an import only has specifiers with type qualifier. | ||
@@ -794,2 +878,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. | ||
@@ -799,2 +887,6 @@ */ | ||
/** | ||
* Enforce using function types instead of object type with call signatures. | ||
*/ | ||
useShorthandFunctionType?: RuleConfiguration; | ||
/** | ||
* Elements with ARIA roles must use a valid, non-abstract ARIA role. | ||
@@ -1215,2 +1307,3 @@ */ | ||
| ComplexityOptions | ||
| FilenamingConventionOptions | ||
| HooksOptions | ||
@@ -1226,2 +1319,12 @@ | NamingConventionOptions | ||
} | ||
interface FilenamingConventionOptions { | ||
/** | ||
* Allowed cases for _TypeScript_ `enum` member names. | ||
*/ | ||
filenameCases: FilenameCases; | ||
/** | ||
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case]. | ||
*/ | ||
strictCase: boolean; | ||
} | ||
interface HooksOptions { | ||
@@ -1253,2 +1356,3 @@ /** | ||
} | ||
type FilenameCases = FilenameCase[]; | ||
interface Hooks { | ||
@@ -1271,2 +1375,3 @@ /** | ||
type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase"; | ||
type FilenameCase = "camelCase" | "export" | "kebab-case" | "snake_case"; | ||
interface ProjectFeaturesParams { | ||
@@ -1289,2 +1394,3 @@ manifest_path: RomePath; | ||
| "Jsonc" | ||
| "Css" | ||
| "Unknown"; | ||
@@ -1441,10 +1547,20 @@ interface ChangeFileParams { | ||
| "lint/nursery/noImplicitAnyLet" | ||
| "lint/nursery/noInvalidUseBeforeDeclaration" | ||
| "lint/nursery/noMisleadingCharacterClass" | ||
| "lint/nursery/noNodejsModules" | ||
| "lint/nursery/noTypeOnlyImportAttributes" | ||
| "lint/nursery/noUnusedImports" | ||
| "lint/nursery/noUnusedPrivateClassMembers" | ||
| "lint/nursery/noUselessLoneBlockStatements" | ||
| "lint/nursery/noUselessTernary" | ||
| "lint/nursery/useAwait" | ||
| "lint/nursery/useBiomeSuppressionComment" | ||
| "lint/nursery/useExportType" | ||
| "lint/nursery/useFilenamingConvention" | ||
| "lint/nursery/useForOf" | ||
| "lint/nursery/useGroupedTypeImport" | ||
| "lint/nursery/useImportRestrictions" | ||
| "lint/nursery/useNodeImportProtocol" | ||
| "lint/nursery/useRegexLiterals" | ||
| "lint/nursery/useShorthandFunctionType" | ||
| "lint/nursery/useValidAriaRole" | ||
@@ -1451,0 +1567,0 @@ | "lint/performance/noAccumulatingSpread" |
@@ -1,1 +0,1 @@ | ||
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.0","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"]} | ||
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.22dd4e1","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"]} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8768454
2910
1