@biomejs/wasm-bundler 2.4.11 → 2.4.13

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 CHANGED
@@ -889,7 +889,7 @@ interface Source {
889
889
  */
890
890
  noDuplicateClasses?: NoDuplicateClassesConfiguration;
891
891
  /**
892
- * Provides a code action to sort the imports and exports in the file using a built-in or custom order.
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"
@@ -1891,6 +1892,11 @@ interface Nursery {
1891
1892
  See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
1892
1893
  */
1893
1894
  noBeforeInteractiveScriptOutsideDocument?: NoBeforeInteractiveScriptOutsideDocumentConfiguration;
1895
+ /**
1896
+ * Disallows defining React components or custom hooks inside other functions.
1897
+ See https://biomejs.dev/linter/rules/no-component-hook-factories
1898
+ */
1899
+ noComponentHookFactories?: NoComponentHookFactoriesConfiguration;
1894
1900
  /**
1895
1901
  * Disallow conditional expect() calls inside tests.
1896
1902
  See https://biomejs.dev/linter/rules/no-conditional-expect
@@ -1991,6 +1997,11 @@ interface Nursery {
1991
1997
  See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
1992
1998
  */
1993
1999
  noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
2000
+ /**
2001
+ * Limit the number of classes in a selector.
2002
+ See https://biomejs.dev/linter/rules/no-excessive-selector-classes
2003
+ */
2004
+ noExcessiveSelectorClasses?: NoExcessiveSelectorClassesConfiguration;
1994
2005
  /**
1995
2006
  * Disallow new operators outside of assignments or comparisons.
1996
2007
  See https://biomejs.dev/linter/rules/no-floating-classes
@@ -2011,6 +2022,11 @@ interface Nursery {
2011
2022
  See https://biomejs.dev/linter/rules/no-hex-colors
2012
2023
  */
2013
2024
  noHexColors?: NoHexColorsConfiguration;
2025
+ /**
2026
+ * Disallow identical titles in test suites and test cases.
2027
+ See https://biomejs.dev/linter/rules/no-identical-test-title
2028
+ */
2029
+ noIdenticalTestTitle?: NoIdenticalTestTitleConfiguration;
2014
2030
  /**
2015
2031
  * Disallow the use of eval()-like methods.
2016
2032
  See https://biomejs.dev/linter/rules/no-implied-eval
@@ -2026,6 +2042,16 @@ interface Nursery {
2026
2042
  See https://biomejs.dev/linter/rules/no-inline-styles
2027
2043
  */
2028
2044
  noInlineStyles?: NoInlineStylesConfiguration;
2045
+ /**
2046
+ * Flags text nodes with a trailing $ before a JSX expression.
2047
+ See https://biomejs.dev/linter/rules/no-jsx-leaked-dollar
2048
+ */
2049
+ noJsxLeakedDollar?: NoJsxLeakedDollarConfiguration;
2050
+ /**
2051
+ * Disallow JSX namespace syntax.
2052
+ See https://biomejs.dev/linter/rules/no-jsx-namespace
2053
+ */
2054
+ noJsxNamespace?: NoJsxNamespaceConfiguration;
2029
2055
  /**
2030
2056
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
2031
2057
  See https://biomejs.dev/linter/rules/no-jsx-props-bind
@@ -2036,6 +2062,11 @@ interface Nursery {
2036
2062
  See https://biomejs.dev/linter/rules/no-leaked-render
2037
2063
  */
2038
2064
  noLeakedRender?: NoLeakedRenderConfiguration;
2065
+ /**
2066
+ * Disallow functions declared inside loops that capture unsafe outer variables.
2067
+ See https://biomejs.dev/linter/rules/no-loop-func
2068
+ */
2069
+ noLoopFunc?: NoLoopFuncConfiguration;
2039
2070
  /**
2040
2071
  * Detect return type annotations that are misleadingly wider than what the implementation actually returns.
2041
2072
  See https://biomejs.dev/linter/rules/no-misleading-return-type
@@ -2121,6 +2152,21 @@ interface Nursery {
2121
2152
  See https://biomejs.dev/linter/rules/no-proto
2122
2153
  */
2123
2154
  noProto?: NoProtoConfiguration;
2155
+ /**
2156
+ * Disallow deep imports from the react-native package.
2157
+ See https://biomejs.dev/linter/rules/no-react-native-deep-imports
2158
+ */
2159
+ noReactNativeDeepImports?: NoReactNativeDeepImportsConfiguration;
2160
+ /**
2161
+ * Disallow color literals in React Native styles.
2162
+ See https://biomejs.dev/linter/rules/no-react-native-literal-colors
2163
+ */
2164
+ noReactNativeLiteralColors?: NoReactNativeLiteralColorsConfiguration;
2165
+ /**
2166
+ * Disallow raw text outside \<Text> components in React Native.
2167
+ See https://biomejs.dev/linter/rules/no-react-native-raw-text
2168
+ */
2169
+ noReactNativeRawText?: NoReactNativeRawTextConfiguration;
2124
2170
  /**
2125
2171
  * Checks if a default export exports the same symbol as a named export.
2126
2172
  See https://biomejs.dev/linter/rules/no-redundant-default-export
@@ -2176,6 +2222,11 @@ interface Nursery {
2176
2222
  See https://biomejs.dev/linter/rules/no-unnecessary-conditions
2177
2223
  */
2178
2224
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
2225
+ /**
2226
+ * Disallow unnecessary template expressions.
2227
+ See https://biomejs.dev/linter/rules/no-unnecessary-template-expression
2228
+ */
2229
+ noUnnecessaryTemplateExpression?: NoUnnecessaryTemplateExpressionConfiguration;
2179
2230
  /**
2180
2231
  * Disallow + operations with operands that are known to be unsafe.
2181
2232
  See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
@@ -2270,6 +2321,16 @@ interface Nursery {
2270
2321
  See https://biomejs.dev/linter/rules/use-disposables
2271
2322
  */
2272
2323
  useDisposables?: UseDisposablesConfiguration;
2324
+ /**
2325
+ * Prefer .textContent over .innerText for DOM node text.
2326
+ See https://biomejs.dev/linter/rules/use-dom-node-text-content
2327
+ */
2328
+ useDomNodeTextContent?: UseDomNodeTextContentConfiguration;
2329
+ /**
2330
+ * Prefer querySelector() and querySelectorAll() over older DOM query APIs.
2331
+ See https://biomejs.dev/linter/rules/use-dom-query-selector
2332
+ */
2333
+ useDomQuerySelector?: UseDomQuerySelectorConfiguration;
2273
2334
  /**
2274
2335
  * Enforce that new Error() is thrown with the original error as cause.
2275
2336
  See https://biomejs.dev/linter/rules/use-error-cause
@@ -2305,6 +2366,11 @@ interface Nursery {
2305
2366
  See https://biomejs.dev/linter/rules/use-global-this
2306
2367
  */
2307
2368
  useGlobalThis?: UseGlobalThisConfiguration;
2369
+ /**
2370
+ * Enforce the 'sandbox' attribute for 'iframe' elements.
2371
+ See https://biomejs.dev/linter/rules/use-iframe-sandbox
2372
+ */
2373
+ useIframeSandbox?: UseIframeSandboxConfiguration;
2308
2374
  /**
2309
2375
  * Enforce that all imports appear at the top of the module.
2310
2376
  See https://biomejs.dev/linter/rules/use-imports-first
@@ -2350,11 +2416,31 @@ interface Nursery {
2350
2416
  See https://biomejs.dev/linter/rules/use-qwik-loader-location
2351
2417
  */
2352
2418
  useQwikLoaderLocation?: UseQwikLoaderLocationConfiguration;
2419
+ /**
2420
+ * Require functions with the "use server" directive to be async.
2421
+ See https://biomejs.dev/linter/rules/use-react-async-server-function
2422
+ */
2423
+ useReactAsyncServerFunction?: UseReactAsyncServerFunctionConfiguration;
2424
+ /**
2425
+ * Ensure that platform-specific React Native components are only imported in files named for that platform.
2426
+ See https://biomejs.dev/linter/rules/use-react-native-platform-components
2427
+ */
2428
+ useReactNativePlatformComponents?: UseReactNativePlatformComponentsConfiguration;
2429
+ /**
2430
+ * Enforce using a type parameter on Array#reduce instead of casting the initial value.
2431
+ See https://biomejs.dev/linter/rules/use-reduce-type-parameter
2432
+ */
2433
+ useReduceTypeParameter?: UseReduceTypeParameterConfiguration;
2353
2434
  /**
2354
2435
  * Enforce RegExp#exec over String#match if no global flag is provided.
2355
2436
  See https://biomejs.dev/linter/rules/use-regexp-exec
2356
2437
  */
2357
2438
  useRegexpExec?: UseRegexpExecConfiguration;
2439
+ /**
2440
+ * Enforce the use of RegExp.prototype.test() over String.prototype.match() and RegExp.prototype.exec() in boolean contexts.
2441
+ See https://biomejs.dev/linter/rules/use-regexp-test
2442
+ */
2443
+ useRegexpTest?: UseRegexpTestConfiguration;
2358
2444
  /**
2359
2445
  * Enforce the presence of required scripts in package.json.
2360
2446
  See https://biomejs.dev/linter/rules/use-required-scripts
@@ -2375,11 +2461,21 @@ interface Nursery {
2375
2461
  See https://biomejs.dev/linter/rules/use-spread
2376
2462
  */
2377
2463
  useSpread?: UseSpreadConfiguration;
2464
+ /**
2465
+ * Prefer String#startsWith() and String#endsWith() over verbose prefix and suffix checks.
2466
+ See https://biomejs.dev/linter/rules/use-string-starts-ends-with
2467
+ */
2468
+ useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
2378
2469
  /**
2379
2470
  * Enforce the use of the u or v flag for regular expressions.
2380
2471
  See https://biomejs.dev/linter/rules/use-unicode-regex
2381
2472
  */
2382
2473
  useUnicodeRegex?: UseUnicodeRegexConfiguration;
2474
+ /**
2475
+ * Require var declarations to appear at the top of their containing scope.
2476
+ See https://biomejs.dev/linter/rules/use-vars-on-top
2477
+ */
2478
+ useVarsOnTop?: UseVarsOnTopConfiguration;
2383
2479
  /**
2384
2480
  * Enforce consistent defineProps declaration style.
2385
2481
  See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
@@ -3972,6 +4068,9 @@ type NoAmbiguousAnchorTextConfiguration =
3972
4068
  type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
3973
4069
  | RulePlainConfiguration
3974
4070
  | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
4071
+ type NoComponentHookFactoriesConfiguration =
4072
+ | RulePlainConfiguration
4073
+ | RuleWithNoComponentHookFactoriesOptions;
3975
4074
  type NoConditionalExpectConfiguration =
3976
4075
  | RulePlainConfiguration
3977
4076
  | RuleWithNoConditionalExpectOptions;
@@ -4032,6 +4131,9 @@ type NoExcessiveClassesPerFileConfiguration =
4032
4131
  type NoExcessiveLinesPerFileConfiguration =
4033
4132
  | RulePlainConfiguration
4034
4133
  | RuleWithNoExcessiveLinesPerFileOptions;
4134
+ type NoExcessiveSelectorClassesConfiguration =
4135
+ | RulePlainConfiguration
4136
+ | RuleWithNoExcessiveSelectorClassesOptions;
4035
4137
  type NoFloatingClassesConfiguration =
4036
4138
  | RulePlainConfiguration
4037
4139
  | RuleWithNoFloatingClassesOptions;
@@ -4042,6 +4144,9 @@ type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
4042
4144
  type NoHexColorsConfiguration =
4043
4145
  | RulePlainConfiguration
4044
4146
  | RuleWithNoHexColorsOptions;
4147
+ type NoIdenticalTestTitleConfiguration =
4148
+ | RulePlainConfiguration
4149
+ | RuleWithNoIdenticalTestTitleOptions;
4045
4150
  type NoImpliedEvalConfiguration =
4046
4151
  | RulePlainConfiguration
4047
4152
  | RuleWithNoImpliedEvalOptions;
@@ -4051,12 +4156,21 @@ type NoIncrementDecrementConfiguration =
4051
4156
  type NoInlineStylesConfiguration =
4052
4157
  | RulePlainConfiguration
4053
4158
  | RuleWithNoInlineStylesOptions;
4159
+ type NoJsxLeakedDollarConfiguration =
4160
+ | RulePlainConfiguration
4161
+ | RuleWithNoJsxLeakedDollarOptions;
4162
+ type NoJsxNamespaceConfiguration =
4163
+ | RulePlainConfiguration
4164
+ | RuleWithNoJsxNamespaceOptions;
4054
4165
  type NoJsxPropsBindConfiguration =
4055
4166
  | RulePlainConfiguration
4056
4167
  | RuleWithNoJsxPropsBindOptions;
4057
4168
  type NoLeakedRenderConfiguration =
4058
4169
  | RulePlainConfiguration
4059
4170
  | RuleWithNoLeakedRenderOptions;
4171
+ type NoLoopFuncConfiguration =
4172
+ | RulePlainConfiguration
4173
+ | RuleWithNoLoopFuncOptions;
4060
4174
  type NoMisleadingReturnTypeConfiguration =
4061
4175
  | RulePlainConfiguration
4062
4176
  | RuleWithNoMisleadingReturnTypeOptions;
@@ -4106,6 +4220,15 @@ type NoPlaywrightWaitForTimeoutConfiguration =
4106
4220
  | RulePlainConfiguration
4107
4221
  | RuleWithNoPlaywrightWaitForTimeoutOptions;
4108
4222
  type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
4223
+ type NoReactNativeDeepImportsConfiguration =
4224
+ | RulePlainConfiguration
4225
+ | RuleWithNoReactNativeDeepImportsOptions;
4226
+ type NoReactNativeLiteralColorsConfiguration =
4227
+ | RulePlainConfiguration
4228
+ | RuleWithNoReactNativeLiteralColorsOptions;
4229
+ type NoReactNativeRawTextConfiguration =
4230
+ | RulePlainConfiguration
4231
+ | RuleWithNoReactNativeRawTextOptions;
4109
4232
  type NoRedundantDefaultExportConfiguration =
4110
4233
  | RulePlainConfiguration
4111
4234
  | RuleWithNoRedundantDefaultExportOptions;
@@ -4135,6 +4258,9 @@ type NoUnknownAttributeConfiguration =
4135
4258
  type NoUnnecessaryConditionsConfiguration =
4136
4259
  | RulePlainConfiguration
4137
4260
  | RuleWithNoUnnecessaryConditionsOptions;
4261
+ type NoUnnecessaryTemplateExpressionConfiguration =
4262
+ | RulePlainConfiguration
4263
+ | RuleWithNoUnnecessaryTemplateExpressionOptions;
4138
4264
  type NoUnsafePlusOperandsConfiguration =
4139
4265
  | RulePlainConfiguration
4140
4266
  | RuleWithNoUnsafePlusOperandsOptions;
@@ -4189,6 +4315,12 @@ type UseDestructuringConfiguration =
4189
4315
  type UseDisposablesConfiguration =
4190
4316
  | RulePlainConfiguration
4191
4317
  | RuleWithUseDisposablesOptions;
4318
+ type UseDomNodeTextContentConfiguration =
4319
+ | RulePlainConfiguration
4320
+ | RuleWithUseDomNodeTextContentOptions;
4321
+ type UseDomQuerySelectorConfiguration =
4322
+ | RulePlainConfiguration
4323
+ | RuleWithUseDomQuerySelectorOptions;
4192
4324
  type UseErrorCauseConfiguration =
4193
4325
  | RulePlainConfiguration
4194
4326
  | RuleWithUseErrorCauseOptions;
@@ -4206,6 +4338,9 @@ type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
4206
4338
  type UseGlobalThisConfiguration =
4207
4339
  | RulePlainConfiguration
4208
4340
  | RuleWithUseGlobalThisOptions;
4341
+ type UseIframeSandboxConfiguration =
4342
+ | RulePlainConfiguration
4343
+ | RuleWithUseIframeSandboxOptions;
4209
4344
  type UseImportsFirstConfiguration =
4210
4345
  | RulePlainConfiguration
4211
4346
  | RuleWithUseImportsFirstOptions;
@@ -4233,9 +4368,21 @@ type UsePlaywrightValidDescribeCallbackConfiguration =
4233
4368
  type UseQwikLoaderLocationConfiguration =
4234
4369
  | RulePlainConfiguration
4235
4370
  | RuleWithUseQwikLoaderLocationOptions;
4371
+ type UseReactAsyncServerFunctionConfiguration =
4372
+ | RulePlainConfiguration
4373
+ | RuleWithUseReactAsyncServerFunctionOptions;
4374
+ type UseReactNativePlatformComponentsConfiguration =
4375
+ | RulePlainConfiguration
4376
+ | RuleWithUseReactNativePlatformComponentsOptions;
4377
+ type UseReduceTypeParameterConfiguration =
4378
+ | RulePlainConfiguration
4379
+ | RuleWithUseReduceTypeParameterOptions;
4236
4380
  type UseRegexpExecConfiguration =
4237
4381
  | RulePlainConfiguration
4238
4382
  | RuleWithUseRegexpExecOptions;
4383
+ type UseRegexpTestConfiguration =
4384
+ | RulePlainConfiguration
4385
+ | RuleWithUseRegexpTestOptions;
4239
4386
  type UseRequiredScriptsConfiguration =
4240
4387
  | RulePlainConfiguration
4241
4388
  | RuleWithUseRequiredScriptsOptions;
@@ -4246,9 +4393,15 @@ type UseSortedClassesConfiguration =
4246
4393
  | RulePlainConfiguration
4247
4394
  | RuleWithUseSortedClassesOptions;
4248
4395
  type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
4396
+ type UseStringStartsEndsWithConfiguration =
4397
+ | RulePlainConfiguration
4398
+ | RuleWithUseStringStartsEndsWithOptions;
4249
4399
  type UseUnicodeRegexConfiguration =
4250
4400
  | RulePlainConfiguration
4251
4401
  | RuleWithUseUnicodeRegexOptions;
4402
+ type UseVarsOnTopConfiguration =
4403
+ | RulePlainConfiguration
4404
+ | RuleWithUseVarsOnTopOptions;
4252
4405
  type UseVueConsistentDefinePropsDeclarationConfiguration =
4253
4406
  | RulePlainConfiguration
4254
4407
  | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
@@ -5616,6 +5769,10 @@ interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
5616
5769
  level: RulePlainConfiguration;
5617
5770
  options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
5618
5771
  }
5772
+ interface RuleWithNoComponentHookFactoriesOptions {
5773
+ level: RulePlainConfiguration;
5774
+ options?: NoComponentHookFactoriesOptions;
5775
+ }
5619
5776
  interface RuleWithNoConditionalExpectOptions {
5620
5777
  level: RulePlainConfiguration;
5621
5778
  options?: NoConditionalExpectOptions;
@@ -5698,6 +5855,10 @@ interface RuleWithNoExcessiveLinesPerFileOptions {
5698
5855
  level: RulePlainConfiguration;
5699
5856
  options?: NoExcessiveLinesPerFileOptions;
5700
5857
  }
5858
+ interface RuleWithNoExcessiveSelectorClassesOptions {
5859
+ level: RulePlainConfiguration;
5860
+ options?: NoExcessiveSelectorClassesOptions;
5861
+ }
5701
5862
  interface RuleWithNoFloatingClassesOptions {
5702
5863
  level: RulePlainConfiguration;
5703
5864
  options?: NoFloatingClassesOptions;
@@ -5715,6 +5876,10 @@ interface RuleWithNoHexColorsOptions {
5715
5876
  level: RulePlainConfiguration;
5716
5877
  options?: NoHexColorsOptions;
5717
5878
  }
5879
+ interface RuleWithNoIdenticalTestTitleOptions {
5880
+ level: RulePlainConfiguration;
5881
+ options?: NoIdenticalTestTitleOptions;
5882
+ }
5718
5883
  interface RuleWithNoImpliedEvalOptions {
5719
5884
  level: RulePlainConfiguration;
5720
5885
  options?: NoImpliedEvalOptions;
@@ -5728,6 +5893,15 @@ interface RuleWithNoInlineStylesOptions {
5728
5893
  level: RulePlainConfiguration;
5729
5894
  options?: NoInlineStylesOptions;
5730
5895
  }
5896
+ interface RuleWithNoJsxLeakedDollarOptions {
5897
+ fix?: FixKind;
5898
+ level: RulePlainConfiguration;
5899
+ options?: NoJsxLeakedDollarOptions;
5900
+ }
5901
+ interface RuleWithNoJsxNamespaceOptions {
5902
+ level: RulePlainConfiguration;
5903
+ options?: NoJsxNamespaceOptions;
5904
+ }
5731
5905
  interface RuleWithNoJsxPropsBindOptions {
5732
5906
  level: RulePlainConfiguration;
5733
5907
  options?: NoJsxPropsBindOptions;
@@ -5736,6 +5910,10 @@ interface RuleWithNoLeakedRenderOptions {
5736
5910
  level: RulePlainConfiguration;
5737
5911
  options?: NoLeakedRenderOptions;
5738
5912
  }
5913
+ interface RuleWithNoLoopFuncOptions {
5914
+ level: RulePlainConfiguration;
5915
+ options?: NoLoopFuncOptions;
5916
+ }
5739
5917
  interface RuleWithNoMisleadingReturnTypeOptions {
5740
5918
  level: RulePlainConfiguration;
5741
5919
  options?: NoMisleadingReturnTypeOptions;
@@ -5810,6 +5988,18 @@ interface RuleWithNoProtoOptions {
5810
5988
  level: RulePlainConfiguration;
5811
5989
  options?: NoProtoOptions;
5812
5990
  }
5991
+ interface RuleWithNoReactNativeDeepImportsOptions {
5992
+ level: RulePlainConfiguration;
5993
+ options?: NoReactNativeDeepImportsOptions;
5994
+ }
5995
+ interface RuleWithNoReactNativeLiteralColorsOptions {
5996
+ level: RulePlainConfiguration;
5997
+ options?: NoReactNativeLiteralColorsOptions;
5998
+ }
5999
+ interface RuleWithNoReactNativeRawTextOptions {
6000
+ level: RulePlainConfiguration;
6001
+ options?: NoReactNativeRawTextOptions;
6002
+ }
5813
6003
  interface RuleWithNoRedundantDefaultExportOptions {
5814
6004
  level: RulePlainConfiguration;
5815
6005
  options?: NoRedundantDefaultExportOptions;
@@ -5854,6 +6044,11 @@ interface RuleWithNoUnnecessaryConditionsOptions {
5854
6044
  level: RulePlainConfiguration;
5855
6045
  options?: NoUnnecessaryConditionsOptions;
5856
6046
  }
6047
+ interface RuleWithNoUnnecessaryTemplateExpressionOptions {
6048
+ fix?: FixKind;
6049
+ level: RulePlainConfiguration;
6050
+ options?: NoUnnecessaryTemplateExpressionOptions;
6051
+ }
5857
6052
  interface RuleWithNoUnsafePlusOperandsOptions {
5858
6053
  level: RulePlainConfiguration;
5859
6054
  options?: NoUnsafePlusOperandsOptions;
@@ -5932,6 +6127,16 @@ interface RuleWithUseDisposablesOptions {
5932
6127
  level: RulePlainConfiguration;
5933
6128
  options?: UseDisposablesOptions;
5934
6129
  }
6130
+ interface RuleWithUseDomNodeTextContentOptions {
6131
+ fix?: FixKind;
6132
+ level: RulePlainConfiguration;
6133
+ options?: UseDomNodeTextContentOptions;
6134
+ }
6135
+ interface RuleWithUseDomQuerySelectorOptions {
6136
+ fix?: FixKind;
6137
+ level: RulePlainConfiguration;
6138
+ options?: UseDomQuerySelectorOptions;
6139
+ }
5935
6140
  interface RuleWithUseErrorCauseOptions {
5936
6141
  level: RulePlainConfiguration;
5937
6142
  options?: UseErrorCauseOptions;
@@ -5961,6 +6166,10 @@ interface RuleWithUseGlobalThisOptions {
5961
6166
  level: RulePlainConfiguration;
5962
6167
  options?: UseGlobalThisOptions;
5963
6168
  }
6169
+ interface RuleWithUseIframeSandboxOptions {
6170
+ level: RulePlainConfiguration;
6171
+ options?: UseIframeSandboxOptions;
6172
+ }
5964
6173
  interface RuleWithUseImportsFirstOptions {
5965
6174
  level: RulePlainConfiguration;
5966
6175
  options?: UseImportsFirstOptions;
@@ -5998,10 +6207,29 @@ interface RuleWithUseQwikLoaderLocationOptions {
5998
6207
  level: RulePlainConfiguration;
5999
6208
  options?: UseQwikLoaderLocationOptions;
6000
6209
  }
6210
+ interface RuleWithUseReactAsyncServerFunctionOptions {
6211
+ fix?: FixKind;
6212
+ level: RulePlainConfiguration;
6213
+ options?: UseReactAsyncServerFunctionOptions;
6214
+ }
6215
+ interface RuleWithUseReactNativePlatformComponentsOptions {
6216
+ level: RulePlainConfiguration;
6217
+ options?: UseReactNativePlatformComponentsOptions;
6218
+ }
6219
+ interface RuleWithUseReduceTypeParameterOptions {
6220
+ fix?: FixKind;
6221
+ level: RulePlainConfiguration;
6222
+ options?: UseReduceTypeParameterOptions;
6223
+ }
6001
6224
  interface RuleWithUseRegexpExecOptions {
6002
6225
  level: RulePlainConfiguration;
6003
6226
  options?: UseRegexpExecOptions;
6004
6227
  }
6228
+ interface RuleWithUseRegexpTestOptions {
6229
+ fix?: FixKind;
6230
+ level: RulePlainConfiguration;
6231
+ options?: UseRegexpTestOptions;
6232
+ }
6005
6233
  interface RuleWithUseRequiredScriptsOptions {
6006
6234
  level: RulePlainConfiguration;
6007
6235
  options?: UseRequiredScriptsOptions;
@@ -6021,11 +6249,20 @@ interface RuleWithUseSpreadOptions {
6021
6249
  level: RulePlainConfiguration;
6022
6250
  options?: UseSpreadOptions;
6023
6251
  }
6252
+ interface RuleWithUseStringStartsEndsWithOptions {
6253
+ fix?: FixKind;
6254
+ level: RulePlainConfiguration;
6255
+ options?: UseStringStartsEndsWithOptions;
6256
+ }
6024
6257
  interface RuleWithUseUnicodeRegexOptions {
6025
6258
  fix?: FixKind;
6026
6259
  level: RulePlainConfiguration;
6027
6260
  options?: UseUnicodeRegexOptions;
6028
6261
  }
6262
+ interface RuleWithUseVarsOnTopOptions {
6263
+ level: RulePlainConfiguration;
6264
+ options?: UseVarsOnTopOptions;
6265
+ }
6029
6266
  interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
6030
6267
  level: RulePlainConfiguration;
6031
6268
  options?: UseVueConsistentDefinePropsDeclarationOptions;
@@ -7296,6 +7533,7 @@ interface NoAmbiguousAnchorTextOptions {
7296
7533
  words?: string[];
7297
7534
  }
7298
7535
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
7536
+ type NoComponentHookFactoriesOptions = {};
7299
7537
  type NoConditionalExpectOptions = {};
7300
7538
  type NoContinueOptions = {};
7301
7539
  interface NoDeprecatedMediaTypeOptions {
@@ -7345,10 +7583,20 @@ interface NoExcessiveLinesPerFileOptions {
7345
7583
  */
7346
7584
  skipBlankLines?: boolean;
7347
7585
  }
