@biomejs/wasm-web 1.8.0 → 1.8.1
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 +25 -9
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ interface PartialFormatterConfiguration {
|
|
|
126
126
|
/**
|
|
127
127
|
* The size of the indentation, 2 by default (deprecated, use `indent-width`)
|
|
128
128
|
*/
|
|
129
|
-
indentSize?:
|
|
129
|
+
indentSize?: IndentWidth;
|
|
130
130
|
/**
|
|
131
131
|
* The indent style.
|
|
132
132
|
*/
|
|
@@ -134,7 +134,7 @@ interface PartialFormatterConfiguration {
|
|
|
134
134
|
/**
|
|
135
135
|
* The size of the indentation, 2 by default
|
|
136
136
|
*/
|
|
137
|
-
indentWidth?:
|
|
137
|
+
indentWidth?: IndentWidth;
|
|
138
138
|
/**
|
|
139
139
|
* The type of line ending.
|
|
140
140
|
*/
|
|
@@ -252,7 +252,7 @@ interface PartialCssFormatter {
|
|
|
252
252
|
/**
|
|
253
253
|
* The size of the indentation applied to CSS (and its super languages) files. Default to 2.
|
|
254
254
|
*/
|
|
255
|
-
indentWidth?:
|
|
255
|
+
indentWidth?: IndentWidth;
|
|
256
256
|
/**
|
|
257
257
|
* The type of line ending applied to CSS (and its super languages) files.
|
|
258
258
|
*/
|
|
@@ -283,6 +283,7 @@ interface PartialCssParser {
|
|
|
283
283
|
cssModules?: boolean;
|
|
284
284
|
}
|
|
285
285
|
type AttributePosition = "auto" | "multiline";
|
|
286
|
+
type IndentWidth = number;
|
|
286
287
|
type PlainIndentStyle = "tab" | "space";
|
|
287
288
|
type LineEnding = "lf" | "crlf" | "cr";
|
|
288
289
|
type LineWidth = number;
|
|
@@ -310,7 +311,7 @@ interface PartialJavascriptFormatter {
|
|
|
310
311
|
/**
|
|
311
312
|
* The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
|
|
312
313
|
*/
|
|
313
|
-
indentSize?:
|
|
314
|
+
indentSize?: IndentWidth;
|
|
314
315
|
/**
|
|
315
316
|
* The indent style applied to JavaScript (and its super languages) files.
|
|
316
317
|
*/
|
|
@@ -318,7 +319,7 @@ interface PartialJavascriptFormatter {
|
|
|
318
319
|
/**
|
|
319
320
|
* The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
|
|
320
321
|
*/
|
|
321
|
-
indentWidth?:
|
|
322
|
+
indentWidth?: IndentWidth;
|
|
322
323
|
/**
|
|
323
324
|
* The type of quotes used in JSX. Defaults to double.
|
|
324
325
|
*/
|
|
@@ -376,7 +377,7 @@ interface PartialJsonFormatter {
|
|
|
376
377
|
/**
|
|
377
378
|
* The size of the indentation applied to JSON (and its super languages) files. Default to 2.
|
|
378
379
|
*/
|
|
379
|
-
indentSize?:
|
|
380
|
+
indentSize?: IndentWidth;
|
|
380
381
|
/**
|
|
381
382
|
* The indent style applied to JSON (and its super languages) files.
|
|
382
383
|
*/
|
|
@@ -384,7 +385,7 @@ interface PartialJsonFormatter {
|
|
|
384
385
|
/**
|
|
385
386
|
* The size of the indentation applied to JSON (and its super languages) files. Default to 2.
|
|
386
387
|
*/
|
|
387
|
-
indentWidth?:
|
|
388
|
+
indentWidth?: IndentWidth;
|
|
388
389
|
/**
|
|
389
390
|
* The type of line ending applied to JSON (and its super languages) files.
|
|
390
391
|
*/
|
|
@@ -968,6 +969,10 @@ interface Nursery {
|
|
|
968
969
|
* Disallow specified modules when loaded by import or require.
|
|
969
970
|
*/
|
|
970
971
|
noRestrictedImports?: RuleConfiguration_for_RestrictedImportsOptions;
|
|
972
|
+
/**
|
|
973
|
+
* Disallow shorthand properties that override related longhand properties.
|
|
974
|
+
*/
|
|
975
|
+
noShorthandPropertyOverrides?: RuleConfiguration_for_Null;
|
|
971
976
|
/**
|
|
972
977
|
* Disallow the use of dependencies that aren't specified in the package.json.
|
|
973
978
|
*/
|
|
@@ -984,6 +989,10 @@ interface Nursery {
|
|
|
984
989
|
* Disallow unknown properties.
|
|
985
990
|
*/
|
|
986
991
|
noUnknownProperty?: RuleConfiguration_for_Null;
|
|
992
|
+
/**
|
|
993
|
+
* Disallow unknown pseudo-class selectors.
|
|
994
|
+
*/
|
|
995
|
+
noUnknownPseudoClassSelector?: RuleConfiguration_for_Null;
|
|
987
996
|
/**
|
|
988
997
|
* Disallow unknown pseudo-element selectors.
|
|
989
998
|
*/
|
|
@@ -1024,6 +1033,10 @@ interface Nursery {
|
|
|
1024
1033
|
* Enforce the use of new for all builtins, except String, Number, Boolean, Symbol and BigInt.
|
|
1025
1034
|
*/
|
|
1026
1035
|
useConsistentBuiltinInstantiation?: RuleFixConfiguration_for_Null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Disallowing invalid named grid areas in CSS Grid Layouts.
|
|
1038
|
+
*/
|
|
1039
|
+
useConsistentGridAreas?: RuleConfiguration_for_Null;
|
|
1027
1040
|
/**
|
|
1028
1041
|
* Use Date.now() to get the number of milliseconds since the Unix Epoch.
|
|
1029
1042
|
*/
|
|
@@ -1554,7 +1567,7 @@ interface OverrideFormatterConfiguration {
|
|
|
1554
1567
|
/**
|
|
1555
1568
|
* The size of the indentation, 2 by default (deprecated, use `indent-width`)
|
|
1556
1569
|
*/
|
|
1557
|
-
indentSize?:
|
|
1570
|
+
indentSize?: IndentWidth;
|
|
1558
1571
|
/**
|
|
1559
1572
|
* The indent style.
|
|
1560
1573
|
*/
|
|
@@ -1562,7 +1575,7 @@ interface OverrideFormatterConfiguration {
|
|
|
1562
1575
|
/**
|
|
1563
1576
|
* The size of the indentation, 2 by default
|
|
1564
1577
|
*/
|
|
1565
|
-
indentWidth?:
|
|
1578
|
+
indentWidth?: IndentWidth;
|
|
1566
1579
|
/**
|
|
1567
1580
|
* The type of line ending.
|
|
1568
1581
|
*/
|
|
@@ -2207,11 +2220,13 @@ type Category =
|
|
|
2207
2220
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
2208
2221
|
| "lint/nursery/noReactSpecificProps"
|
|
2209
2222
|
| "lint/nursery/noRestrictedImports"
|
|
2223
|
+
| "lint/nursery/noShorthandPropertyOverrides"
|
|
2210
2224
|
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
2211
2225
|
| "lint/nursery/noUndeclaredDependencies"
|
|
2212
2226
|
| "lint/nursery/noUnknownFunction"
|
|
2213
2227
|
| "lint/nursery/noUnknownMediaFeatureName"
|
|
2214
2228
|
| "lint/nursery/noUnknownProperty"
|
|
2229
|
+
| "lint/nursery/noUnknownPseudoClassSelector"
|
|
2215
2230
|
| "lint/nursery/noUnknownSelectorPseudoElement"
|
|
2216
2231
|
| "lint/nursery/noUnknownUnit"
|
|
2217
2232
|
| "lint/nursery/noUnmatchableAnbSelector"
|
|
@@ -2222,6 +2237,7 @@ type Category =
|
|
|
2222
2237
|
| "lint/nursery/useAdjacentOverloadSignatures"
|
|
2223
2238
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
2224
2239
|
| "lint/nursery/useConsistentBuiltinInstantiation"
|
|
2240
|
+
| "lint/nursery/useConsistentGridAreas"
|
|
2225
2241
|
| "lint/nursery/useDateNow"
|
|
2226
2242
|
| "lint/nursery/useDefaultSwitchClause"
|
|
2227
2243
|
| "lint/nursery/useErrorMessage"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|