@biomejs/wasm-nodejs 2.3.12 → 2.3.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 +136 -1
- package/biome_wasm.js +31 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1724,6 +1724,11 @@ See https://biomejs.dev/linter/rules/no-deprecated-imports
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
noDeprecatedImports?: NoDeprecatedImportsConfiguration;
|
|
1726
1726
|
/**
|
|
1727
|
+
* Disallow deprecated media types.
|
|
1728
|
+
See https://biomejs.dev/linter/rules/no-deprecated-media-type
|
|
1729
|
+
*/
|
|
1730
|
+
noDeprecatedMediaType?: NoDeprecatedMediaTypeConfiguration;
|
|
1731
|
+
/**
|
|
1727
1732
|
* Disallow equal signs explicitly at the beginning of regular expressions.
|
|
1728
1733
|
See https://biomejs.dev/linter/rules/no-div-regex
|
|
1729
1734
|
*/
|
|
@@ -1814,6 +1819,11 @@ See https://biomejs.dev/linter/rules/no-for-in
|
|
|
1814
1819
|
*/
|
|
1815
1820
|
noForIn?: NoForInConfiguration;
|
|
1816
1821
|
/**
|
|
1822
|
+
* Disallow hex colors.
|
|
1823
|
+
See https://biomejs.dev/linter/rules/no-hex-colors
|
|
1824
|
+
*/
|
|
1825
|
+
noHexColors?: NoHexColorsConfiguration;
|
|
1826
|
+
/**
|
|
1817
1827
|
* Prevent import cycles.
|
|
1818
1828
|
See https://biomejs.dev/linter/rules/no-import-cycles
|
|
1819
1829
|
*/
|
|
@@ -1874,6 +1884,11 @@ See https://biomejs.dev/linter/rules/no-react-forward-ref
|
|
|
1874
1884
|
*/
|
|
1875
1885
|
noReactForwardRef?: NoReactForwardRefConfiguration;
|
|
1876
1886
|
/**
|
|
1887
|
+
* Checks if a default export exports the same symbol as a named export.
|
|
1888
|
+
See https://biomejs.dev/linter/rules/no-redundant-default-export
|
|
1889
|
+
*/
|
|
1890
|
+
noRedundantDefaultExport?: NoRedundantDefaultExportConfiguration;
|
|
1891
|
+
/**
|
|
1877
1892
|
* Disallow assignments in return statements.
|
|
1878
1893
|
See https://biomejs.dev/linter/rules/no-return-assign
|
|
1879
1894
|
*/
|
|
@@ -1939,6 +1954,11 @@ See https://biomejs.dev/linter/rules/no-useless-undefined
|
|
|
1939
1954
|
*/
|
|
1940
1955
|
noUselessUndefined?: NoUselessUndefinedConfiguration;
|
|
1941
1956
|
/**
|
|
1957
|
+
* Disallows using arrow functions when defining a watcher.
|
|
1958
|
+
See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
|
|
1959
|
+
*/
|
|
1960
|
+
noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
|
|
1961
|
+
/**
|
|
1942
1962
|
* Enforce that Vue component data options are declared as functions.
|
|
1943
1963
|
See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
|
|
1944
1964
|
*/
|
|
@@ -1993,11 +2013,21 @@ See https://biomejs.dev/linter/rules/use-consistent-arrow-return
|
|
|
1993
2013
|
*/
|
|
1994
2014
|
useConsistentArrowReturn?: UseConsistentArrowReturnConfiguration;
|
|
1995
2015
|
/**
|
|
2016
|
+
* Disallow enums from having both number and string members.
|
|
2017
|
+
See https://biomejs.dev/linter/rules/use-consistent-enum-value-type
|
|
2018
|
+
*/
|
|
2019
|
+
useConsistentEnumValueType?: UseConsistentEnumValueTypeConfiguration;
|
|
2020
|
+
/**
|
|
1996
2021
|
* Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.
|
|
1997
2022
|
See https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions
|
|
1998
2023
|
*/
|
|
1999
2024
|
useConsistentGraphqlDescriptions?: UseConsistentGraphqlDescriptionsConfiguration;
|
|
2000
2025
|
/**
|
|
2026
|
+
* Enforce consistent use of either method signatures or function properties within interfaces and type aliases.
|
|
2027
|
+
See https://biomejs.dev/linter/rules/use-consistent-method-signatures
|
|
2028
|
+
*/
|
|
2029
|
+
useConsistentMethodSignatures?: UseConsistentMethodSignaturesConfiguration;
|
|
2030
|
+
/**
|
|
2001
2031
|
* Require the @deprecated directive to specify a deletion date.
|
|
2002
2032
|
See https://biomejs.dev/linter/rules/use-deprecated-date
|
|
2003
2033
|
*/
|
|
@@ -2028,11 +2058,21 @@ See https://biomejs.dev/linter/rules/use-find
|
|
|
2028
2058
|
*/
|
|
2029
2059
|
useFind?: UseFindConfiguration;
|
|
2030
2060
|
/**
|
|
2061
|
+
* Enforce the use of globalThis over window, self, and global.
|
|
2062
|
+
See https://biomejs.dev/linter/rules/use-global-this
|
|
2063
|
+
*/
|
|
2064
|
+
useGlobalThis?: UseGlobalThisConfiguration;
|
|
2065
|
+
/**
|
|
2031
2066
|
* Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.
|
|
2032
2067
|
See https://biomejs.dev/linter/rules/use-inline-script-id
|
|
2033
2068
|
*/
|
|
2034
2069
|
useInlineScriptId?: UseInlineScriptIdConfiguration;
|
|
2035
2070
|
/**
|
|
2071
|
+
* Require mutation argument to be always called "input".
|
|
2072
|
+
See https://biomejs.dev/linter/rules/use-input-name
|
|
2073
|
+
*/
|
|
2074
|
+
useInputName?: UseInputNameConfiguration;
|
|
2075
|
+
/**
|
|
2036
2076
|
* Disallow anonymous operations when more than one operation specified in document.
|
|
2037
2077
|
See https://biomejs.dev/linter/rules/use-lone-anonymous-operation
|
|
2038
2078
|
*/
|
|
@@ -3586,6 +3626,9 @@ type NoContinueConfiguration =
|
|
|
3586
3626
|
type NoDeprecatedImportsConfiguration =
|
|
3587
3627
|
| RulePlainConfiguration
|
|
3588
3628
|
| RuleWithNoDeprecatedImportsOptions;
|
|
3629
|
+
type NoDeprecatedMediaTypeConfiguration =
|
|
3630
|
+
| RulePlainConfiguration
|
|
3631
|
+
| RuleWithNoDeprecatedMediaTypeOptions;
|
|
3589
3632
|
type NoDivRegexConfiguration =
|
|
3590
3633
|
| RulePlainConfiguration
|
|
3591
3634
|
| RuleWithNoDivRegexOptions;
|
|
@@ -3638,6 +3681,9 @@ type NoFloatingPromisesConfiguration =
|
|
|
3638
3681
|
| RulePlainConfiguration
|
|
3639
3682
|
| RuleWithNoFloatingPromisesOptions;
|
|
3640
3683
|
type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
|
|
3684
|
+
type NoHexColorsConfiguration =
|
|
3685
|
+
| RulePlainConfiguration
|
|
3686
|
+
| RuleWithNoHexColorsOptions;
|
|
3641
3687
|
type NoImportCyclesConfiguration =
|
|
3642
3688
|
| RulePlainConfiguration
|
|
3643
3689
|
| RuleWithNoImportCyclesOptions;
|
|
@@ -3672,6 +3718,9 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
|
|
|
3672
3718
|
type NoReactForwardRefConfiguration =
|
|
3673
3719
|
| RulePlainConfiguration
|
|
3674
3720
|
| RuleWithNoReactForwardRefOptions;
|
|
3721
|
+
type NoRedundantDefaultExportConfiguration =
|
|
3722
|
+
| RulePlainConfiguration
|
|
3723
|
+
| RuleWithNoRedundantDefaultExportOptions;
|
|
3675
3724
|
type NoReturnAssignConfiguration =
|
|
3676
3725
|
| RulePlainConfiguration
|
|
3677
3726
|
| RuleWithNoReturnAssignOptions;
|
|
@@ -3707,6 +3756,9 @@ type NoUselessCatchBindingConfiguration =
|
|
|
3707
3756
|
type NoUselessUndefinedConfiguration =
|
|
3708
3757
|
| RulePlainConfiguration
|
|
3709
3758
|
| RuleWithNoUselessUndefinedOptions;
|
|
3759
|
+
type NoVueArrowFuncInWatchConfiguration =
|
|
3760
|
+
| RulePlainConfiguration
|
|
3761
|
+
| RuleWithNoVueArrowFuncInWatchOptions;
|
|
3710
3762
|
type NoVueDataObjectDeclarationConfiguration =
|
|
3711
3763
|
| RulePlainConfiguration
|
|
3712
3764
|
| RuleWithNoVueDataObjectDeclarationOptions;
|
|
@@ -3737,9 +3789,15 @@ type UseAwaitThenableConfiguration =
|
|
|
3737
3789
|
type UseConsistentArrowReturnConfiguration =
|
|
3738
3790
|
| RulePlainConfiguration
|
|
3739
3791
|
| RuleWithUseConsistentArrowReturnOptions;
|
|
3792
|
+
type UseConsistentEnumValueTypeConfiguration =
|
|
3793
|
+
| RulePlainConfiguration
|
|
3794
|
+
| RuleWithUseConsistentEnumValueTypeOptions;
|
|
3740
3795
|
type UseConsistentGraphqlDescriptionsConfiguration =
|
|
3741
3796
|
| RulePlainConfiguration
|
|
3742
3797
|
| RuleWithUseConsistentGraphqlDescriptionsOptions;
|
|
3798
|
+
type UseConsistentMethodSignaturesConfiguration =
|
|
3799
|
+
| RulePlainConfiguration
|
|
3800
|
+
| RuleWithUseConsistentMethodSignaturesOptions;
|
|
3743
3801
|
type UseDeprecatedDateConfiguration =
|
|
3744
3802
|
| RulePlainConfiguration
|
|
3745
3803
|
| RuleWithUseDeprecatedDateOptions;
|
|
@@ -3756,9 +3814,15 @@ type UseExplicitTypeConfiguration =
|
|
|
3756
3814
|
| RulePlainConfiguration
|
|
3757
3815
|
| RuleWithUseExplicitTypeOptions;
|
|
3758
3816
|
type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
|
|
3817
|
+
type UseGlobalThisConfiguration =
|
|
3818
|
+
| RulePlainConfiguration
|
|
3819
|
+
| RuleWithUseGlobalThisOptions;
|
|
3759
3820
|
type UseInlineScriptIdConfiguration =
|
|
3760
3821
|
| RulePlainConfiguration
|
|
3761
3822
|
| RuleWithUseInlineScriptIdOptions;
|
|
3823
|
+
type UseInputNameConfiguration =
|
|
3824
|
+
| RulePlainConfiguration
|
|
3825
|
+
| RuleWithUseInputNameOptions;
|
|
3762
3826
|
type UseLoneAnonymousOperationConfiguration =
|
|
3763
3827
|
| RulePlainConfiguration
|
|
3764
3828
|
| RuleWithUseLoneAnonymousOperationOptions;
|
|
@@ -5064,6 +5128,10 @@ interface RuleWithNoDeprecatedImportsOptions {
|
|
|
5064
5128
|
level: RulePlainConfiguration;
|
|
5065
5129
|
options?: NoDeprecatedImportsOptions;
|
|
5066
5130
|
}
|
|
5131
|
+
interface RuleWithNoDeprecatedMediaTypeOptions {
|
|
5132
|
+
level: RulePlainConfiguration;
|
|
5133
|
+
options?: NoDeprecatedMediaTypeOptions;
|
|
5134
|
+
}
|
|
5067
5135
|
interface RuleWithNoDivRegexOptions {
|
|
5068
5136
|
fix?: FixKind;
|
|
5069
5137
|
level: RulePlainConfiguration;
|
|
@@ -5139,6 +5207,10 @@ interface RuleWithNoForInOptions {
|
|
|
5139
5207
|
level: RulePlainConfiguration;
|
|
5140
5208
|
options?: NoForInOptions;
|
|
5141
5209
|
}
|
|
5210
|
+
interface RuleWithNoHexColorsOptions {
|
|
5211
|
+
level: RulePlainConfiguration;
|
|
5212
|
+
options?: NoHexColorsOptions;
|
|
5213
|
+
}
|
|
5142
5214
|
interface RuleWithNoImportCyclesOptions {
|
|
5143
5215
|
level: RulePlainConfiguration;
|
|
5144
5216
|
options?: NoImportCyclesOptions;
|
|
@@ -5190,6 +5262,10 @@ interface RuleWithNoReactForwardRefOptions {
|
|
|
5190
5262
|
level: RulePlainConfiguration;
|
|
5191
5263
|
options?: NoReactForwardRefOptions;
|
|
5192
5264
|
}
|
|
5265
|
+
interface RuleWithNoRedundantDefaultExportOptions {
|
|
5266
|
+
level: RulePlainConfiguration;
|
|
5267
|
+
options?: NoRedundantDefaultExportOptions;
|
|
5268
|
+
}
|
|
5193
5269
|
interface RuleWithNoReturnAssignOptions {
|
|
5194
5270
|
level: RulePlainConfiguration;
|
|
5195
5271
|
options?: NoReturnAssignOptions;
|
|
@@ -5244,6 +5320,11 @@ interface RuleWithNoUselessUndefinedOptions {
|
|
|
5244
5320
|
level: RulePlainConfiguration;
|
|
5245
5321
|
options?: NoUselessUndefinedOptions;
|
|
5246
5322
|
}
|
|
5323
|
+
interface RuleWithNoVueArrowFuncInWatchOptions {
|
|
5324
|
+
fix?: FixKind;
|
|
5325
|
+
level: RulePlainConfiguration;
|
|
5326
|
+
options?: NoVueArrowFuncInWatchOptions;
|
|
5327
|
+
}
|
|
5247
5328
|
interface RuleWithNoVueDataObjectDeclarationOptions {
|
|
5248
5329
|
fix?: FixKind;
|
|
5249
5330
|
level: RulePlainConfiguration;
|
|
@@ -5286,10 +5367,18 @@ interface RuleWithUseConsistentArrowReturnOptions {
|
|
|
5286
5367
|
level: RulePlainConfiguration;
|
|
5287
5368
|
options?: UseConsistentArrowReturnOptions;
|
|
5288
5369
|
}
|
|
5370
|
+
interface RuleWithUseConsistentEnumValueTypeOptions {
|
|
5371
|
+
level: RulePlainConfiguration;
|
|
5372
|
+
options?: UseConsistentEnumValueTypeOptions;
|
|
5373
|
+
}
|
|
5289
5374
|
interface RuleWithUseConsistentGraphqlDescriptionsOptions {
|
|
5290
5375
|
level: RulePlainConfiguration;
|
|
5291
5376
|
options?: UseConsistentGraphqlDescriptionsOptions;
|
|
5292
5377
|
}
|
|
5378
|
+
interface RuleWithUseConsistentMethodSignaturesOptions {
|
|
5379
|
+
level: RulePlainConfiguration;
|
|
5380
|
+
options?: UseConsistentMethodSignaturesOptions;
|
|
5381
|
+
}
|
|
5293
5382
|
interface RuleWithUseDeprecatedDateOptions {
|
|
5294
5383
|
level: RulePlainConfiguration;
|
|
5295
5384
|
options?: UseDeprecatedDateOptions;
|
|
@@ -5315,10 +5404,18 @@ interface RuleWithUseFindOptions {
|
|
|
5315
5404
|
level: RulePlainConfiguration;
|
|
5316
5405
|
options?: UseFindOptions;
|
|
5317
5406
|
}
|
|
5407
|
+
interface RuleWithUseGlobalThisOptions {
|
|
5408
|
+
level: RulePlainConfiguration;
|
|
5409
|
+
options?: UseGlobalThisOptions;
|
|
5410
|
+
}
|
|
5318
5411
|
interface RuleWithUseInlineScriptIdOptions {
|
|
5319
5412
|
level: RulePlainConfiguration;
|
|
5320
5413
|
options?: UseInlineScriptIdOptions;
|
|
5321
5414
|
}
|
|
5415
|
+
interface RuleWithUseInputNameOptions {
|
|
5416
|
+
level: RulePlainConfiguration;
|
|
5417
|
+
options?: UseInputNameOptions;
|
|
5418
|
+
}
|
|
5322
5419
|
interface RuleWithUseLoneAnonymousOperationOptions {
|
|
5323
5420
|
level: RulePlainConfiguration;
|
|
5324
5421
|
options?: UseLoneAnonymousOperationOptions;
|
|
@@ -6543,6 +6640,12 @@ interface NoAmbiguousAnchorTextOptions {
|
|
|
6543
6640
|
type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
|
|
6544
6641
|
type NoContinueOptions = {};
|
|
6545
6642
|
type NoDeprecatedImportsOptions = {};
|
|
6643
|
+
interface NoDeprecatedMediaTypeOptions {
|
|
6644
|
+
/**
|
|
6645
|
+
* Media types to allow (case-insensitive).
|
|
6646
|
+
*/
|
|
6647
|
+
allow?: string[];
|
|
6648
|
+
}
|
|
6546
6649
|
type NoDivRegexOptions = {};
|
|
6547
6650
|
type NoDuplicateArgumentNamesOptions = {};
|
|
6548
6651
|
type NoDuplicateAttributesOptions = {};
|
|
@@ -6580,6 +6683,7 @@ interface NoExcessiveLinesPerFileOptions {
|
|
|
6580
6683
|
type NoFloatingClassesOptions = {};
|
|
6581
6684
|
type NoFloatingPromisesOptions = {};
|
|
6582
6685
|
type NoForInOptions = {};
|
|
6686
|
+
type NoHexColorsOptions = {};
|
|
6583
6687
|
interface NoImportCyclesOptions {
|
|
6584
6688
|
/**
|
|
6585
6689
|
* Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
|
|
@@ -6618,6 +6722,7 @@ type NoNextAsyncClientComponentOptions = {};
|
|
|
6618
6722
|
type NoParametersOnlyUsedInRecursionOptions = {};
|
|
6619
6723
|
type NoProtoOptions = {};
|
|
6620
6724
|
type NoReactForwardRefOptions = {};
|
|
6725
|
+
type NoRedundantDefaultExportOptions = {};
|
|
6621
6726
|
type NoReturnAssignOptions = {};
|
|
6622
6727
|
interface NoRootTypeOptions {
|
|
6623
6728
|
/**
|
|
@@ -6647,6 +6752,7 @@ type NoUnresolvedImportsOptions = {};
|
|
|
6647
6752
|
type NoUnusedExpressionsOptions = {};
|
|
6648
6753
|
type NoUselessCatchBindingOptions = {};
|
|
6649
6754
|
type NoUselessUndefinedOptions = {};
|
|
6755
|
+
type NoVueArrowFuncInWatchOptions = {};
|
|
6650
6756
|
type NoVueDataObjectDeclarationOptions = {};
|
|
6651
6757
|
type NoVueDuplicateKeysOptions = {};
|
|
6652
6758
|
type NoVueOptionsApiOptions = {};
|
|
@@ -6668,12 +6774,21 @@ This option is only applicable when used in conjunction with the `asNeeded` opti
|
|
|
6668
6774
|
*/
|
|
6669
6775
|
style?: UseConsistentArrowReturnStyle;
|
|
6670
6776
|
}
|
|
6777
|
+
type UseConsistentEnumValueTypeOptions = {};
|
|
6671
6778
|
interface UseConsistentGraphqlDescriptionsOptions {
|
|
6672
6779
|
/**
|
|
6673
6780
|
* The description style to enforce. Defaults to "block"
|
|
6674
6781
|
*/
|
|
6675
6782
|
style?: UseConsistentGraphqlDescriptionsStyle;
|
|
6676
6783
|
}
|
|
6784
|
+
interface UseConsistentMethodSignaturesOptions {
|
|
6785
|
+
/**
|
|
6786
|
+
* The style of method signatures whose usage will be enforced.
|
|
6787
|
+
|
|
6788
|
+
Default: "property"
|
|
6789
|
+
*/
|
|
6790
|
+
style?: MethodSignatureStyle;
|
|
6791
|
+
}
|
|
6677
6792
|
interface UseDeprecatedDateOptions {
|
|
6678
6793
|
argumentName?: string;
|
|
6679
6794
|
}
|
|
@@ -6687,7 +6802,14 @@ interface UseErrorCauseOptions {
|
|
|
6687
6802
|
type UseExhaustiveSwitchCasesOptions = {};
|
|
6688
6803
|
type UseExplicitTypeOptions = {};
|
|
6689
6804
|
type UseFindOptions = {};
|
|
6805
|
+
type UseGlobalThisOptions = {};
|
|
6690
6806
|
type UseInlineScriptIdOptions = {};
|
|
6807
|
+
interface UseInputNameOptions {
|
|
6808
|
+
/**
|
|
6809
|
+
* Check that the input type name follows the convention <mutationName>Input
|
|
6810
|
+
*/
|
|
6811
|
+
checkInputType?: CheckInputType;
|
|
6812
|
+
}
|
|
6691
6813
|
type UseLoneAnonymousOperationOptions = {};
|
|
6692
6814
|
type UseLoneExecutableDefinitionOptions = {};
|
|
6693
6815
|
interface UseMaxParamsOptions {
|
|
@@ -7130,6 +7252,8 @@ while for `useState()` it would be `[1]`.
|
|
|
7130
7252
|
type Regex = string;
|
|
7131
7253
|
type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
|
|
7132
7254
|
type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
|
|
7255
|
+
type MethodSignatureStyle = "property" | "method";
|
|
7256
|
+
type CheckInputType = "off" | "loose" | "strict";
|
|
7133
7257
|
type DeclarationStyle = "type" | "runtime";
|
|
7134
7258
|
type VueDirectiveStyle = "shorthand" | "longhand";
|
|
7135
7259
|
type VueDirectiveStyle2 = "shorthand" | "longhand";
|
|
@@ -7458,6 +7582,7 @@ type Category =
|
|
|
7458
7582
|
| "lint/nursery/noColorInvalidHex"
|
|
7459
7583
|
| "lint/nursery/noContinue"
|
|
7460
7584
|
| "lint/nursery/noDeprecatedImports"
|
|
7585
|
+
| "lint/nursery/noDeprecatedMediaType"
|
|
7461
7586
|
| "lint/nursery/noDivRegex"
|
|
7462
7587
|
| "lint/nursery/noDuplicateArgumentNames"
|
|
7463
7588
|
| "lint/nursery/noDuplicateAttributes"
|
|
@@ -7476,6 +7601,7 @@ type Category =
|
|
|
7476
7601
|
| "lint/nursery/noFloatingClasses"
|
|
7477
7602
|
| "lint/nursery/noFloatingPromises"
|
|
7478
7603
|
| "lint/nursery/noForIn"
|
|
7604
|
+
| "lint/nursery/noHexColors"
|
|
7479
7605
|
| "lint/nursery/noImplicitCoercion"
|
|
7480
7606
|
| "lint/nursery/noImportCycles"
|
|
7481
7607
|
| "lint/nursery/noIncrementDecrement"
|
|
@@ -7490,6 +7616,7 @@ type Category =
|
|
|
7490
7616
|
| "lint/nursery/noParametersOnlyUsedInRecursion"
|
|
7491
7617
|
| "lint/nursery/noProto"
|
|
7492
7618
|
| "lint/nursery/noReactForwardRef"
|
|
7619
|
+
| "lint/nursery/noRedundantDefaultExport"
|
|
7493
7620
|
| "lint/nursery/noReturnAssign"
|
|
7494
7621
|
| "lint/nursery/noRootType"
|
|
7495
7622
|
| "lint/nursery/noScriptUrl"
|
|
@@ -7505,6 +7632,7 @@ type Category =
|
|
|
7505
7632
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
7506
7633
|
| "lint/nursery/noUselessCatchBinding"
|
|
7507
7634
|
| "lint/nursery/noUselessUndefined"
|
|
7635
|
+
| "lint/nursery/noVueArrowFuncInWatch"
|
|
7508
7636
|
| "lint/nursery/noVueDataObjectDeclaration"
|
|
7509
7637
|
| "lint/nursery/noVueDuplicateKeys"
|
|
7510
7638
|
| "lint/nursery/noVueOptionsApi"
|
|
@@ -7516,7 +7644,9 @@ type Category =
|
|
|
7516
7644
|
| "lint/nursery/useAwaitThenable"
|
|
7517
7645
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
7518
7646
|
| "lint/nursery/useConsistentArrowReturn"
|
|
7647
|
+
| "lint/nursery/useConsistentEnumValueType"
|
|
7519
7648
|
| "lint/nursery/useConsistentGraphqlDescriptions"
|
|
7649
|
+
| "lint/nursery/useConsistentMethodSignatures"
|
|
7520
7650
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
7521
7651
|
| "lint/nursery/useDeprecatedDate"
|
|
7522
7652
|
| "lint/nursery/useDestructuring"
|
|
@@ -7525,12 +7655,14 @@ type Category =
|
|
|
7525
7655
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
7526
7656
|
| "lint/nursery/useExplicitType"
|
|
7527
7657
|
| "lint/nursery/useFind"
|
|
7658
|
+
| "lint/nursery/useGlobalThis"
|
|
7528
7659
|
| "lint/nursery/useImportRestrictions"
|
|
7529
7660
|
| "lint/nursery/useInlineScriptId"
|
|
7661
|
+
| "lint/nursery/useInputName"
|
|
7530
7662
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
7663
|
+
| "lint/nursery/useLoneAnonymousOperation"
|
|
7531
7664
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
7532
7665
|
| "lint/nursery/useMaxParams"
|
|
7533
|
-
| "lint/nursery/useLoneAnonymousOperation"
|
|
7534
7666
|
| "lint/nursery/useQwikMethodUsage"
|
|
7535
7667
|
| "lint/nursery/useQwikValidLexicalScope"
|
|
7536
7668
|
| "lint/nursery/useRegexpExec"
|
|
@@ -8363,13 +8495,16 @@ export class Workspace {
|
|
|
8363
8495
|
changeFile(params: ChangeFileParams): ChangeFileResult;
|
|
8364
8496
|
fileExists(params: FileExitsParams): boolean;
|
|
8365
8497
|
formatFile(params: FormatFileParams): any;
|
|
8498
|
+
dropPattern(params: DropPatternParams): void;
|
|
8366
8499
|
formatRange(params: FormatRangeParams): any;
|
|
8367
8500
|
openProject(params: OpenProjectParams): OpenProjectResult;
|
|
8368
8501
|
pullActions(params: PullActionsParams): PullActionsResult;
|
|
8369
8502
|
scanProject(params: ScanProjectParams): ScanProjectResult;
|
|
8370
8503
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
|
8371
8504
|
getTypeInfo(params: GetTypeInfoParams): string;
|
|
8505
|
+
parsePattern(params: ParsePatternParams): ParsePatternResult;
|
|
8372
8506
|
formatOnType(params: FormatOnTypeParams): any;
|
|
8507
|
+
searchPattern(params: SearchPatternParams): SearchResults;
|
|
8373
8508
|
getSyntaxTree(params: GetSyntaxTreeParams): GetSyntaxTreeResult;
|
|
8374
8509
|
isPathIgnored(params: PathIsIgnoredParams): boolean;
|
|
8375
8510
|
updateSettings(params: UpdateSettingsParams): UpdateSettingsResult;
|
package/biome_wasm.js
CHANGED
|
@@ -370,6 +370,15 @@ class Workspace {
|
|
|
370
370
|
}
|
|
371
371
|
return takeFromExternrefTable0(ret[0]);
|
|
372
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* @param {DropPatternParams} params
|
|
375
|
+
*/
|
|
376
|
+
dropPattern(params) {
|
|
377
|
+
const ret = wasm.workspace_dropPattern(this.__wbg_ptr, params);
|
|
378
|
+
if (ret[1]) {
|
|
379
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
373
382
|
/**
|
|
374
383
|
* @param {FormatRangeParams} params
|
|
375
384
|
* @returns {any}
|
|
@@ -447,6 +456,17 @@ class Workspace {
|
|
|
447
456
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
448
457
|
}
|
|
449
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* @param {ParsePatternParams} params
|
|
461
|
+
* @returns {ParsePatternResult}
|
|
462
|
+
*/
|
|
463
|
+
parsePattern(params) {
|
|
464
|
+
const ret = wasm.workspace_parsePattern(this.__wbg_ptr, params);
|
|
465
|
+
if (ret[2]) {
|
|
466
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
467
|
+
}
|
|
468
|
+
return takeFromExternrefTable0(ret[0]);
|
|
469
|
+
}
|
|
450
470
|
/**
|
|
451
471
|
* @param {FormatOnTypeParams} params
|
|
452
472
|
* @returns {any}
|
|
@@ -458,6 +478,17 @@ class Workspace {
|
|
|
458
478
|
}
|
|
459
479
|
return takeFromExternrefTable0(ret[0]);
|
|
460
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* @param {SearchPatternParams} params
|
|
483
|
+
* @returns {SearchResults}
|
|
484
|
+
*/
|
|
485
|
+
searchPattern(params) {
|
|
486
|
+
const ret = wasm.workspace_searchPattern(this.__wbg_ptr, params);
|
|
487
|
+
if (ret[2]) {
|
|
488
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
489
|
+
}
|
|
490
|
+
return takeFromExternrefTable0(ret[0]);
|
|
491
|
+
}
|
|
461
492
|
/**
|
|
462
493
|
* @param {GetSyntaxTreeParams} params
|
|
463
494
|
* @returns {GetSyntaxTreeResult}
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|