7586
+ interface NoExcessiveSelectorClassesOptions {
7587
+ /**
7588
+ * The maximum number of class selectors allowed in a single selector.
7589
+
7590
+ This option is required to enable the rule.
7591
+ Use `0` to disallow class selectors entirely.
7592
+ */
7593
+ maxClasses?: number;
7594
+ }
7348
7595
  type NoFloatingClassesOptions = {};
7349
7596
  type NoFloatingPromisesOptions = {};
7350
7597
  type NoForInOptions = {};
7351
7598
  type NoHexColorsOptions = {};
7599
+ type NoIdenticalTestTitleOptions = {};
7352
7600
  type NoImpliedEvalOptions = {};
7353
7601
  interface NoIncrementDecrementOptions {
7354
7602
  /**
@@ -7357,8 +7605,11 @@ interface NoIncrementDecrementOptions {
7357
7605
  allowForLoopAfterthoughts?: boolean;
7358
7606
  }
7359
7607
  type NoInlineStylesOptions = {};
7608
+ type NoJsxLeakedDollarOptions = {};
7609
+ type NoJsxNamespaceOptions = {};
7360
7610
  type NoJsxPropsBindOptions = {};
7361
7611
  type NoLeakedRenderOptions = {};
7612
+ type NoLoopFuncOptions = {};
7362
7613
  type NoMisleadingReturnTypeOptions = {};
7363
7614
  type NoMisusedPromisesOptions = {};
7364
7615
  type NoMultiAssignOptions = {};
@@ -7376,6 +7627,14 @@ type NoPlaywrightWaitForNavigationOptions = {};
7376
7627
  type NoPlaywrightWaitForSelectorOptions = {};
7377
7628
  type NoPlaywrightWaitForTimeoutOptions = {};
7378
7629
  type NoProtoOptions = {};
7630
+ type NoReactNativeDeepImportsOptions = {};
7631
+ type NoReactNativeLiteralColorsOptions = {};
7632
+ interface NoReactNativeRawTextOptions {
7633
+ /**
7634
+ * Names of additional components that are allowed to contain raw text.
7635
+ */
7636
+ skip?: string[];
7637
+ }
7379
7638
  type NoRedundantDefaultExportOptions = {};
