@biomejs/wasm-nodejs
Advanced tools
Comparing version 1.2.1 to 1.2.2-nightly.1e3fc94
@@ -66,3 +66,3 @@ /* tslint:disable */ | ||
/** | ||
* A list of Unix shell style patterns. Biome tools will ignore files/folders that will match these patterns. | ||
* A list of Unix shell style patterns. Biome will ignore files/folders that will match these patterns. | ||
*/ | ||
@@ -75,2 +75,6 @@ ignore?: StringSet; | ||
/** | ||
* A list of Unix shell style patterns. Biome will handle only those files/folders that will match these patterns. | ||
*/ | ||
include?: StringSet; | ||
/** | ||
* The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB | ||
@@ -91,4 +95,8 @@ */ | ||
/** | ||
* The size of the indentation, 2 by default | ||
* A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns. | ||
*/ | ||
include?: StringSet; | ||
/** | ||
* The size of the indentation, 2 by default (deprecated, use `indent-width`) | ||
*/ | ||
indentSize?: number; | ||
@@ -100,2 +108,6 @@ /** | ||
/** | ||
* The size of the indentation, 2 by default | ||
*/ | ||
indentWidth?: number; | ||
/** | ||
* What's the max width of a line. Defaults to 80. | ||
@@ -142,2 +154,6 @@ */ | ||
/** | ||
* A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns. | ||
*/ | ||
include?: StringSet; | ||
/** | ||
* List of rules | ||
@@ -156,2 +172,6 @@ */ | ||
ignore?: StringSet; | ||
/** | ||
* A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns. | ||
*/ | ||
include?: StringSet; | ||
} | ||
@@ -198,2 +218,6 @@ interface VcsConfiguration { | ||
/** | ||
* The size of the indentation applied to JavaScript (and its super languages) files. Default to 2. | ||
*/ | ||
indentWidth?: number; | ||
/** | ||
* The type of quotes used in JSX. Defaults to double. | ||
@@ -246,2 +270,6 @@ */ | ||
/** | ||
* The size of the indentation applied to JSON (and its super languages) files. Default to 2. | ||
*/ | ||
indentWidth?: number; | ||
/** | ||
* What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80. | ||
@@ -256,2 +284,6 @@ */ | ||
allowComments?: boolean; | ||
/** | ||
* Allow parsing trailing commas in `.json` files | ||
*/ | ||
allowTrailingCommas?: boolean; | ||
} | ||
@@ -414,3 +446,3 @@ interface Rules { | ||
/** | ||
* Disallow unclear usage of multiple space characters in regular expression literals | ||
* Disallow unclear usage of consecutive space characters in regular expression literals | ||
*/ | ||
@@ -569,3 +601,3 @@ noMultipleSpacesInRegularExpressionLiterals?: RuleConfiguration; | ||
/** | ||
* Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass | ||
* Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass | ||
*/ | ||
@@ -624,2 +656,6 @@ noUnreachableSuper?: RuleConfiguration; | ||
/** | ||
* Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type. | ||
*/ | ||
noApproximativeNumericConstant?: RuleConfiguration; | ||
/** | ||
* Disallow void type outside of generic or return types. | ||
@@ -633,4 +669,8 @@ */ | ||
/** | ||
* Disallow functions that exceed a given complexity score. | ||
* Disallow empty character classes in regular expression literals. | ||
*/ | ||
noEmptyCharacterClassInRegex?: RuleConfiguration; | ||
/** | ||
* Disallow functions that exceed a given Cognitive Complexity score. | ||
*/ | ||
noExcessiveComplexity?: RuleConfiguration; | ||
@@ -650,2 +690,18 @@ /** | ||
/** | ||
* Disallow new operators with global non-constructor functions. | ||
*/ | ||
noInvalidNewBuiltin?: RuleConfiguration; | ||
/** | ||
* Enforce proper usage of new and constructor. | ||
*/ | ||
noMisleadingInstantiator?: RuleConfiguration; | ||
/** | ||
* Disallow unused imports. | ||
*/ | ||
noUnusedImports?: RuleConfiguration; | ||
/** | ||
* Disallow else block when the if block breaks early. | ||
*/ | ||
noUselessElse?: RuleConfiguration; | ||
/** | ||
* Disallow the use of void operators, which is not a familiar operator. | ||
@@ -663,2 +719,6 @@ */ | ||
/** | ||
* Enforce the use of as const over literal type and type annotation. | ||
*/ | ||
useAsConstAssertion?: RuleConfiguration; | ||
/** | ||
* Enforce using else if instead of nested if in else clauses. | ||
@@ -687,2 +747,6 @@ */ | ||
useIsArray?: RuleConfiguration; | ||
/** | ||
* Require assignment operator shorthand where possible. | ||
*/ | ||
useShorthandAssign?: RuleConfiguration; | ||
} | ||
@@ -747,3 +811,3 @@ interface Performance { | ||
/** | ||
* Disallow negation in the condition of an if statement if it has an else clause | ||
* Disallow negation in the condition of an if statement if it has an else clause. | ||
*/ | ||
@@ -784,3 +848,3 @@ noNegationElse?: RuleConfiguration; | ||
/** | ||
* Requires following curly brace conventions. JavaScript allows the omission of curly braces when a block contains only one statement. However, it is considered by many to be best practice to never omit curly braces around blocks, even when they are optional, because it can lead to bugs and reduces code clarity. | ||
* Requires following curly brace conventions. | ||
*/ | ||
@@ -841,3 +905,3 @@ useBlockStatements?: RuleConfiguration; | ||
/** | ||
* Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed | ||
* Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed. | ||
*/ | ||
@@ -904,3 +968,3 @@ useWhile?: RuleConfiguration; | ||
/** | ||
* Disallow duplicate case labels. If a switch statement has duplicate test expressions in case clauses, it is likely that a programmer copied a case clause but forgot to change the test expression. | ||
* Disallow duplicate case labels. | ||
*/ | ||
@@ -917,3 +981,3 @@ noDuplicateCase?: RuleConfiguration; | ||
/** | ||
* Prevents object literals having more than one property declaration for the same name. If an object property with the same name is defined multiple times (except when combining a getter with a setter), only the last definition makes it into the object and previous definitions are ignored, which is likely a mistake. | ||
* Prevents object literals having more than one property declaration for the same name. | ||
*/ | ||
@@ -1146,3 +1210,2 @@ noDuplicateObjectKeys?: RuleConfiguration; | ||
| "lint/a11y/useAnchorContent" | ||
| "lint/a11y/useValidAriaValues" | ||
| "lint/a11y/useAriaPropsForRole" | ||
@@ -1158,2 +1221,3 @@ | "lint/a11y/useButtonType" | ||
| "lint/a11y/useValidAriaProps" | ||
| "lint/a11y/useValidAriaValues" | ||
| "lint/a11y/useValidLang" | ||
@@ -1210,4 +1274,6 @@ | "lint/complexity/noBannedTypes" | ||
| "lint/nursery/noAccumulatingSpread" | ||
| "lint/nursery/noApproximativeNumericConstant" | ||
| "lint/nursery/noConfusingVoidType" | ||
| "lint/nursery/noDuplicateJsonKeys" | ||
| "lint/nursery/noEmptyCharacterClassInRegex" | ||
| "lint/nursery/noExcessiveComplexity" | ||
@@ -1217,4 +1283,9 @@ | "lint/nursery/noFallthroughSwitchClause" | ||
| "lint/nursery/noGlobalIsNan" | ||
| "lint/nursery/noInvalidNewBuiltin" | ||
| "lint/nursery/noMisleadingInstantiator" | ||
| "lint/nursery/noUnusedImports" | ||
| "lint/nursery/noUselessElse" | ||
| "lint/nursery/noVoid" | ||
| "lint/nursery/useArrowFunction" | ||
| "lint/nursery/useAsConstAssertion" | ||
| "lint/nursery/useBiomeSuppressionComment" | ||
@@ -1227,2 +1298,3 @@ | "lint/nursery/useCollapsedElseIf" | ||
| "lint/nursery/useIsArray" | ||
| "lint/nursery/useShorthandAssign" | ||
| "lint/performance/noDelete" | ||
@@ -1368,2 +1440,4 @@ | "lint/security/noDangerouslySetInnerHtml" | ||
| "Info" | ||
| "Debug" | ||
| "Trace" | ||
| "Inverse" | ||
@@ -1370,0 +1444,0 @@ | { Hyperlink: { href: string } }; |
@@ -1,1 +0,1 @@ | ||
{"name":"@biomejs/wasm-nodejs","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.2.1","license":"MIT","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","types":"biome_wasm.d.ts"} | ||
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.2.2-nightly.1e3fc94","license":"MIT","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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6810941
2513