@biomejs/wasm-web 2.4.8 → 2.4.10
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 +155 -10
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1957,6 +1957,11 @@ See https://biomejs.dev/linter/rules/no-duplicate-input-field-names
|
|
|
1957
1957
|
*/
|
|
1958
1958
|
noDuplicateInputFieldNames?: NoDuplicateInputFieldNamesConfiguration;
|
|
1959
1959
|
/**
|
|
1960
|
+
* Disallow duplicate selectors.
|
|
1961
|
+
See https://biomejs.dev/linter/rules/no-duplicate-selectors
|
|
1962
|
+
*/
|
|
1963
|
+
noDuplicateSelectors?: NoDuplicateSelectorsConfiguration;
|
|
1964
|
+
/**
|
|
1960
1965
|
* Require all variable definitions to be unique.
|
|
1961
1966
|
See https://biomejs.dev/linter/rules/no-duplicate-variable-names
|
|
1962
1967
|
*/
|
|
@@ -2007,11 +2012,21 @@ See https://biomejs.dev/linter/rules/no-hex-colors
|
|
|
2007
2012
|
*/
|
|
2008
2013
|
noHexColors?: NoHexColorsConfiguration;
|
|
2009
2014
|
/**
|
|
2015
|
+
* Disallow the use of eval()-like methods.
|
|
2016
|
+
See https://biomejs.dev/linter/rules/no-implied-eval
|
|
2017
|
+
*/
|
|
2018
|
+
noImpliedEval?: NoImpliedEvalConfiguration;
|
|
2019
|
+
/**
|
|
2010
2020
|
* Disallows the usage of the unary operators ++ and --.
|
|
2011
2021
|
See https://biomejs.dev/linter/rules/no-increment-decrement
|
|
2012
2022
|
*/
|
|
2013
2023
|
noIncrementDecrement?: NoIncrementDecrementConfiguration;
|
|
2014
2024
|
/**
|
|
2025
|
+
* Disallow the use of inline styles.
|
|
2026
|
+
See https://biomejs.dev/linter/rules/no-inline-styles
|
|
2027
|
+
*/
|
|
2028
|
+
noInlineStyles?: NoInlineStylesConfiguration;
|
|
2029
|
+
/**
|
|
2015
2030
|
* Disallow .bind(), arrow functions, or function expressions in JSX props.
|
|
2016
2031
|
See https://biomejs.dev/linter/rules/no-jsx-props-bind
|
|
2017
2032
|
*/
|
|
@@ -2157,6 +2172,16 @@ See https://biomejs.dev/linter/rules/no-unnecessary-conditions
|
|
|
2157
2172
|
*/
|
|
2158
2173
|
noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
|
|
2159
2174
|
/**
|
|
2175
|
+
* Disallow + operations with operands that are known to be unsafe.
|
|
2176
|
+
See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
|
|
2177
|
+
*/
|
|
2178
|
+
noUnsafePlusOperands?: NoUnsafePlusOperandsConfiguration;
|
|
2179
|
+
/**
|
|
2180
|
+
* Disallow dependencies with untrusted licenses.
|
|
2181
|
+
See https://biomejs.dev/linter/rules/no-untrusted-licenses
|
|
2182
|
+
*/
|
|
2183
|
+
noUntrustedLicenses?: NoUntrustedLicensesConfiguration;
|
|
2184
|
+
/**
|
|
2160
2185
|
* Disallow redundant return statements.
|
|
2161
2186
|
See https://biomejs.dev/linter/rules/no-useless-return
|
|
2162
2187
|
*/
|
|
@@ -2366,7 +2391,7 @@ See https://biomejs.dev/linter/rules/use-vue-valid-template-root
|
|
|
2366
2391
|
*/
|
|
2367
2392
|
useVueValidTemplateRoot?: UseVueValidTemplateRootConfiguration;
|
|
2368
2393
|
/**
|
|
2369
|
-
* Forbids v-bind directives with missing
|
|
2394
|
+
* Forbids v-bind directives with missing values or invalid modifiers.
|
|
2370
2395
|
See https://biomejs.dev/linter/rules/use-vue-valid-v-bind
|
|
2371
2396
|
*/
|
|
2372
2397
|
useVueValidVBind?: UseVueValidVBindConfiguration;
|
|
@@ -3956,6 +3981,9 @@ type NoDuplicateGraphqlOperationNameConfiguration =
|
|
|
3956
3981
|
type NoDuplicateInputFieldNamesConfiguration =
|
|
3957
3982
|
| RulePlainConfiguration
|
|
3958
3983
|
| RuleWithNoDuplicateInputFieldNamesOptions;
|
|
3984
|
+
type NoDuplicateSelectorsConfiguration =
|
|
3985
|
+
| RulePlainConfiguration
|
|
3986
|
+
| RuleWithNoDuplicateSelectorsOptions;
|
|
3959
3987
|
type NoDuplicateVariableNamesConfiguration =
|
|
3960
3988
|
| RulePlainConfiguration
|
|
3961
3989
|
| RuleWithNoDuplicateVariableNamesOptions;
|
|
@@ -3984,9 +4012,15 @@ type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
|
|
|
3984
4012
|
type NoHexColorsConfiguration =
|
|
3985
4013
|
| RulePlainConfiguration
|
|
3986
4014
|
| RuleWithNoHexColorsOptions;
|
|
4015
|
+
type NoImpliedEvalConfiguration =
|
|
4016
|
+
| RulePlainConfiguration
|
|
4017
|
+
| RuleWithNoImpliedEvalOptions;
|
|
3987
4018
|
type NoIncrementDecrementConfiguration =
|
|
3988
4019
|
| RulePlainConfiguration
|
|
3989
4020
|
| RuleWithNoIncrementDecrementOptions;
|
|
4021
|
+
type NoInlineStylesConfiguration =
|
|
4022
|
+
| RulePlainConfiguration
|
|
4023
|
+
| RuleWithNoInlineStylesOptions;
|
|
3990
4024
|
type NoJsxPropsBindConfiguration =
|
|
3991
4025
|
| RulePlainConfiguration
|
|
3992
4026
|
| RuleWithNoJsxPropsBindOptions;
|
|
@@ -4068,6 +4102,12 @@ type NoUnknownAttributeConfiguration =
|
|
|
4068
4102
|
type NoUnnecessaryConditionsConfiguration =
|
|
4069
4103
|
| RulePlainConfiguration
|
|
4070
4104
|
| RuleWithNoUnnecessaryConditionsOptions;
|
|
4105
|
+
type NoUnsafePlusOperandsConfiguration =
|
|
4106
|
+
| RulePlainConfiguration
|
|
4107
|
+
| RuleWithNoUnsafePlusOperandsOptions;
|
|
4108
|
+
type NoUntrustedLicensesConfiguration =
|
|
4109
|
+
| RulePlainConfiguration
|
|
4110
|
+
| RuleWithNoUntrustedLicensesOptions;
|
|
4071
4111
|
type NoUselessReturnConfiguration =
|
|
4072
4112
|
| RulePlainConfiguration
|
|
4073
4113
|
| RuleWithNoUselessReturnOptions;
|
|
@@ -5581,6 +5621,10 @@ interface RuleWithNoDuplicateInputFieldNamesOptions {
|
|
|
5581
5621
|
level: RulePlainConfiguration;
|
|
5582
5622
|
options?: NoDuplicateInputFieldNamesOptions;
|
|
5583
5623
|
}
|
|
5624
|
+
interface RuleWithNoDuplicateSelectorsOptions {
|
|
5625
|
+
level: RulePlainConfiguration;
|
|
5626
|
+
options?: NoDuplicateSelectorsOptions;
|
|
5627
|
+
}
|
|
5584
5628
|
interface RuleWithNoDuplicateVariableNamesOptions {
|
|
5585
5629
|
level: RulePlainConfiguration;
|
|
5586
5630
|
options?: NoDuplicateVariableNamesOptions;
|
|
@@ -5623,10 +5667,19 @@ interface RuleWithNoHexColorsOptions {
|
|
|
5623
5667
|
level: RulePlainConfiguration;
|
|
5624
5668
|
options?: NoHexColorsOptions;
|
|
5625
5669
|
}
|
|
5670
|
+
interface RuleWithNoImpliedEvalOptions {
|
|
5671
|
+
level: RulePlainConfiguration;
|
|
5672
|
+
options?: NoImpliedEvalOptions;
|
|
5673
|
+
}
|
|
5626
5674
|
interface RuleWithNoIncrementDecrementOptions {
|
|
5627
5675
|
level: RulePlainConfiguration;
|
|
5628
5676
|
options?: NoIncrementDecrementOptions;
|
|
5629
5677
|
}
|
|
5678
|
+
interface RuleWithNoInlineStylesOptions {
|
|
5679
|
+
fix?: FixKind;
|
|
5680
|
+
level: RulePlainConfiguration;
|
|
5681
|
+
options?: NoInlineStylesOptions;
|
|
5682
|
+
}
|
|
5630
5683
|
interface RuleWithNoJsxPropsBindOptions {
|
|
5631
5684
|
level: RulePlainConfiguration;
|
|
5632
5685
|
options?: NoJsxPropsBindOptions;
|
|
@@ -5749,6 +5802,14 @@ interface RuleWithNoUnnecessaryConditionsOptions {
|
|
|
5749
5802
|
level: RulePlainConfiguration;
|
|
5750
5803
|
options?: NoUnnecessaryConditionsOptions;
|
|
5751
5804
|
}
|
|
5805
|
+
interface RuleWithNoUnsafePlusOperandsOptions {
|
|
5806
|
+
level: RulePlainConfiguration;
|
|
5807
|
+
options?: NoUnsafePlusOperandsOptions;
|
|
5808
|
+
}
|
|
5809
|
+
interface RuleWithNoUntrustedLicensesOptions {
|
|
5810
|
+
level: RulePlainConfiguration;
|
|
5811
|
+
options?: NoUntrustedLicensesOptions;
|
|
5812
|
+
}
|
|
5752
5813
|
interface RuleWithNoUselessReturnOptions {
|
|
5753
5814
|
fix?: FixKind;
|
|
5754
5815
|
level: RulePlainConfiguration;
|
|
@@ -5797,6 +5858,7 @@ interface RuleWithUseConsistentGraphqlDescriptionsOptions {
|
|
|
5797
5858
|
options?: UseConsistentGraphqlDescriptionsOptions;
|
|
5798
5859
|
}
|
|
5799
5860
|
interface RuleWithUseConsistentMethodSignaturesOptions {
|
|
5861
|
+
fix?: FixKind;
|
|
5800
5862
|
level: RulePlainConfiguration;
|
|
5801
5863
|
options?: UseConsistentMethodSignaturesOptions;
|
|
5802
5864
|
}
|
|
@@ -7188,6 +7250,7 @@ type NoDuplicateEnumValuesOptions = {};
|
|
|
7188
7250
|
type NoDuplicateFieldDefinitionNamesOptions = {};
|
|
7189
7251
|
type NoDuplicateGraphqlOperationNameOptions = {};
|
|
7190
7252
|
type NoDuplicateInputFieldNamesOptions = {};
|
|
7253
|
+
type NoDuplicateSelectorsOptions = {};
|
|
7191
7254
|
type NoDuplicateVariableNamesOptions = {};
|
|
7192
7255
|
type NoDuplicatedSpreadPropsOptions = {};
|
|
7193
7256
|
type NoEmptyObjectKeysOptions = {};
|
|
@@ -7212,12 +7275,14 @@ type NoFloatingClassesOptions = {};
|
|
|
7212
7275
|
type NoFloatingPromisesOptions = {};
|
|
7213
7276
|
type NoForInOptions = {};
|
|
7214
7277
|
type NoHexColorsOptions = {};
|
|
7278
|
+
type NoImpliedEvalOptions = {};
|
|
7215
7279
|
interface NoIncrementDecrementOptions {
|
|
7216
7280
|
/**
|
|
7217
7281
|
* Allows unary operators ++ and -- in the afterthought (final expression) of a for loop.
|
|
7218
7282
|
*/
|
|
7219
7283
|
allowForLoopAfterthoughts?: boolean;
|
|
7220
7284
|
}
|
|
7285
|
+
type NoInlineStylesOptions = {};
|
|
7221
7286
|
type NoJsxPropsBindOptions = {};
|
|
7222
7287
|
type NoLeakedRenderOptions = {};
|
|
7223
7288
|
type NoMisusedPromisesOptions = {};
|
|
@@ -7263,6 +7328,41 @@ interface NoUnknownAttributeOptions {
|
|
|
7263
7328
|
ignore?: string[];
|
|
7264
7329
|
}
|
|
7265
7330
|
type NoUnnecessaryConditionsOptions = {};
|
|
7331
|
+
type NoUnsafePlusOperandsOptions = {};
|
|
7332
|
+
interface NoUntrustedLicensesOptions {
|
|
7333
|
+
/**
|
|
7334
|
+
* Additional license identifiers to trust, beyond valid SPDX identifiers.
|
|
7335
|
+
|
|
7336
|
+
Useful for custom or proprietary licenses that are not part of the SPDX
|
|
7337
|
+
standard but are acceptable in your project.
|
|
7338
|
+
*/
|
|
7339
|
+
allow?: string[];
|
|
7340
|
+
/**
|
|
7341
|
+
* License identifiers to explicitly deny, even if they are valid SPDX identifiers.
|
|
7342
|
+
|
|
7343
|
+
Use this to block specific licenses that your project or organization can't use (e.g.,
|
|
7344
|
+
copyleft licenses in a proprietary project).
|
|
7345
|
+
*/
|
|
7346
|
+
deny?: string[];
|
|
7347
|
+
/**
|
|
7348
|
+
* When `true`, deprecated SPDX license identifiers are accepted.
|
|
7349
|
+
When `false`, deprecated licenses are flagged as untrusted.
|
|
7350
|
+
Defaults to `false`.
|
|
7351
|
+
*/
|
|
7352
|
+
ignoreDeprecated?: boolean;
|
|
7353
|
+
/**
|
|
7354
|
+
* When `true`, only licenses recognized as free/libre by the Free Software
|
|
7355
|
+
Foundation (FSF) are trusted. Licenses in the `allow` list bypass this check.
|
|
7356
|
+
Defaults to `false`.
|
|
7357
|
+
*/
|
|
7358
|
+
requireFsfLibre?: boolean;
|
|
7359
|
+
/**
|
|
7360
|
+
* When `true`, only licenses approved by the Open Source Initiative (OSI)
|
|
7361
|
+
are trusted. Licenses in the `allow` list bypass this check.
|
|
7362
|
+
Defaults to `false`.
|
|
7363
|
+
*/
|
|
7364
|
+
requireOsiApproved?: boolean;
|
|
7365
|
+
}
|
|
7266
7366
|
type NoUselessReturnOptions = {};
|
|
7267
7367
|
type NoVueArrowFuncInWatchOptions = {};
|
|
7268
7368
|
type NoVueOptionsApiOptions = {};
|
|
@@ -8213,6 +8313,8 @@ type Category =
|
|
|
8213
8313
|
| "lint/nursery/noContinue"
|
|
8214
8314
|
| "lint/nursery/noDeprecatedMediaType"
|
|
8215
8315
|
| "lint/nursery/noDivRegex"
|
|
8316
|
+
| "lint/nursery/noDrizzleDeleteWithoutWhere"
|
|
8317
|
+
| "lint/nursery/noDrizzleUpdateWithoutWhere"
|
|
8216
8318
|
| "lint/nursery/noDuplicateArgumentNames"
|
|
8217
8319
|
| "lint/nursery/noDuplicateAttributes"
|
|
8218
8320
|
| "lint/nursery/noDuplicateEnumValueNames"
|
|
@@ -8220,6 +8322,7 @@ type Category =
|
|
|
8220
8322
|
| "lint/nursery/noDuplicateFieldDefinitionNames"
|
|
8221
8323
|
| "lint/nursery/noDuplicateGraphqlOperationName"
|
|
8222
8324
|
| "lint/nursery/noDuplicateInputFieldNames"
|
|
8325
|
+
| "lint/nursery/noDuplicateSelectors"
|
|
8223
8326
|
| "lint/nursery/noDuplicateVariableNames"
|
|
8224
8327
|
| "lint/nursery/noDuplicatedSpreadProps"
|
|
8225
8328
|
| "lint/nursery/noEmptyObjectKeys"
|
|
@@ -8231,7 +8334,9 @@ type Category =
|
|
|
8231
8334
|
| "lint/nursery/noForIn"
|
|
8232
8335
|
| "lint/nursery/noHexColors"
|
|
8233
8336
|
| "lint/nursery/noImplicitCoercion"
|
|
8337
|
+
| "lint/nursery/noImpliedEval"
|
|
8234
8338
|
| "lint/nursery/noIncrementDecrement"
|
|
8339
|
+
| "lint/nursery/noInlineStyles"
|
|
8235
8340
|
| "lint/nursery/noJsxPropsBind"
|
|
8236
8341
|
| "lint/nursery/noLeakedRender"
|
|
8237
8342
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
@@ -8240,8 +8345,6 @@ type Category =
|
|
|
8240
8345
|
| "lint/nursery/noMultiStr"
|
|
8241
8346
|
| "lint/nursery/noNestedPromises"
|
|
8242
8347
|
| "lint/nursery/noParametersOnlyUsedInRecursion"
|
|
8243
|
-
| "lint/nursery/noDrizzleDeleteWithoutWhere"
|
|
8244
|
-
| "lint/nursery/noDrizzleUpdateWithoutWhere"
|
|
8245
8348
|
| "lint/nursery/noPlaywrightElementHandle"
|
|
8246
8349
|
| "lint/nursery/noPlaywrightEval"
|
|
8247
8350
|
| "lint/nursery/noPlaywrightForceOption"
|
|
@@ -8260,9 +8363,12 @@ type Category =
|
|
|
8260
8363
|
| "lint/nursery/noShadow"
|
|
8261
8364
|
| "lint/nursery/noSyncScripts"
|
|
8262
8365
|
| "lint/nursery/noTernary"
|
|
8366
|
+
| "lint/nursery/noTopLevelLiterals"
|
|
8263
8367
|
| "lint/nursery/noUndeclaredEnvVars"
|
|
8264
8368
|
| "lint/nursery/noUnknownAttribute"
|
|
8265
8369
|
| "lint/nursery/noUnnecessaryConditions"
|
|
8370
|
+
| "lint/nursery/noUnsafePlusOperands"
|
|
8371
|
+
| "lint/nursery/noUntrustedLicenses"
|
|
8266
8372
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
8267
8373
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
8268
8374
|
| "lint/nursery/noUselessReturn"
|
|
@@ -8305,7 +8411,6 @@ type Category =
|
|
|
8305
8411
|
| "lint/nursery/useScopedStyles"
|
|
8306
8412
|
| "lint/nursery/useSortedClasses"
|
|
8307
8413
|
| "lint/nursery/useSpread"
|
|
8308
|
-
| "lint/nursery/noTopLevelLiterals"
|
|
8309
8414
|
| "lint/nursery/useUnicodeRegex"
|
|
8310
8415
|
| "lint/nursery/useUniqueArgumentNames"
|
|
8311
8416
|
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
@@ -8790,6 +8895,12 @@ type EmbeddingKind =
|
|
|
8790
8895
|
| {
|
|
8791
8896
|
Vue: {
|
|
8792
8897
|
/**
|
|
8898
|
+
* Whether this embed should be parsed as statements (module/script).
|
|
8899
|
+
When `false`, the content is parsed as an expression via `parse_template_expression`.
|
|
8900
|
+
Source-level embeds (`<script>`) use `true`; directives and text expressions use `false`.
|
|
8901
|
+
*/
|
|
8902
|
+
allow_statements: boolean;
|
|
8903
|
+
/**
|
|
8793
8904
|
* Whether this is a v-on event handler (e.g., @click="handler")
|
|
8794
8905
|
*/
|
|
8795
8906
|
event_handler: boolean;
|
|
@@ -8971,18 +9082,35 @@ Maps from the local imported name to the absolute path it resolves to.
|
|
|
8971
9082
|
}
|
|
8972
9083
|
interface PullDiagnosticsParams {
|
|
8973
9084
|
categories: RuleCategories;
|
|
9085
|
+
/**
|
|
9086
|
+
* Minimum severity for a diagnostic to be included. Diagnostics with a
|
|
9087
|
+
severity below this threshold are ignored entirely (not counted, not
|
|
9088
|
+
serialized). Defaults to [`Severity::Hint`] (include everything).
|
|
9089
|
+
*/
|
|
9090
|
+
diagnosticLevel?: Severity;
|
|
8974
9091
|
/**
|
|
8975
9092
|
* Rules to apply on top of the configuration
|
|
8976
9093
|
*/
|
|
8977
9094
|
enabledRules?: AnalyzerSelector[];
|
|
9095
|
+
/**
|
|
9096
|
+
* When true, promote assist diagnostics (`assist/*`) to error severity
|
|
9097
|
+
before applying the diagnostic_level filter.
|
|
9098
|
+
*/
|
|
9099
|
+
enforceAssist?: boolean;
|
|
9100
|
+
/**
|
|
9101
|
+
* When `true`, diagnostics include code suggestions for rule fixes.
|
|
9102
|
+
*/
|
|
9103
|
+
includeCodeFix?: boolean;
|
|
8978
9104
|
inlineConfig?: Configuration;
|
|
9105
|
+
/**
|
|
9106
|
+
* Max limit of diagnostics types to pull. This limit is meant to cap the number of [Diagnostic] to pull.
|
|
9107
|
+
However, the workspace still processes ALL diagnostics coming from the analyzer to compute their severity.
|
|
9108
|
+
If no value is provided, the workspace will pull all diagnostics.
|
|
9109
|
+
*/
|
|
9110
|
+
maxDiagnostics?: number;
|
|
8979
9111
|
only?: AnalyzerSelector[];
|
|
8980
9112
|
path: BiomePath;
|
|
8981
9113
|
projectKey: ProjectKey;
|
|
8982
|
-
/**
|
|
8983
|
-
* When `false` the diagnostics, don't have code frames of the code actions (fixes, suppressions, etc.)
|
|
8984
|
-
*/
|
|
8985
|
-
pullCodeActions: boolean;
|
|
8986
9114
|
skip?: AnalyzerSelector[];
|
|
8987
9115
|
}
|
|
8988
9116
|
type RuleCategories = RuleCategory[];
|
|
@@ -8991,10 +9119,22 @@ type RuleCategory = "syntax" | "lint" | "action" | "transformation";
|
|
|
8991
9119
|
interface PullDiagnosticsResult {
|
|
8992
9120
|
diagnostics: Diagnostic[];
|
|
8993
9121
|
errors: number;
|
|
9122
|
+
infos: number;
|
|
9123
|
+
/**
|
|
9124
|
+
* Number of parse errors (subset of `errors`). Used by `--skip-parse-errors`
|
|
9125
|
+
to distinguish parse errors from analyzer errors.
|
|
9126
|
+
*/
|
|
9127
|
+
parseErrors: number;
|
|
8994
9128
|
skippedDiagnostics: number;
|
|
9129
|
+
warnings: number;
|
|
8995
9130
|
}
|
|
8996
9131
|
interface PullActionsParams {
|
|
8997
9132
|
categories?: RuleCategories;
|
|
9133
|
+
/**
|
|
9134
|
+
* When `false`, returned actions have `suggestion: None` (no `BatchMutation`
|
|
9135
|
+
computed). Used by `codeAction/resolve` to defer edit computation.
|
|
9136
|
+
*/
|
|
9137
|
+
computeActions?: boolean;
|
|
8998
9138
|
enabledRules?: AnalyzerSelector[];
|
|
8999
9139
|
inlineConfig?: Configuration;
|
|
9000
9140
|
only?: AnalyzerSelector[];
|
|
@@ -9008,11 +9148,17 @@ interface PullActionsResult {
|
|
|
9008
9148
|
actions: CodeAction[];
|
|
9009
9149
|
}
|
|
9010
9150
|
interface CodeAction {
|
|
9151
|
+
applicability?: Applicability;
|
|
9011
9152
|
category: ActionCategory;
|
|
9012
9153
|
offset?: TextSize;
|
|
9013
9154
|
ruleName?: [string, string];
|
|
9014
|
-
|
|
9155
|
+
/**
|
|
9156
|
+
* The computed code suggestion with text edit. `None` when the action was
|
|
9157
|
+
returned without computing edits (deferred for `codeAction/resolve`).
|
|
9158
|
+
*/
|
|
9159
|
+
suggestion?: CodeSuggestion;
|
|
9015
9160
|
}
|
|
9161
|
+
type Applicability = "always" | "maybeIncorrect";
|
|
9016
9162
|
type ActionCategory =
|
|
9017
9163
|
| { quickFix: string }
|
|
9018
9164
|
| { refactor: RefactorKind }
|
|
@@ -9040,7 +9186,6 @@ type OtherActionCategory =
|
|
|
9040
9186
|
| "inlineSuppression"
|
|
9041
9187
|
| "toplevelSuppression"
|
|
9042
9188
|
| { generic: string };
|
|
9043
|
-
type Applicability = "always" | "maybeIncorrect";
|
|
9044
9189
|
interface PullDiagnosticsAndActionsParams {
|
|
9045
9190
|
categories?: RuleCategories;
|
|
9046
9191
|
enabledRules?: AnalyzerSelector[];
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|