@biomejs/wasm-bundler 2.4.12 → 2.4.14
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 +261 -2
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -889,7 +889,7 @@ interface Source {
|
|
|
889
889
|
*/
|
|
890
890
|
noDuplicateClasses?: NoDuplicateClassesConfiguration;
|
|
891
891
|
/**
|
|
892
|
-
*
|
|
892
|
+
* Sorts imports and exports in your JavaScript and TypeScript files.
|
|
893
893
|
See https://biomejs.dev/assist/actions/organize-imports
|
|
894
894
|
*/
|
|
895
895
|
organizeImports?: OrganizeImportsConfiguration;
|
|
@@ -931,6 +931,7 @@ type JsonTrailingCommas = "none" | "all";
|
|
|
931
931
|
type RuleDomain =
|
|
932
932
|
| "drizzle"
|
|
933
933
|
| "react"
|
|
934
|
+
| "reactNative"
|
|
934
935
|
| "test"
|
|
935
936
|
| "solid"
|
|
936
937
|
| "next"
|
|
@@ -1996,6 +1997,11 @@ interface Nursery {
|
|
|
1996
1997
|
See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
|
|
1997
1998
|
*/
|
|
1998
1999
|
noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
|
|
2000
|
+
/**
|
|
2001
|
+
* Enforce a maximum depth that callbacks can be nested.
|
|
2002
|
+
See https://biomejs.dev/linter/rules/no-excessive-nested-callbacks
|
|
2003
|
+
*/
|
|
2004
|
+
noExcessiveNestedCallbacks?: NoExcessiveNestedCallbacksConfiguration;
|
|
1999
2005
|
/**
|
|
2000
2006
|
* Limit the number of classes in a selector.
|
|
2001
2007
|
See https://biomejs.dev/linter/rules/no-excessive-selector-classes
|
|
@@ -2041,6 +2047,11 @@ interface Nursery {
|
|
|
2041
2047
|
See https://biomejs.dev/linter/rules/no-inline-styles
|
|
2042
2048
|
*/
|
|
2043
2049
|
noInlineStyles?: NoInlineStylesConfiguration;
|
|
2050
|
+
/**
|
|
2051
|
+
* Flags text nodes with a trailing $ before a JSX expression.
|
|
2052
|
+
See https://biomejs.dev/linter/rules/no-jsx-leaked-dollar
|
|
2053
|
+
*/
|
|
2054
|
+
noJsxLeakedDollar?: NoJsxLeakedDollarConfiguration;
|
|
2044
2055
|
/**
|
|
2045
2056
|
* Disallow JSX namespace syntax.
|
|
2046
2057
|
See https://biomejs.dev/linter/rules/no-jsx-namespace
|
|
@@ -2056,6 +2067,11 @@ interface Nursery {
|
|
|
2056
2067
|
See https://biomejs.dev/linter/rules/no-leaked-render
|
|
2057
2068
|
*/
|
|
2058
2069
|
noLeakedRender?: NoLeakedRenderConfiguration;
|
|
2070
|
+
/**
|
|
2071
|
+
* Disallow functions declared inside loops that capture unsafe outer variables.
|
|
2072
|
+
See https://biomejs.dev/linter/rules/no-loop-func
|
|
2073
|
+
*/
|
|
2074
|
+
noLoopFunc?: NoLoopFuncConfiguration;
|
|
2059
2075
|
/**
|
|
2060
2076
|
* Detect return type annotations that are misleadingly wider than what the implementation actually returns.
|
|
2061
2077
|
See https://biomejs.dev/linter/rules/no-misleading-return-type
|
|
@@ -2141,6 +2157,26 @@ interface Nursery {
|
|
|
2141
2157
|
See https://biomejs.dev/linter/rules/no-proto
|
|
2142
2158
|
*/
|
|
2143
2159
|
noProto?: NoProtoConfiguration;
|
|
2160
|
+
/**
|
|
2161
|
+
* Disallow deep imports from the react-native package.
|
|
2162
|
+
See https://biomejs.dev/linter/rules/no-react-native-deep-imports
|
|
2163
|
+
*/
|
|
2164
|
+
noReactNativeDeepImports?: NoReactNativeDeepImportsConfiguration;
|
|
2165
|
+
/**
|
|
2166
|
+
* Disallow color literals in React Native styles.
|
|
2167
|
+
See https://biomejs.dev/linter/rules/no-react-native-literal-colors
|
|
2168
|
+
*/
|
|
2169
|
+
noReactNativeLiteralColors?: NoReactNativeLiteralColorsConfiguration;
|
|
2170
|
+
/**
|
|
2171
|
+
* Disallow raw text outside \<Text> components in React Native.
|
|
2172
|
+
See https://biomejs.dev/linter/rules/no-react-native-raw-text
|
|
2173
|
+
*/
|
|
2174
|
+
noReactNativeRawText?: NoReactNativeRawTextConfiguration;
|
|
2175
|
+
/**
|
|
2176
|
+
* Disallow string refs in React components.
|
|
2177
|
+
See https://biomejs.dev/linter/rules/no-react-string-refs
|
|
2178
|
+
*/
|
|
2179
|
+
noReactStringRefs?: NoReactStringRefsConfiguration;
|
|
2144
2180
|
/**
|
|
2145
2181
|
* Checks if a default export exports the same symbol as a named export.
|
|
2146
2182
|
See https://biomejs.dev/linter/rules/no-redundant-default-export
|
|
@@ -2196,6 +2232,11 @@ interface Nursery {
|
|
|
2196
2232
|
See https://biomejs.dev/linter/rules/no-unnecessary-conditions
|
|
2197
2233
|
*/
|
|
2198
2234
|
noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
|
|
2235
|
+
/**
|
|
2236
|
+
* Disallow unnecessary template expressions.
|
|
2237
|
+
See https://biomejs.dev/linter/rules/no-unnecessary-template-expression
|
|
2238
|
+
*/
|
|
2239
|
+
noUnnecessaryTemplateExpression?: NoUnnecessaryTemplateExpressionConfiguration;
|
|
2199
2240
|
/**
|
|
2200
2241
|
* Disallow + operations with operands that are known to be unsafe.
|
|
2201
2242
|
See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
|
|
@@ -2290,6 +2331,16 @@ interface Nursery {
|
|
|
2290
2331
|
See https://biomejs.dev/linter/rules/use-disposables
|
|
2291
2332
|
*/
|
|
2292
2333
|
useDisposables?: UseDisposablesConfiguration;
|
|
2334
|
+
/**
|
|
2335
|
+
* Prefer .textContent over .innerText for DOM node text.
|
|
2336
|
+
See https://biomejs.dev/linter/rules/use-dom-node-text-content
|
|
2337
|
+
*/
|
|
2338
|
+
useDomNodeTextContent?: UseDomNodeTextContentConfiguration;
|
|
2339
|
+
/**
|
|
2340
|
+
* Prefer querySelector() and querySelectorAll() over older DOM query APIs.
|
|
2341
|
+
See https://biomejs.dev/linter/rules/use-dom-query-selector
|
|
2342
|
+
*/
|
|
2343
|
+
useDomQuerySelector?: UseDomQuerySelectorConfiguration;
|
|
2293
2344
|
/**
|
|
2294
2345
|
* Enforce that new Error() is thrown with the original error as cause.
|
|
2295
2346
|
See https://biomejs.dev/linter/rules/use-error-cause
|
|
@@ -2355,6 +2406,11 @@ interface Nursery {
|
|
|
2355
2406
|
See https://biomejs.dev/linter/rules/use-lone-executable-definition
|
|
2356
2407
|
*/
|
|
2357
2408
|
useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
|
|
2409
|
+
/**
|
|
2410
|
+
* Prefer Math.min() and Math.max() over ternaries for simple comparisons.
|
|
2411
|
+
See https://biomejs.dev/linter/rules/use-math-min-max
|
|
2412
|
+
*/
|
|
2413
|
+
useMathMinMax?: UseMathMinMaxConfiguration;
|
|
2358
2414
|
/**
|
|
2359
2415
|
* Enforce using named capture groups in regular expression.
|
|
2360
2416
|
See https://biomejs.dev/linter/rules/use-named-capture-group
|
|
@@ -2380,6 +2436,11 @@ interface Nursery {
|
|
|
2380
2436
|
See https://biomejs.dev/linter/rules/use-react-async-server-function
|
|
2381
2437
|
*/
|
|
2382
2438
|
useReactAsyncServerFunction?: UseReactAsyncServerFunctionConfiguration;
|
|
2439
|
+
/**
|
|
2440
|
+
* Ensure that platform-specific React Native components are only imported in files named for that platform.
|
|
2441
|
+
See https://biomejs.dev/linter/rules/use-react-native-platform-components
|
|
2442
|
+
*/
|
|
2443
|
+
useReactNativePlatformComponents?: UseReactNativePlatformComponentsConfiguration;
|
|
2383
2444
|
/**
|
|
2384
2445
|
* Enforce using a type parameter on Array#reduce instead of casting the initial value.
|
|
2385
2446
|
See https://biomejs.dev/linter/rules/use-reduce-type-parameter
|
|
@@ -2390,6 +2451,11 @@ interface Nursery {
|
|
|
2390
2451
|
See https://biomejs.dev/linter/rules/use-regexp-exec
|
|
2391
2452
|
*/
|
|
2392
2453
|
useRegexpExec?: UseRegexpExecConfiguration;
|
|
2454
|
+
/**
|
|
2455
|
+
* Enforce the use of RegExp.prototype.test() over String.prototype.match() and RegExp.prototype.exec() in boolean contexts.
|
|
2456
|
+
See https://biomejs.dev/linter/rules/use-regexp-test
|
|
2457
|
+
*/
|
|
2458
|
+
useRegexpTest?: UseRegexpTestConfiguration;
|
|
2393
2459
|
/**
|
|
2394
2460
|
* Enforce the presence of required scripts in package.json.
|
|
2395
2461
|
See https://biomejs.dev/linter/rules/use-required-scripts
|
|
@@ -2415,6 +2481,11 @@ interface Nursery {
|
|
|
2415
2481
|
See https://biomejs.dev/linter/rules/use-string-starts-ends-with
|
|
2416
2482
|
*/
|
|
2417
2483
|
useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
|
|
2484
|
+
/**
|
|
2485
|
+
* Enforce that lifecycle hooks appear before any test cases in the same block.
|
|
2486
|
+
See https://biomejs.dev/linter/rules/use-test-hooks-on-top
|
|
2487
|
+
*/
|
|
2488
|
+
useTestHooksOnTop?: UseTestHooksOnTopConfiguration;
|
|
2418
2489
|
/**
|
|
2419
2490
|
* Enforce the use of the u or v flag for regular expressions.
|
|
2420
2491
|
See https://biomejs.dev/linter/rules/use-unicode-regex
|
|
@@ -4080,6 +4151,9 @@ type NoExcessiveClassesPerFileConfiguration =
|
|
|
4080
4151
|
type NoExcessiveLinesPerFileConfiguration =
|
|
4081
4152
|
| RulePlainConfiguration
|
|
4082
4153
|
| RuleWithNoExcessiveLinesPerFileOptions;
|
|
4154
|
+
type NoExcessiveNestedCallbacksConfiguration =
|
|
4155
|
+
| RulePlainConfiguration
|
|
4156
|
+
| RuleWithNoExcessiveNestedCallbacksOptions;
|
|
4083
4157
|
type NoExcessiveSelectorClassesConfiguration =
|
|
4084
4158
|
| RulePlainConfiguration
|
|
4085
4159
|
| RuleWithNoExcessiveSelectorClassesOptions;
|
|
@@ -4105,6 +4179,9 @@ type NoIncrementDecrementConfiguration =
|
|
|
4105
4179
|
type NoInlineStylesConfiguration =
|
|
4106
4180
|
| RulePlainConfiguration
|
|
4107
4181
|
| RuleWithNoInlineStylesOptions;
|
|
4182
|
+
type NoJsxLeakedDollarConfiguration =
|
|
4183
|
+
| RulePlainConfiguration
|
|
4184
|
+
| RuleWithNoJsxLeakedDollarOptions;
|
|
4108
4185
|
type NoJsxNamespaceConfiguration =
|
|
4109
4186
|
| RulePlainConfiguration
|
|
4110
4187
|
| RuleWithNoJsxNamespaceOptions;
|
|
@@ -4114,6 +4191,9 @@ type NoJsxPropsBindConfiguration =
|
|
|
4114
4191
|
type NoLeakedRenderConfiguration =
|
|
4115
4192
|
| RulePlainConfiguration
|
|
4116
4193
|
| RuleWithNoLeakedRenderOptions;
|
|
4194
|
+
type NoLoopFuncConfiguration =
|
|
4195
|
+
| RulePlainConfiguration
|
|
4196
|
+
| RuleWithNoLoopFuncOptions;
|
|
4117
4197
|
type NoMisleadingReturnTypeConfiguration =
|
|
4118
4198
|
| RulePlainConfiguration
|
|
4119
4199
|
| RuleWithNoMisleadingReturnTypeOptions;
|
|
@@ -4163,6 +4243,18 @@ type NoPlaywrightWaitForTimeoutConfiguration =
|
|
|
4163
4243
|
| RulePlainConfiguration
|
|
4164
4244
|
| RuleWithNoPlaywrightWaitForTimeoutOptions;
|
|
4165
4245
|
type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
|
|
4246
|
+
type NoReactNativeDeepImportsConfiguration =
|
|
4247
|
+
| RulePlainConfiguration
|
|
4248
|
+
| RuleWithNoReactNativeDeepImportsOptions;
|
|
4249
|
+
type NoReactNativeLiteralColorsConfiguration =
|
|
4250
|
+
| RulePlainConfiguration
|
|
4251
|
+
| RuleWithNoReactNativeLiteralColorsOptions;
|
|
4252
|
+
type NoReactNativeRawTextConfiguration =
|
|
4253
|
+
| RulePlainConfiguration
|
|
4254
|
+
| RuleWithNoReactNativeRawTextOptions;
|
|
4255
|
+
type NoReactStringRefsConfiguration =
|
|
4256
|
+
| RulePlainConfiguration
|
|
4257
|
+
| RuleWithNoReactStringRefsOptions;
|
|
4166
4258
|
type NoRedundantDefaultExportConfiguration =
|
|
4167
4259
|
| RulePlainConfiguration
|
|
4168
4260
|
| RuleWithNoRedundantDefaultExportOptions;
|
|
@@ -4192,6 +4284,9 @@ type NoUnknownAttributeConfiguration =
|
|
|
4192
4284
|
type NoUnnecessaryConditionsConfiguration =
|
|
4193
4285
|
| RulePlainConfiguration
|
|
4194
4286
|
| RuleWithNoUnnecessaryConditionsOptions;
|
|
4287
|
+
type NoUnnecessaryTemplateExpressionConfiguration =
|
|
4288
|
+
| RulePlainConfiguration
|
|
4289
|
+
| RuleWithNoUnnecessaryTemplateExpressionOptions;
|
|
4195
4290
|
type NoUnsafePlusOperandsConfiguration =
|
|
4196
4291
|
| RulePlainConfiguration
|
|
4197
4292
|
| RuleWithNoUnsafePlusOperandsOptions;
|
|
@@ -4246,6 +4341,12 @@ type UseDestructuringConfiguration =
|
|
|
4246
4341
|
type UseDisposablesConfiguration =
|
|
4247
4342
|
| RulePlainConfiguration
|
|
4248
4343
|
| RuleWithUseDisposablesOptions;
|
|
4344
|
+
type UseDomNodeTextContentConfiguration =
|
|
4345
|
+
| RulePlainConfiguration
|
|
4346
|
+
| RuleWithUseDomNodeTextContentOptions;
|
|
4347
|
+
type UseDomQuerySelectorConfiguration =
|
|
4348
|
+
| RulePlainConfiguration
|
|
4349
|
+
| RuleWithUseDomQuerySelectorOptions;
|
|
4249
4350
|
type UseErrorCauseConfiguration =
|
|
4250
4351
|
| RulePlainConfiguration
|
|
4251
4352
|
| RuleWithUseErrorCauseOptions;
|
|
@@ -4281,6 +4382,9 @@ type UseLoneAnonymousOperationConfiguration =
|
|
|
4281
4382
|
type UseLoneExecutableDefinitionConfiguration =
|
|
4282
4383
|
| RulePlainConfiguration
|
|
4283
4384
|
| RuleWithUseLoneExecutableDefinitionOptions;
|
|
4385
|
+
type UseMathMinMaxConfiguration =
|
|
4386
|
+
| RulePlainConfiguration
|
|
4387
|
+
| RuleWithUseMathMinMaxOptions;
|
|
4284
4388
|
type UseNamedCaptureGroupConfiguration =
|
|
4285
4389
|
| RulePlainConfiguration
|
|
4286
4390
|
| RuleWithUseNamedCaptureGroupOptions;
|
|
@@ -4296,12 +4400,18 @@ type UseQwikLoaderLocationConfiguration =
|
|
|
4296
4400
|
type UseReactAsyncServerFunctionConfiguration =
|
|
4297
4401
|
| RulePlainConfiguration
|
|
4298
4402
|
| RuleWithUseReactAsyncServerFunctionOptions;
|
|
4403
|
+
type UseReactNativePlatformComponentsConfiguration =
|
|
4404
|
+
| RulePlainConfiguration
|
|
4405
|
+
| RuleWithUseReactNativePlatformComponentsOptions;
|
|
4299
4406
|
type UseReduceTypeParameterConfiguration =
|
|
4300
4407
|
| RulePlainConfiguration
|
|
4301
4408
|
| RuleWithUseReduceTypeParameterOptions;
|
|
4302
4409
|
type UseRegexpExecConfiguration =
|
|
4303
4410
|
| RulePlainConfiguration
|
|
4304
4411
|
| RuleWithUseRegexpExecOptions;
|
|
4412
|
+
type UseRegexpTestConfiguration =
|
|
4413
|
+
| RulePlainConfiguration
|
|
4414
|
+
| RuleWithUseRegexpTestOptions;
|
|
4305
4415
|
type UseRequiredScriptsConfiguration =
|
|
4306
4416
|
| RulePlainConfiguration
|
|
4307
4417
|
| RuleWithUseRequiredScriptsOptions;
|
|
@@ -4315,6 +4425,9 @@ type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
|
4315
4425
|
type UseStringStartsEndsWithConfiguration =
|
|
4316
4426
|
| RulePlainConfiguration
|
|
4317
4427
|
| RuleWithUseStringStartsEndsWithOptions;
|
|
4428
|
+
type UseTestHooksOnTopConfiguration =
|
|
4429
|
+
| RulePlainConfiguration
|
|
4430
|
+
| RuleWithUseTestHooksOnTopOptions;
|
|
4318
4431
|
type UseUnicodeRegexConfiguration =
|
|
4319
4432
|
| RulePlainConfiguration
|
|
4320
4433
|
| RuleWithUseUnicodeRegexOptions;
|
|
@@ -5774,6 +5887,10 @@ interface RuleWithNoExcessiveLinesPerFileOptions {
|
|
|
5774
5887
|
level: RulePlainConfiguration;
|
|
5775
5888
|
options?: NoExcessiveLinesPerFileOptions;
|
|
5776
5889
|
}
|
|
5890
|
+
interface RuleWithNoExcessiveNestedCallbacksOptions {
|
|
5891
|
+
level: RulePlainConfiguration;
|
|
5892
|
+
options?: NoExcessiveNestedCallbacksOptions;
|
|
5893
|
+
}
|
|
5777
5894
|
interface RuleWithNoExcessiveSelectorClassesOptions {
|
|
5778
5895
|
level: RulePlainConfiguration;
|
|
5779
5896
|
options?: NoExcessiveSelectorClassesOptions;
|
|
@@ -5812,6 +5929,11 @@ interface RuleWithNoInlineStylesOptions {
|
|
|
5812
5929
|
level: RulePlainConfiguration;
|
|
5813
5930
|
options?: NoInlineStylesOptions;
|
|
5814
5931
|
}
|
|
5932
|
+
interface RuleWithNoJsxLeakedDollarOptions {
|
|
5933
|
+
fix?: FixKind;
|
|
5934
|
+
level: RulePlainConfiguration;
|
|
5935
|
+
options?: NoJsxLeakedDollarOptions;
|
|
5936
|
+
}
|
|
5815
5937
|
interface RuleWithNoJsxNamespaceOptions {
|
|
5816
5938
|
level: RulePlainConfiguration;
|
|
5817
5939
|
options?: NoJsxNamespaceOptions;
|
|
@@ -5824,6 +5946,10 @@ interface RuleWithNoLeakedRenderOptions {
|
|
|
5824
5946
|
level: RulePlainConfiguration;
|
|
5825
5947
|
options?: NoLeakedRenderOptions;
|
|
5826
5948
|
}
|
|
5949
|
+
interface RuleWithNoLoopFuncOptions {
|
|
5950
|
+
level: RulePlainConfiguration;
|
|
5951
|
+
options?: NoLoopFuncOptions;
|
|
5952
|
+
}
|
|
5827
5953
|
interface RuleWithNoMisleadingReturnTypeOptions {
|
|
5828
5954
|
level: RulePlainConfiguration;
|
|
5829
5955
|
options?: NoMisleadingReturnTypeOptions;
|
|
@@ -5898,6 +6024,22 @@ interface RuleWithNoProtoOptions {
|
|
|
5898
6024
|
level: RulePlainConfiguration;
|
|
5899
6025
|
options?: NoProtoOptions;
|
|
5900
6026
|
}
|
|
6027
|
+
interface RuleWithNoReactNativeDeepImportsOptions {
|
|
6028
|
+
level: RulePlainConfiguration;
|
|
6029
|
+
options?: NoReactNativeDeepImportsOptions;
|
|
6030
|
+
}
|
|
6031
|
+
interface RuleWithNoReactNativeLiteralColorsOptions {
|
|
6032
|
+
level: RulePlainConfiguration;
|
|
6033
|
+
options?: NoReactNativeLiteralColorsOptions;
|
|
6034
|
+
}
|
|
6035
|
+
interface RuleWithNoReactNativeRawTextOptions {
|
|
6036
|
+
level: RulePlainConfiguration;
|
|
6037
|
+
options?: NoReactNativeRawTextOptions;
|
|
6038
|
+
}
|
|
6039
|
+
interface RuleWithNoReactStringRefsOptions {
|
|
6040
|
+
level: RulePlainConfiguration;
|
|
6041
|
+
options?: NoReactStringRefsOptions;
|
|
6042
|
+
}
|
|
5901
6043
|
interface RuleWithNoRedundantDefaultExportOptions {
|
|
5902
6044
|
level: RulePlainConfiguration;
|
|
5903
6045
|
options?: NoRedundantDefaultExportOptions;
|
|
@@ -5942,6 +6084,11 @@ interface RuleWithNoUnnecessaryConditionsOptions {
|
|
|
5942
6084
|
level: RulePlainConfiguration;
|
|
5943
6085
|
options?: NoUnnecessaryConditionsOptions;
|
|
5944
6086
|
}
|
|
6087
|
+
interface RuleWithNoUnnecessaryTemplateExpressionOptions {
|
|
6088
|
+
fix?: FixKind;
|
|
6089
|
+
level: RulePlainConfiguration;
|
|
6090
|
+
options?: NoUnnecessaryTemplateExpressionOptions;
|
|
6091
|
+
}
|
|
5945
6092
|
interface RuleWithNoUnsafePlusOperandsOptions {
|
|
5946
6093
|
level: RulePlainConfiguration;
|
|
5947
6094
|
options?: NoUnsafePlusOperandsOptions;
|
|
@@ -6020,6 +6167,16 @@ interface RuleWithUseDisposablesOptions {
|
|
|
6020
6167
|
level: RulePlainConfiguration;
|
|
6021
6168
|
options?: UseDisposablesOptions;
|
|
6022
6169
|
}
|
|
6170
|
+
interface RuleWithUseDomNodeTextContentOptions {
|
|
6171
|
+
fix?: FixKind;
|
|
6172
|
+
level: RulePlainConfiguration;
|
|
6173
|
+
options?: UseDomNodeTextContentOptions;
|
|
6174
|
+
}
|
|
6175
|
+
interface RuleWithUseDomQuerySelectorOptions {
|
|
6176
|
+
fix?: FixKind;
|
|
6177
|
+
level: RulePlainConfiguration;
|
|
6178
|
+
options?: UseDomQuerySelectorOptions;
|
|
6179
|
+
}
|
|
6023
6180
|
interface RuleWithUseErrorCauseOptions {
|
|
6024
6181
|
level: RulePlainConfiguration;
|
|
6025
6182
|
options?: UseErrorCauseOptions;
|
|
@@ -6073,6 +6230,11 @@ interface RuleWithUseLoneExecutableDefinitionOptions {
|
|
|
6073
6230
|
level: RulePlainConfiguration;
|
|
6074
6231
|
options?: UseLoneExecutableDefinitionOptions;
|
|
6075
6232
|
}
|
|
6233
|
+
interface RuleWithUseMathMinMaxOptions {
|
|
6234
|
+
fix?: FixKind;
|
|
6235
|
+
level: RulePlainConfiguration;
|
|
6236
|
+
options?: UseMathMinMaxOptions;
|
|
6237
|
+
}
|
|
6076
6238
|
interface RuleWithUseNamedCaptureGroupOptions {
|
|
6077
6239
|
level: RulePlainConfiguration;
|
|
6078
6240
|
options?: UseNamedCaptureGroupOptions;
|
|
@@ -6095,6 +6257,10 @@ interface RuleWithUseReactAsyncServerFunctionOptions {
|
|
|
6095
6257
|
level: RulePlainConfiguration;
|
|
6096
6258
|
options?: UseReactAsyncServerFunctionOptions;
|
|
6097
6259
|
}
|
|
6260
|
+
interface RuleWithUseReactNativePlatformComponentsOptions {
|
|
6261
|
+
level: RulePlainConfiguration;
|
|
6262
|
+
options?: UseReactNativePlatformComponentsOptions;
|
|
6263
|
+
}
|
|
6098
6264
|
interface RuleWithUseReduceTypeParameterOptions {
|
|
6099
6265
|
fix?: FixKind;
|
|
6100
6266
|
level: RulePlainConfiguration;
|
|
@@ -6104,6 +6270,11 @@ interface RuleWithUseRegexpExecOptions {
|
|
|
6104
6270
|
level: RulePlainConfiguration;
|
|
6105
6271
|
options?: UseRegexpExecOptions;
|
|
6106
6272
|
}
|
|
6273
|
+
interface RuleWithUseRegexpTestOptions {
|
|
6274
|
+
fix?: FixKind;
|
|
6275
|
+
level: RulePlainConfiguration;
|
|
6276
|
+
options?: UseRegexpTestOptions;
|
|
6277
|
+
}
|
|
6107
6278
|
interface RuleWithUseRequiredScriptsOptions {
|
|
6108
6279
|
level: RulePlainConfiguration;
|
|
6109
6280
|
options?: UseRequiredScriptsOptions;
|
|
@@ -6128,6 +6299,10 @@ interface RuleWithUseStringStartsEndsWithOptions {
|
|
|
6128
6299
|
level: RulePlainConfiguration;
|
|
6129
6300
|
options?: UseStringStartsEndsWithOptions;
|
|
6130
6301
|
}
|
|
6302
|
+
interface RuleWithUseTestHooksOnTopOptions {
|
|
6303
|
+
level: RulePlainConfiguration;
|
|
6304
|
+
options?: UseTestHooksOnTopOptions;
|
|
6305
|
+
}
|
|
6131
6306
|
interface RuleWithUseUnicodeRegexOptions {
|
|
6132
6307
|
fix?: FixKind;
|
|
6133
6308
|
level: RulePlainConfiguration;
|
|
@@ -7457,6 +7632,12 @@ interface NoExcessiveLinesPerFileOptions {
|
|
|
7457
7632
|
*/
|
|
7458
7633
|
skipBlankLines?: boolean;
|
|
7459
7634
|
}
|
|
7635
|
+
interface NoExcessiveNestedCallbacksOptions {
|
|
7636
|
+
/**
|
|
7637
|
+
* Maximum callback nesting depth allowed (default: 5)
|
|
7638
|
+
*/
|
|
7639
|
+
max?: number;
|
|
7640
|
+
}
|
|
7460
7641
|
interface NoExcessiveSelectorClassesOptions {
|
|
7461
7642
|
/**
|
|
7462
7643
|
* The maximum number of class selectors allowed in a single selector.
|
|
@@ -7479,9 +7660,11 @@ interface NoIncrementDecrementOptions {
|
|
|
7479
7660
|
allowForLoopAfterthoughts?: boolean;
|
|
7480
7661
|
}
|
|
7481
7662
|
type NoInlineStylesOptions = {};
|
|
7663
|
+
type NoJsxLeakedDollarOptions = {};
|
|
7482
7664
|
type NoJsxNamespaceOptions = {};
|
|
7483
7665
|
type NoJsxPropsBindOptions = {};
|
|
7484
7666
|
type NoLeakedRenderOptions = {};
|
|
7667
|
+
type NoLoopFuncOptions = {};
|
|
7485
7668
|
type NoMisleadingReturnTypeOptions = {};
|
|
7486
7669
|
type NoMisusedPromisesOptions = {};
|
|
7487
7670
|
type NoMultiAssignOptions = {};
|
|
@@ -7499,6 +7682,15 @@ type NoPlaywrightWaitForNavigationOptions = {};
|
|
|
7499
7682
|
type NoPlaywrightWaitForSelectorOptions = {};
|
|
7500
7683
|
type NoPlaywrightWaitForTimeoutOptions = {};
|
|
7501
7684
|
type NoProtoOptions = {};
|
|
7685
|
+
type NoReactNativeDeepImportsOptions = {};
|
|
7686
|
+
type NoReactNativeLiteralColorsOptions = {};
|
|
7687
|
+
interface NoReactNativeRawTextOptions {
|
|
7688
|
+
/**
|
|
7689
|
+
* Names of additional components that are allowed to contain raw text.
|
|
7690
|
+
*/
|
|
7691
|
+
skip?: string[];
|
|
7692
|
+
}
|
|
7693
|
+
type NoReactStringRefsOptions = {};
|
|
7502
7694
|
type NoRedundantDefaultExportOptions = {};
|
|
7503
7695
|
type NoReturnAssignOptions = {};
|
|
7504
7696
|
interface NoRootTypeOptions {
|
|
@@ -7509,7 +7701,26 @@ interface NoRootTypeOptions {
|
|
|
7509
7701
|
disallow?: string[];
|
|
7510
7702
|
}
|
|
7511
7703
|
type NoScriptUrlOptions = {};
|
|
7512
|
-
|
|
7704
|
+
interface NoShadowOptions {
|
|
7705
|
+
/**
|
|
7706
|
+
* Ignore parameter names in function type annotations.
|
|
7707
|
+
|
|
7708
|
+
Function type parameters (e.g. `(x: string) => void`) only create
|
|
7709
|
+
bindings within the type scope and rarely cause confusion.
|
|
7710
|
+
|
|
7711
|
+
Defaults to `true`.
|
|
7712
|
+
*/
|
|
7713
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
7714
|
+
/**
|
|
7715
|
+
* Ignore cases where a type and a value share the same name.
|
|
7716
|
+
|
|
7717
|
+
Types and values live in separate namespaces in TypeScript, so a
|
|
7718
|
+
variable named `Foo` and a `type Foo` cannot collide at runtime.
|
|
7719
|
+
|
|
7720
|
+
Defaults to `true`.
|
|
7721
|
+
*/
|
|
7722
|
+
ignoreTypeValueShadow?: boolean;
|
|
7723
|
+
}
|
|
7513
7724
|
type NoSyncScriptsOptions = {};
|
|
7514
7725
|
type NoTernaryOptions = {};
|
|
7515
7726
|
type NoTopLevelLiteralsOptions = {};
|
|
@@ -7526,6 +7737,7 @@ interface NoUnknownAttributeOptions {
|
|
|
7526
7737
|
ignore?: string[];
|
|
7527
7738
|
}
|
|
7528
7739
|
type NoUnnecessaryConditionsOptions = {};
|
|
7740
|
+
type NoUnnecessaryTemplateExpressionOptions = {};
|
|
7529
7741
|
type NoUnsafePlusOperandsOptions = {};
|
|
7530
7742
|
interface NoUntrustedLicensesOptions {
|
|
7531
7743
|
/**
|
|
@@ -7629,6 +7841,8 @@ interface UseConsistentTestItOptions {
|
|
|
7629
7841
|
}
|
|
7630
7842
|
type UseDestructuringOptions = {};
|
|
7631
7843
|
type UseDisposablesOptions = {};
|
|
7844
|
+
type UseDomNodeTextContentOptions = {};
|
|
7845
|
+
type UseDomQuerySelectorOptions = {};
|
|
7632
7846
|
interface UseErrorCauseOptions {
|
|
7633
7847
|
/**
|
|
7634
7848
|
* When set to `true`, the rule requires that `catch` clauses have a parameter.
|
|
@@ -7666,6 +7880,7 @@ interface UseInputNameOptions {
|
|
|
7666
7880
|
}
|
|
7667
7881
|
type UseLoneAnonymousOperationOptions = {};
|
|
7668
7882
|
type UseLoneExecutableDefinitionOptions = {};
|
|
7883
|
+
type UseMathMinMaxOptions = {};
|
|
7669
7884
|
type UseNamedCaptureGroupOptions = {};
|
|
7670
7885
|
interface UseNullishCoalescingOptions {
|
|
7671
7886
|
/**
|
|
@@ -7689,8 +7904,21 @@ interface UseNullishCoalescingOptions {
|
|
|
7689
7904
|
type UsePlaywrightValidDescribeCallbackOptions = {};
|
|
7690
7905
|
type UseQwikLoaderLocationOptions = {};
|
|
7691
7906
|
type UseReactAsyncServerFunctionOptions = {};
|
|
7907
|
+
interface UseReactNativePlatformComponentsOptions {
|
|
7908
|
+
/**
|
|
7909
|
+
* A list of glob patterns to identify Android-specific files.
|
|
7910
|
+
Defaults to `["**\/*.android.{js,jsx,ts,tsx}"]`.
|
|
7911
|
+
*/
|
|
7912
|
+
androidPathPatterns?: NormalizedGlob[];
|
|
7913
|
+
/**
|
|
7914
|
+
* A list of glob patterns to identify iOS-specific files.
|
|
7915
|
+
Defaults to `["**\/*.ios.{js,jsx,ts,tsx}"]`.
|
|
7916
|
+
*/
|
|
7917
|
+
iosPathPatterns?: NormalizedGlob[];
|
|
7918
|
+
}
|
|
7692
7919
|
type UseReduceTypeParameterOptions = {};
|
|
7693
7920
|
type UseRegexpExecOptions = {};
|
|
7921
|
+
type UseRegexpTestOptions = {};
|
|
7694
7922
|
interface UseRequiredScriptsOptions {
|
|
7695
7923
|
/**
|
|
7696
7924
|
* List of script names that must be present in package.json
|
|
@@ -7710,6 +7938,7 @@ interface UseSortedClassesOptions {
|
|
|
7710
7938
|
}
|
|
7711
7939
|
type UseSpreadOptions = {};
|
|
7712
7940
|
type UseStringStartsEndsWithOptions = {};
|
|
7941
|
+
type UseTestHooksOnTopOptions = {};
|
|
7713
7942
|
type UseUnicodeRegexOptions = {};
|
|
7714
7943
|
type UseVarsOnTopOptions = {};
|
|
7715
7944
|
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
@@ -8571,6 +8800,7 @@ type Category =
|
|
|
8571
8800
|
| "lint/nursery/noEqualsToNull"
|
|
8572
8801
|
| "lint/nursery/noExcessiveClassesPerFile"
|
|
8573
8802
|
| "lint/nursery/noExcessiveLinesPerFile"
|
|
8803
|
+
| "lint/nursery/noExcessiveNestedCallbacks"
|
|
8574
8804
|
| "lint/nursery/noExcessiveSelectorClasses"
|
|
8575
8805
|
| "lint/nursery/noFloatingClasses"
|
|
8576
8806
|
| "lint/nursery/noFloatingPromises"
|
|
@@ -8581,9 +8811,11 @@ type Category =
|
|
|
8581
8811
|
| "lint/nursery/noImpliedEval"
|
|
8582
8812
|
| "lint/nursery/noIncrementDecrement"
|
|
8583
8813
|
| "lint/nursery/noInlineStyles"
|
|
8814
|
+
| "lint/nursery/noJsxLeakedDollar"
|
|
8584
8815
|
| "lint/nursery/noJsxNamespace"
|
|
8585
8816
|
| "lint/nursery/noJsxPropsBind"
|
|
8586
8817
|
| "lint/nursery/noLeakedRender"
|
|
8818
|
+
| "lint/nursery/noLoopFunc"
|
|
8587
8819
|
| "lint/nursery/noMisleadingReturnType"
|
|
8588
8820
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8589
8821
|
| "lint/nursery/noMisusedPromises"
|
|
@@ -8602,6 +8834,10 @@ type Category =
|
|
|
8602
8834
|
| "lint/nursery/noPlaywrightWaitForSelector"
|
|
8603
8835
|
| "lint/nursery/noPlaywrightWaitForTimeout"
|
|
8604
8836
|
| "lint/nursery/noProto"
|
|
8837
|
+
| "lint/nursery/noReactNativeDeepImports"
|
|
8838
|
+
| "lint/nursery/noReactNativeLiteralColors"
|
|
8839
|
+
| "lint/nursery/noReactNativeRawText"
|
|
8840
|
+
| "lint/nursery/noReactStringRefs"
|
|
8605
8841
|
| "lint/nursery/noRedundantDefaultExport"
|
|
8606
8842
|
| "lint/nursery/noReturnAssign"
|
|
8607
8843
|
| "lint/nursery/noRootType"
|
|
@@ -8613,6 +8849,7 @@ type Category =
|
|
|
8613
8849
|
| "lint/nursery/noUndeclaredEnvVars"
|
|
8614
8850
|
| "lint/nursery/noUnknownAttribute"
|
|
8615
8851
|
| "lint/nursery/noUnnecessaryConditions"
|
|
8852
|
+
| "lint/nursery/noUnnecessaryTemplateExpression"
|
|
8616
8853
|
| "lint/nursery/noUnsafePlusOperands"
|
|
8617
8854
|
| "lint/nursery/noUntrustedLicenses"
|
|
8618
8855
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
@@ -8635,6 +8872,8 @@ type Category =
|
|
|
8635
8872
|
| "lint/nursery/useConsistentTestIt"
|
|
8636
8873
|
| "lint/nursery/useDestructuring"
|
|
8637
8874
|
| "lint/nursery/useDisposables"
|
|
8875
|
+
| "lint/nursery/useDomNodeTextContent"
|
|
8876
|
+
| "lint/nursery/useDomQuerySelector"
|
|
8638
8877
|
| "lint/nursery/useErrorCause"
|
|
8639
8878
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8640
8879
|
| "lint/nursery/useExpect"
|
|
@@ -8651,6 +8890,7 @@ type Category =
|
|
|
8651
8890
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8652
8891
|
| "lint/nursery/useLoneAnonymousOperation"
|
|
8653
8892
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
8893
|
+
| "lint/nursery/useMathMinMax"
|
|
8654
8894
|
| "lint/nursery/useMaxParams"
|
|
8655
8895
|
| "lint/nursery/useNamedCaptureGroup"
|
|
8656
8896
|
| "lint/nursery/useNullishCoalescing"
|
|
@@ -8659,13 +8899,16 @@ type Category =
|
|
|
8659
8899
|
| "lint/nursery/useQwikMethodUsage"
|
|
8660
8900
|
| "lint/nursery/useQwikValidLexicalScope"
|
|
8661
8901
|
| "lint/nursery/useReactAsyncServerFunction"
|
|
8902
|
+
| "lint/nursery/useReactNativePlatformComponents"
|
|
8662
8903
|
| "lint/nursery/useReduceTypeParameter"
|
|
8663
8904
|
| "lint/nursery/useRegexpExec"
|
|
8905
|
+
| "lint/nursery/useRegexpTest"
|
|
8664
8906
|
| "lint/nursery/useRequiredScripts"
|
|
8665
8907
|
| "lint/nursery/useScopedStyles"
|
|
8666
8908
|
| "lint/nursery/useSortedClasses"
|
|
8667
8909
|
| "lint/nursery/useSpread"
|
|
8668
8910
|
| "lint/nursery/useStringStartsEndsWith"
|
|
8911
|
+
| "lint/nursery/useTestHooksOnTop"
|
|
8669
8912
|
| "lint/nursery/useUnicodeRegex"
|
|
8670
8913
|
| "lint/nursery/useUniqueArgumentNames"
|
|
8671
8914
|
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
@@ -9172,10 +9415,25 @@ type EmbeddingKind =
|
|
|
9172
9415
|
}
|
|
9173
9416
|
| {
|
|
9174
9417
|
Svelte: {
|
|
9418
|
+
/**
|
|
9419
|
+
* Whether this is a `{@const name = value}` block.
|
|
9420
|
+
*/
|
|
9421
|
+
is_const_block: boolean;
|
|
9422
|
+
/**
|
|
9423
|
+
* Whether this is the declaration of a function, usually declared in `#snippet`
|
|
9424
|
+
*/
|
|
9425
|
+
is_function_signature: boolean;
|
|
9175
9426
|
/**
|
|
9176
9427
|
* Where the bindings are defined
|
|
9177
9428
|
*/
|
|
9178
9429
|
is_source: boolean;
|
|
9430
|
+
/**
|
|
9431
|
+
* `kind` models whether the Svelte file is a component document or a
|
|
9432
|
+
source module. That distinction controls whether downstream code
|
|
9433
|
+
extracts `<script>` content or treats the file as a standalone JS/TS
|
|
9434
|
+
module, while `is_source` still tracks where bindings come from.
|
|
9435
|
+
*/
|
|
9436
|
+
kind: SvelteFileKind;
|
|
9179
9437
|
};
|
|
9180
9438
|
};
|
|
9181
9439
|
type Language = "javaScript" | { typeScript: { definition_file: boolean } };
|
|
@@ -9194,6 +9452,7 @@ type HtmlVariant =
|
|
|
9194
9452
|
| "Svelte";
|
|
9195
9453
|
type GritVariant = "Standard";
|
|
9196
9454
|
type MarkdownVariant = "Standard";
|
|
9455
|
+
type SvelteFileKind = "Component" | "SourceModule";
|
|
9197
9456
|
type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
|
|
9198
9457
|
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
9199
9458
|
interface OpenFileResult {
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|