@biomejs/wasm-web 2.5.1 → 2.5.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 +35 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -2343,6 +2343,11 @@ interface Nursery {
|
|
|
2343
2343
|
See https://biomejs.dev/linter/rules/no-restricted-dependencies
|
|
2344
2344
|
*/
|
|
2345
2345
|
noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
|
|
2346
|
+
/**
|
|
2347
|
+
* Disallow unnecessary $state wrapping of reactive classes.
|
|
2348
|
+
See https://biomejs.dev/linter/rules/no-svelte-unnecessary-state-wrap
|
|
2349
|
+
*/
|
|
2350
|
+
noSvelteUnnecessaryStateWrap?: NoSvelteUnnecessaryStateWrapConfiguration;
|
|
2346
2351
|
/**
|
|
2347
2352
|
* Require the JSON top-level value to be an array or object.
|
|
2348
2353
|
See https://biomejs.dev/linter/rules/no-top-level-literals
|
|
@@ -4522,6 +4527,9 @@ type NoReactStringRefsConfiguration =
|
|
|
4522
4527
|
type NoRestrictedDependenciesConfiguration =
|
|
4523
4528
|
| RulePlainConfiguration
|
|
4524
4529
|
| RuleWithNoRestrictedDependenciesOptions;
|
|
4530
|
+
type NoSvelteUnnecessaryStateWrapConfiguration =
|
|
4531
|
+
| RulePlainConfiguration
|
|
4532
|
+
| RuleWithNoSvelteUnnecessaryStateWrapOptions;
|
|
4525
4533
|
type NoTopLevelLiteralsConfiguration =
|
|
4526
4534
|
| RulePlainConfiguration
|
|
4527
4535
|
| RuleWithNoTopLevelLiteralsOptions;
|
|
@@ -6366,6 +6374,11 @@ interface RuleWithNoRestrictedDependenciesOptions {
|
|
|
6366
6374
|
level: RulePlainConfiguration;
|
|
6367
6375
|
options?: NoRestrictedDependenciesOptions;
|
|
6368
6376
|
}
|
|
6377
|
+
interface RuleWithNoSvelteUnnecessaryStateWrapOptions {
|
|
6378
|
+
fix?: FixKind;
|
|
6379
|
+
level: RulePlainConfiguration;
|
|
6380
|
+
options?: NoSvelteUnnecessaryStateWrapOptions;
|
|
6381
|
+
}
|
|
6369
6382
|
interface RuleWithNoTopLevelLiteralsOptions {
|
|
6370
6383
|
level: RulePlainConfiguration;
|
|
6371
6384
|
options?: NoTopLevelLiteralsOptions;
|
|
@@ -8058,6 +8071,16 @@ interface NoReactNativeRawTextOptions {
|
|
|
8058
8071
|
}
|
|
8059
8072
|
type NoReactStringRefsOptions = {};
|
|
8060
8073
|
type NoRestrictedDependenciesOptions = {};
|
|
8074
|
+
interface NoSvelteUnnecessaryStateWrapOptions {
|
|
8075
|
+
/**
|
|
8076
|
+
* Additional class names to treat as already reactive (beyond the built-in `svelte/reactivity` classes).
|
|
8077
|
+
*/
|
|
8078
|
+
additionalReactiveClasses?: string[];
|
|
8079
|
+
/**
|
|
8080
|
+
* When `true`, allows `$state()` wrapping for variables that are reassigned after declaration.
|
|
8081
|
+
*/
|
|
8082
|
+
allowReassign?: boolean;
|
|
8083
|
+
}
|
|
8061
8084
|
type NoTopLevelLiteralsOptions = {};
|
|
8062
8085
|
type NoUndeclaredClassesOptions = {};
|
|
8063
8086
|
type NoUnnecessaryTemplateExpressionOptions = {};
|
|
@@ -8172,6 +8195,10 @@ type UseIncludesOptions = {};
|
|
|
8172
8195
|
type UseMathMinMaxOptions = {};
|
|
8173
8196
|
type UseNamedCaptureGroupOptions = {};
|
|
8174
8197
|
interface UseNullishCoalescingOptions {
|
|
8198
|
+
/**
|
|
8199
|
+
* Whether to ignore `||` and `||=` binary operations used inside a `Boolean()` call (default: `false`).
|
|
8200
|
+
*/
|
|
8201
|
+
ignoreBooleanCoercion?: boolean;
|
|
8175
8202
|
/**
|
|
8176
8203
|
* Ignore `||` expressions in conditional test positions (default: `true`).
|
|
8177
8204
|
*/
|
|
@@ -8180,6 +8207,10 @@ interface UseNullishCoalescingOptions {
|
|
|
8180
8207
|
* Whether to ignore `||` and `||=` binary operations that are part of a mixed logical expression with `&&` (default: `false`).
|
|
8181
8208
|
*/
|
|
8182
8209
|
ignoreMixedLogicalExpressions?: boolean;
|
|
8210
|
+
/**
|
|
8211
|
+
* Whether to ignore `||` and `||=` operations whose non-nullish operand types are all primitives of the configured kinds. Accepts `true` for every primitive, or an object selecting `string`, `number`, `boolean`, `bigint` (default: none).
|
|
8212
|
+
*/
|
|
8213
|
+
ignorePrimitives?: IgnorePrimitives;
|
|
8183
8214
|
/**
|
|
8184
8215
|
* Ignore ternary expressions that check for `null` or `undefined` (default: `false`).
|
|
8185
8216
|
*/
|
|
@@ -8895,6 +8926,9 @@ interface Hook {
|
|
|
8895
8926
|
}
|
|
8896
8927
|
type AvailabilityTarget = AvailabilityNamed | number;
|
|
8897
8928
|
type TestFunctionKind = "it" | "test";
|
|
8929
|
+
type IgnorePrimitives =
|
|
8930
|
+
| boolean
|
|
8931
|
+
| { bigint?: boolean; boolean?: boolean; number?: boolean; string?: boolean };
|
|
8898
8932
|
type ComponentDefinitionStyle =
|
|
8899
8933
|
| "functionDeclaration"
|
|
8900
8934
|
| "functionExpression"
|
|
@@ -9342,6 +9376,7 @@ type Category =
|
|
|
9342
9376
|
| "lint/nursery/noReactNativeLiteralColors"
|
|
9343
9377
|
| "lint/nursery/noReactNativeRawText"
|
|
9344
9378
|
| "lint/nursery/noReactStringRefs"
|
|
9379
|
+
| "lint/nursery/noSvelteUnnecessaryStateWrap"
|
|
9345
9380
|
| "lint/nursery/noTopLevelLiterals"
|
|
9346
9381
|
| "lint/nursery/noUndeclaredClasses"
|
|
9347
9382
|
| "lint/nursery/noUnnecessaryTemplateExpression"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|