7380
7639
  type NoReturnAssignOptions = {};
7381
7640
  interface NoRootTypeOptions {
@@ -7403,6 +7662,7 @@ interface NoUnknownAttributeOptions {
7403
7662
  ignore?: string[];
7404
7663
  }
7405
7664
  type NoUnnecessaryConditionsOptions = {};
7665
+ type NoUnnecessaryTemplateExpressionOptions = {};
7406
7666
  type NoUnsafePlusOperandsOptions = {};
7407
7667
  interface NoUntrustedLicensesOptions {
7408
7668
  /**
@@ -7506,6 +7766,8 @@ interface UseConsistentTestItOptions {
7506
7766
  }
7507
7767
  type UseDestructuringOptions = {};
7508
7768
  type UseDisposablesOptions = {};
7769
+ type UseDomNodeTextContentOptions = {};
7770
+ type UseDomQuerySelectorOptions = {};
7509
7771
  interface UseErrorCauseOptions {
7510
7772
  /**
7511
7773
  * When set to `true`, the rule requires that `catch` clauses have a parameter.
@@ -7532,6 +7794,7 @@ interface UseExplicitReturnTypeOptions {
7532
7794
  type UseExplicitTypeOptions = {};
7533
7795
  type UseFindOptions = {};
7534
7796
  type UseGlobalThisOptions = {};
7797
+ type UseIframeSandboxOptions = {};
7535
7798
  type UseImportsFirstOptions = {};
7536
7799
  type UseInlineScriptIdOptions = {};
7537
7800
  interface UseInputNameOptions {
@@ -7564,7 +7827,22 @@ interface UseNullishCoalescingOptions {
7564
7827
  }
7565
7828
  type UsePlaywrightValidDescribeCallbackOptions = {};
7566
7829
  type UseQwikLoaderLocationOptions = {};
7830
+ type UseReactAsyncServerFunctionOptions = {};
7831
+ interface UseReactNativePlatformComponentsOptions {
7832
+ /**
7833
+ * A list of glob patterns to identify Android-specific files.
7834
+ Defaults to `["**\/*.android.{js,jsx,ts,tsx}"]`.
7835
+ */
7836
+ androidPathPatterns?: NormalizedGlob[];
7837
+ /**
7838
+ * A list of glob patterns to identify iOS-specific files.
7839
+ Defaults to `["**\/*.ios.{js,jsx,ts,tsx}"]`.
7840
+ */
7841
+ iosPathPatterns?: NormalizedGlob[];
7842
+ }
7843
+ type UseReduceTypeParameterOptions = {};
7567
7844
  type UseRegexpExecOptions = {};
7845
+ type UseRegexpTestOptions = {};
7568
7846
  interface UseRequiredScriptsOptions {
7569
7847
  /**
7570
7848
  * List of script names that must be present in package.json
@@ -7583,7 +7861,9 @@ interface UseSortedClassesOptions {
7583
7861
  functions?: string[];
7584
7862
  }
7585
7863
  type UseSpreadOptions = {};
7864
+ type UseStringStartsEndsWithOptions = {};
7586
7865
  type UseUnicodeRegexOptions = {};
7866
+ type UseVarsOnTopOptions = {};
7587
7867
  interface UseVueConsistentDefinePropsDeclarationOptions {
7588
7868
  style?: DeclarationStyle;
7589
7869
  }
@@ -8422,6 +8702,7 @@ type Category =
8422
8702
  | "lint/nursery/noAmbiguousAnchorText"
8423
8703
  | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
8424
8704
  | "lint/nursery/noColorInvalidHex"
8705
+ | "lint/nursery/noComponentHookFactories"
8425
8706
  | "lint/nursery/noConditionalExpect"
8426
8707
  | "lint/nursery/noContinue"
8427
8708
  | "lint/nursery/noDeprecatedMediaType"
@@ -8442,18 +8723,23 @@ type Category =
8442
8723
  | "lint/nursery/noEqualsToNull"
8443
8724
  | "lint/nursery/noExcessiveClassesPerFile"
8444
8725
  | "lint/nursery/noExcessiveLinesPerFile"
8726
+ | "lint/nursery/noExcessiveSelectorClasses"
8445
8727
  | "lint/nursery/noFloatingClasses"
8446
8728
  | "lint/nursery/noFloatingPromises"
8447
8729
  | "lint/nursery/noForIn"
8448
8730
  | "lint/nursery/noHexColors"
8731
+ | "lint/nursery/noIdenticalTestTitle"
8449
8732
  | "lint/nursery/noImplicitCoercion"
8450
8733
  | "lint/nursery/noImpliedEval"
8451
8734
  | "lint/nursery/noIncrementDecrement"
8452
8735
  | "lint/nursery/noInlineStyles"
8736
+ | "lint/nursery/noJsxLeakedDollar"
8737
+ | "lint/nursery/noJsxNamespace"
8453
8738
  | "lint/nursery/noJsxPropsBind"
8454
8739
  | "lint/nursery/noLeakedRender"
8455
- | "lint/nursery/noMissingGenericFamilyKeyword"
8456
8740
  | "lint/nursery/noMisleadingReturnType"
8741
+ | "lint/nursery/noLoopFunc"
8742
+ | "lint/nursery/noMissingGenericFamilyKeyword"
8457
8743
  | "lint/nursery/noMisusedPromises"
8458
8744
  | "lint/nursery/noMultiAssign"
8459
8745
  | "lint/nursery/noMultiStr"
@@ -8470,6 +8756,9 @@ type Category =
8470
8756
  | "lint/nursery/noPlaywrightWaitForSelector"
8471
8757
  | "lint/nursery/noPlaywrightWaitForTimeout"
8472
8758
  | "lint/nursery/noProto"
8759
+ | "lint/nursery/noReactNativeLiteralColors"
8760
+ | "lint/nursery/noReactNativeDeepImports"
8761
+ | "lint/nursery/noReactNativeRawText"
8473
8762
  | "lint/nursery/noRedundantDefaultExport"
8474
8763
  | "lint/nursery/noReturnAssign"
8475
8764
  | "lint/nursery/noRootType"
@@ -8481,6 +8770,7 @@ type Category =
8481
8770
  | "lint/nursery/noUndeclaredEnvVars"
8482
8771
  | "lint/nursery/noUnknownAttribute"
8483
8772
  | "lint/nursery/noUnnecessaryConditions"
8773
+ | "lint/nursery/noUnnecessaryTemplateExpression"
8484
8774
  | "lint/nursery/noUnsafePlusOperands"
8485
8775
  | "lint/nursery/noUntrustedLicenses"
8486
8776
  | "lint/nursery/noUnwantedPolyfillio"
@@ -8503,6 +8793,8 @@ type Category =
8503
8793
  | "lint/nursery/useConsistentTestIt"
8504
8794
  | "lint/nursery/useDestructuring"
8505
8795
  | "lint/nursery/useDisposables"
8796
+ | "lint/nursery/useDomQuerySelector"
8797
+ | "lint/nursery/useDomNodeTextContent"
8506
8798
  | "lint/nursery/useErrorCause"
8507
8799
  | "lint/nursery/useExhaustiveSwitchCases"
8508
8800
  | "lint/nursery/useExpect"
@@ -8511,6 +8803,7 @@ type Category =
8511
8803
  | "lint/nursery/useExplicitType"
8512
8804
  | "lint/nursery/useFind"
8513
8805
  | "lint/nursery/useGlobalThis"
8806
+ | "lint/nursery/useIframeSandbox"
8514
8807
  | "lint/nursery/useImportRestrictions"
8515
8808
  | "lint/nursery/useImportsFirst"
8516
8809
  | "lint/nursery/useInlineScriptId"
@@ -8525,17 +8818,23 @@ type Category =
8525
8818
  | "lint/nursery/useQwikLoaderLocation"
8526
8819
  | "lint/nursery/useQwikMethodUsage"
8527
8820
  | "lint/nursery/useQwikValidLexicalScope"
8821
+ | "lint/nursery/useReactAsyncServerFunction"
8822
+ | "lint/nursery/useReactNativePlatformComponents"
8823
+ | "lint/nursery/useReduceTypeParameter"
8528
8824
  | "lint/nursery/useRegexpExec"
8825
+ | "lint/nursery/useRegexpTest"
8529
8826
  | "lint/nursery/useRequiredScripts"
8530
8827
  | "lint/nursery/useScopedStyles"
8531
8828
  | "lint/nursery/useSortedClasses"
8532
8829
  | "lint/nursery/useSpread"
8830
+ | "lint/nursery/useStringStartsEndsWith"
8533
8831
  | "lint/nursery/useUnicodeRegex"
8534
8832
  | "lint/nursery/useUniqueArgumentNames"
8535
8833
  | "lint/nursery/useUniqueFieldDefinitionNames"
8536
8834
  | "lint/nursery/useUniqueGraphqlOperationName"
8537
8835
  | "lint/nursery/useUniqueInputFieldNames"
8538
8836
  | "lint/nursery/useUniqueVariableNames"
8837
+ | "lint/nursery/useVarsOnTop"
8539
8838
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
8540
8839
  | "lint/nursery/useVueConsistentVBindStyle"
8541
8840
  | "lint/nursery/useVueConsistentVOnStyle"
@@ -9035,6 +9334,10 @@ type EmbeddingKind =
9035
9334
  }
9036
9335
  | {
9037
9336
  Svelte: {
9337
+ /**
9338
+ * Whether this is the declaration of a function, usually declared in `#snippet`
9339
+ */
9340
+ is_function_signature: boolean;
9038
9341
  /**
9039
9342
  * Where the bindings are defined
9040
9343
  */
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "2.4.11",
8
+ "version": "2.4.13",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",