@biomejs/wasm-web 1.8.1 → 1.8.3
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 +49 -2
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -945,10 +945,18 @@ interface Nursery {
|
|
|
945
945
|
* Disallow variables from evolving into any type through reassignments.
|
|
946
946
|
*/
|
|
947
947
|
noEvolvingTypes?: RuleConfiguration_for_Null;
|
|
948
|
+
/**
|
|
949
|
+
* Disallow exporting an imported variable.
|
|
950
|
+
*/
|
|
951
|
+
noExportedImports?: RuleConfiguration_for_Null;
|
|
948
952
|
/**
|
|
949
953
|
* Disallow invalid !important within keyframe declarations
|
|
950
954
|
*/
|
|
951
955
|
noImportantInKeyframe?: RuleConfiguration_for_Null;
|
|
956
|
+
/**
|
|
957
|
+
* Disallow non-standard direction values for linear gradient functions.
|
|
958
|
+
*/
|
|
959
|
+
noInvalidDirectionInLinearGradient?: RuleConfiguration_for_Null;
|
|
952
960
|
/**
|
|
953
961
|
* Disallow the use of @import at-rules in invalid positions.
|
|
954
962
|
*/
|
|
@@ -973,6 +981,10 @@ interface Nursery {
|
|
|
973
981
|
* Disallow shorthand properties that override related longhand properties.
|
|
974
982
|
*/
|
|
975
983
|
noShorthandPropertyOverrides?: RuleConfiguration_for_Null;
|
|
984
|
+
/**
|
|
985
|
+
* Enforce the use of String.slice() over String.substr() and String.substring().
|
|
986
|
+
*/
|
|
987
|
+
noSubstr?: RuleFixConfiguration_for_Null;
|
|
976
988
|
/**
|
|
977
989
|
* Disallow the use of dependencies that aren't specified in the package.json.
|
|
978
990
|
*/
|
|
@@ -1034,7 +1046,7 @@ interface Nursery {
|
|
|
1034
1046
|
*/
|
|
1035
1047
|
useConsistentBuiltinInstantiation?: RuleFixConfiguration_for_Null;
|
|
1036
1048
|
/**
|
|
1037
|
-
*
|
|
1049
|
+
* Disallows invalid named grid areas in CSS Grid Layouts.
|
|
1038
1050
|
*/
|
|
1039
1051
|
useConsistentGridAreas?: RuleConfiguration_for_Null;
|
|
1040
1052
|
/**
|
|
@@ -1045,6 +1057,10 @@ interface Nursery {
|
|
|
1045
1057
|
* Require the default clause in switch statements.
|
|
1046
1058
|
*/
|
|
1047
1059
|
useDefaultSwitchClause?: RuleConfiguration_for_Null;
|
|
1060
|
+
/**
|
|
1061
|
+
* Require specifying the reason argument when using @deprecated directive
|
|
1062
|
+
*/
|
|
1063
|
+
useDeprecatedReason?: RuleConfiguration_for_Null;
|
|
1048
1064
|
/**
|
|
1049
1065
|
* Enforce passing a message value when creating a built-in error.
|
|
1050
1066
|
*/
|
|
@@ -1093,6 +1109,10 @@ interface Nursery {
|
|
|
1093
1109
|
* Require regex literals to be declared at the top level.
|
|
1094
1110
|
*/
|
|
1095
1111
|
useTopLevelRegex?: RuleConfiguration_for_Null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Use valid values for the autocomplete attribute on input elements.
|
|
1114
|
+
*/
|
|
1115
|
+
useValidAutocomplete?: RuleConfiguration_for_UseValidAutocompleteOptions;
|
|
1096
1116
|
}
|
|
1097
1117
|
interface Performance {
|
|
1098
1118
|
/**
|
|
@@ -1628,6 +1648,9 @@ type RuleConfiguration_for_RestrictedImportsOptions =
|
|
|
1628
1648
|
type RuleFixConfiguration_for_UtilityClassSortingOptions =
|
|
1629
1649
|
| RulePlainConfiguration
|
|
1630
1650
|
| RuleWithFixOptions_for_UtilityClassSortingOptions;
|
|
1651
|
+
type RuleConfiguration_for_UseValidAutocompleteOptions =
|
|
1652
|
+
| RulePlainConfiguration
|
|
1653
|
+
| RuleWithOptions_for_UseValidAutocompleteOptions;
|
|
1631
1654
|
type RuleConfiguration_for_RestrictedGlobalsOptions =
|
|
1632
1655
|
| RulePlainConfiguration
|
|
1633
1656
|
| RuleWithOptions_for_RestrictedGlobalsOptions;
|
|
@@ -1743,6 +1766,16 @@ interface RuleWithFixOptions_for_UtilityClassSortingOptions {
|
|
|
1743
1766
|
*/
|
|
1744
1767
|
options: UtilityClassSortingOptions;
|
|
1745
1768
|
}
|
|
1769
|
+
interface RuleWithOptions_for_UseValidAutocompleteOptions {
|
|
1770
|
+
/**
|
|
1771
|
+
* The severity of the emitted diagnostics by the rule
|
|
1772
|
+
*/
|
|
1773
|
+
level: RulePlainConfiguration;
|
|
1774
|
+
/**
|
|
1775
|
+
* Rule's options
|
|
1776
|
+
*/
|
|
1777
|
+
options: UseValidAutocompleteOptions;
|
|
1778
|
+
}
|
|
1746
1779
|
interface RuleWithOptions_for_RestrictedGlobalsOptions {
|
|
1747
1780
|
/**
|
|
1748
1781
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -1839,6 +1872,12 @@ interface UtilityClassSortingOptions {
|
|
|
1839
1872
|
*/
|
|
1840
1873
|
functions?: string[];
|
|
1841
1874
|
}
|
|
1875
|
+
interface UseValidAutocompleteOptions {
|
|
1876
|
+
/**
|
|
1877
|
+
* `input` like custom components that should be checked.
|
|
1878
|
+
*/
|
|
1879
|
+
inputComponents: string[];
|
|
1880
|
+
}
|
|
1842
1881
|
interface RestrictedGlobalsOptions {
|
|
1843
1882
|
/**
|
|
1844
1883
|
* A list of names that should trigger the rule
|
|
@@ -2016,7 +2055,8 @@ type DocumentFileSource =
|
|
|
2016
2055
|
| "Unknown"
|
|
2017
2056
|
| { Js: JsFileSource }
|
|
2018
2057
|
| { Json: JsonFileSource }
|
|
2019
|
-
| { Css: CssFileSource }
|
|
2058
|
+
| { Css: CssFileSource }
|
|
2059
|
+
| { Graphql: GraphqlFileSource };
|
|
2020
2060
|
interface JsFileSource {
|
|
2021
2061
|
/**
|
|
2022
2062
|
* Used to mark if the source is being used for an Astro, Svelte or Vue file
|
|
@@ -2034,6 +2074,7 @@ interface JsonFileSource {
|
|
|
2034
2074
|
interface CssFileSource {
|
|
2035
2075
|
variant: CssVariant;
|
|
2036
2076
|
}
|
|
2077
|
+
interface GraphqlFileSource {}
|
|
2037
2078
|
type EmbeddingKind = "Astro" | "Vue" | "Svelte" | "None";
|
|
2038
2079
|
type Language = "JavaScript" | { TypeScript: { definition_file: boolean } };
|
|
2039
2080
|
type ModuleKind = "Script" | "Module";
|
|
@@ -2213,7 +2254,9 @@ type Category =
|
|
|
2213
2254
|
| "lint/nursery/noDuplicateSelectorsKeyframeBlock"
|
|
2214
2255
|
| "lint/nursery/noEmptyBlock"
|
|
2215
2256
|
| "lint/nursery/noEvolvingTypes"
|
|
2257
|
+
| "lint/nursery/noExportedImports"
|
|
2216
2258
|
| "lint/nursery/noImportantInKeyframe"
|
|
2259
|
+
| "lint/nursery/noInvalidDirectionInLinearGradient"
|
|
2217
2260
|
| "lint/nursery/noInvalidPositionAtImportRule"
|
|
2218
2261
|
| "lint/nursery/noLabelWithoutControl"
|
|
2219
2262
|
| "lint/nursery/noMisplacedAssertion"
|
|
@@ -2221,6 +2264,7 @@ type Category =
|
|
|
2221
2264
|
| "lint/nursery/noReactSpecificProps"
|
|
2222
2265
|
| "lint/nursery/noRestrictedImports"
|
|
2223
2266
|
| "lint/nursery/noShorthandPropertyOverrides"
|
|
2267
|
+
| "lint/nursery/noSubstr"
|
|
2224
2268
|
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
2225
2269
|
| "lint/nursery/noUndeclaredDependencies"
|
|
2226
2270
|
| "lint/nursery/noUnknownFunction"
|
|
@@ -2240,6 +2284,7 @@ type Category =
|
|
|
2240
2284
|
| "lint/nursery/useConsistentGridAreas"
|
|
2241
2285
|
| "lint/nursery/useDateNow"
|
|
2242
2286
|
| "lint/nursery/useDefaultSwitchClause"
|
|
2287
|
+
| "lint/nursery/useDeprecatedReason"
|
|
2243
2288
|
| "lint/nursery/useErrorMessage"
|
|
2244
2289
|
| "lint/nursery/useExplicitLengthCheck"
|
|
2245
2290
|
| "lint/nursery/useFocusableInteractive"
|
|
@@ -2252,6 +2297,7 @@ type Category =
|
|
|
2252
2297
|
| "lint/nursery/useThrowNewError"
|
|
2253
2298
|
| "lint/nursery/useThrowOnlyError"
|
|
2254
2299
|
| "lint/nursery/useTopLevelRegex"
|
|
2300
|
+
| "lint/nursery/useValidAutocomplete"
|
|
2255
2301
|
| "lint/performance/noAccumulatingSpread"
|
|
2256
2302
|
| "lint/performance/noBarrelFile"
|
|
2257
2303
|
| "lint/performance/noDelete"
|
|
@@ -2357,6 +2403,7 @@ type Category =
|
|
|
2357
2403
|
| "lint/suspicious/useIsArray"
|
|
2358
2404
|
| "lint/suspicious/useNamespaceKeyword"
|
|
2359
2405
|
| "lint/suspicious/useValidTypeof"
|
|
2406
|
+
| "assists/nursery/useSortedKeys"
|
|
2360
2407
|
| "files/missingHandler"
|
|
2361
2408
|
| "format"
|
|
2362
2409
|
| "check"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|