@biomejs/wasm-web 2.5.3 → 2.5.5
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 +54 -4
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -2268,6 +2268,11 @@ interface Nursery {
|
|
|
2268
2268
|
See https://biomejs.dev/linter/rules/no-misused-promises
|
|
2269
2269
|
*/
|
|
2270
2270
|
noMisusedPromises?: NoMisusedPromisesConfiguration;
|
|
2271
|
+
/**
|
|
2272
|
+
* Disallow negated expressions on the left side of an equality check.
|
|
2273
|
+
See https://biomejs.dev/linter/rules/no-negation-in-equality-check
|
|
2274
|
+
*/
|
|
2275
|
+
noNegationInEqualityCheck?: NoNegationInEqualityCheckConfiguration;
|
|
2271
2276
|
/**
|
|
2272
2277
|
* Disallow usage of element handles (page.$() and page.$$()).
|
|
2273
2278
|
See https://biomejs.dev/linter/rules/no-playwright-element-handle
|
|
@@ -4482,6 +4487,9 @@ type NoMisleadingReturnTypeConfiguration =
|
|
|
4482
4487
|
type NoMisusedPromisesConfiguration =
|
|
4483
4488
|
| RulePlainConfiguration
|
|
4484
4489
|
| RuleWithNoMisusedPromisesOptions;
|
|
4490
|
+
type NoNegationInEqualityCheckConfiguration =
|
|
4491
|
+
| RulePlainConfiguration
|
|
4492
|
+
| RuleWithNoNegationInEqualityCheckOptions;
|
|
4485
4493
|
type NoPlaywrightElementHandleConfiguration =
|
|
4486
4494
|
| RulePlainConfiguration
|
|
4487
4495
|
| RuleWithNoPlaywrightElementHandleOptions;
|
|
@@ -6310,6 +6318,11 @@ interface RuleWithNoMisusedPromisesOptions {
|
|
|
6310
6318
|
level: RulePlainConfiguration;
|
|
6311
6319
|
options?: NoMisusedPromisesOptions;
|
|
6312
6320
|
}
|
|
6321
|
+
interface RuleWithNoNegationInEqualityCheckOptions {
|
|
6322
|
+
fix?: FixKind;
|
|
6323
|
+
level: RulePlainConfiguration;
|
|
6324
|
+
options?: NoNegationInEqualityCheckOptions;
|
|
6325
|
+
}
|
|
6313
6326
|
interface RuleWithNoPlaywrightElementHandleOptions {
|
|
6314
6327
|
fix?: FixKind;
|
|
6315
6328
|
level: RulePlainConfiguration;
|
|
@@ -8051,6 +8064,7 @@ type NoJsxNamespaceOptions = {};
|
|
|
8051
8064
|
type NoLoopFuncOptions = {};
|
|
8052
8065
|
type NoMisleadingReturnTypeOptions = {};
|
|
8053
8066
|
type NoMisusedPromisesOptions = {};
|
|
8067
|
+
type NoNegationInEqualityCheckOptions = {};
|
|
8054
8068
|
type NoPlaywrightElementHandleOptions = {};
|
|
8055
8069
|
type NoPlaywrightEvalOptions = {};
|
|
8056
8070
|
type NoPlaywrightForceOptionOptions = {};
|
|
@@ -9346,7 +9360,6 @@ type Category =
|
|
|
9346
9360
|
| "lint/correctness/useVueValidVPre"
|
|
9347
9361
|
| "lint/correctness/useVueValidVText"
|
|
9348
9362
|
| "lint/correctness/useYield"
|
|
9349
|
-
| "lint/nursery/noRestrictedDependencies"
|
|
9350
9363
|
| "lint/nursery/noBaseToString"
|
|
9351
9364
|
| "lint/nursery/noColorInvalidHex"
|
|
9352
9365
|
| "lint/nursery/noComponentHookFactories"
|
|
@@ -9369,6 +9382,7 @@ type Category =
|
|
|
9369
9382
|
| "lint/nursery/noMisleadingReturnType"
|
|
9370
9383
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
9371
9384
|
| "lint/nursery/noMisusedPromises"
|
|
9385
|
+
| "lint/nursery/noNegationInEqualityCheck"
|
|
9372
9386
|
| "lint/nursery/noPlaywrightElementHandle"
|
|
9373
9387
|
| "lint/nursery/noPlaywrightEval"
|
|
9374
9388
|
| "lint/nursery/noPlaywrightForceOption"
|
|
@@ -9383,6 +9397,7 @@ type Category =
|
|
|
9383
9397
|
| "lint/nursery/noReactNativeLiteralColors"
|
|
9384
9398
|
| "lint/nursery/noReactNativeRawText"
|
|
9385
9399
|
| "lint/nursery/noReactStringRefs"
|
|
9400
|
+
| "lint/nursery/noRestrictedDependencies"
|
|
9386
9401
|
| "lint/nursery/noSvelteUnnecessaryStateWrap"
|
|
9387
9402
|
| "lint/nursery/noTopLevelLiterals"
|
|
9388
9403
|
| "lint/nursery/noUndeclaredClasses"
|
|
@@ -9411,7 +9426,6 @@ type Category =
|
|
|
9411
9426
|
| "lint/nursery/useExplicitReturnType"
|
|
9412
9427
|
| "lint/nursery/useExplicitType"
|
|
9413
9428
|
| "lint/nursery/useFind"
|
|
9414
|
-
| "lint/nursery/useReactFunctionComponentDefinition"
|
|
9415
9429
|
| "lint/nursery/useGlobalThis"
|
|
9416
9430
|
| "lint/nursery/useIframeSandbox"
|
|
9417
9431
|
| "lint/nursery/useImportRestrictions"
|
|
@@ -9427,6 +9441,7 @@ type Category =
|
|
|
9427
9441
|
| "lint/nursery/useQwikMethodUsage"
|
|
9428
9442
|
| "lint/nursery/useQwikValidLexicalScope"
|
|
9429
9443
|
| "lint/nursery/useReactAsyncServerFunction"
|
|
9444
|
+
| "lint/nursery/useReactFunctionComponentDefinition"
|
|
9430
9445
|
| "lint/nursery/useReactNativePlatformComponents"
|
|
9431
9446
|
| "lint/nursery/useReduceTypeParameter"
|
|
9432
9447
|
| "lint/nursery/useRegexpExec"
|
|
@@ -10021,7 +10036,8 @@ type HtmlVariant =
|
|
|
10021
10036
|
| { Standard: HtmlTextExpressions }
|
|
10022
10037
|
| "Astro"
|
|
10023
10038
|
| "Vue"
|
|
10024
|
-
| "Svelte"
|
|
10039
|
+
| "Svelte"
|
|
10040
|
+
| "Angular";
|
|
10025
10041
|
type GritVariant = "Standard";
|
|
10026
10042
|
type SvelteFileKind = "Component" | "SourceModule";
|
|
10027
10043
|
type EmbeddingHtmlKind =
|
|
@@ -10047,6 +10063,10 @@ interface ChangeFileParams {
|
|
|
10047
10063
|
version: number;
|
|
10048
10064
|
}
|
|
10049
10065
|
interface ChangeFileResult {
|
|
10066
|
+
/**
|
|
10067
|
+
* Problems found while updating dependency and module data.
|
|
10068
|
+
This does not include lint or parse results for the changed file.
|
|
10069
|
+
*/
|
|
10050
10070
|
diagnostics: Diagnostic[];
|
|
10051
10071
|
}
|
|
10052
10072
|
interface CloseFileParams {
|
|
@@ -10243,6 +10263,37 @@ interface PullDiagnosticsResult {
|
|
|
10243
10263
|
skippedDiagnostics: number;
|
|
10244
10264
|
warnings: number;
|
|
10245
10265
|
}
|
|
10266
|
+
interface ProcessFileParams {
|
|
10267
|
+
categories: RuleCategories;
|
|
10268
|
+
content: FileContent;
|
|
10269
|
+
diagnosticLevel: Severity;
|
|
10270
|
+
enabledRules?: AnalyzerSelector[];
|
|
10271
|
+
enforceAssist: boolean;
|
|
10272
|
+
fixFileMode?: FixFileMode;
|
|
10273
|
+
format: boolean;
|
|
10274
|
+
includeCodeFix: boolean;
|
|
10275
|
+
maxDiagnostics?: number;
|
|
10276
|
+
only?: AnalyzerSelector[];
|
|
10277
|
+
path: BiomePath;
|
|
10278
|
+
projectKey: ProjectKey;
|
|
10279
|
+
skip?: AnalyzerSelector[];
|
|
10280
|
+
skipParseErrors: boolean;
|
|
10281
|
+
suppressionReason?: string;
|
|
10282
|
+
write: boolean;
|
|
10283
|
+
}
|
|
10284
|
+
type FixFileMode = "safeFixes" | "safeAndUnsafeFixes" | "applySuppressions";
|
|
10285
|
+
interface ProcessFileResult {
|
|
10286
|
+
appliedFixes: number;
|
|
10287
|
+
diagnostics: Diagnostic[];
|
|
10288
|
+
errors: number;
|
|
10289
|
+
formatWithErrorsDisabled: boolean;
|
|
10290
|
+
infos: number;
|
|
10291
|
+
output?: string;
|
|
10292
|
+
parseErrors: number;
|
|
10293
|
+
skippedDiagnostics: number;
|
|
10294
|
+
skippedSuggestedFixes: number;
|
|
10295
|
+
warnings: number;
|
|
10296
|
+
}
|
|
10246
10297
|
interface PullActionsParams {
|
|
10247
10298
|
categories?: RuleCategories;
|
|
10248
10299
|
/**
|
|
@@ -10361,7 +10412,6 @@ interface FixFileParams {
|
|
|
10361
10412
|
skip?: AnalyzerSelector[];
|
|
10362
10413
|
suppressionReason?: string;
|
|
10363
10414
|
}
|
|
10364
|
-
type FixFileMode = "safeFixes" | "safeAndUnsafeFixes" | "applySuppressions";
|
|
10365
10415
|
interface FixFileResult {
|
|
10366
10416
|
/**
|
|
10367
10417
|
* List of all the code actions applied to the file
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|