@biomejs/wasm-nodejs 1.8.4-nightly.a579bf7 → 1.8.4-nightly.bd1d0c6

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
@@ -1030,6 +1030,14 @@ interface Nursery {
1030
1030
  * Disallow the use of @import at-rules in invalid positions.
1031
1031
  */
1032
1032
  noInvalidPositionAtImportRule?: RuleConfiguration_for_Null;
1033
+ /**
1034
+ * Disallows the use of irregular whitespace characters.
1035
+ */
1036
+ noIrregularWhitespace?: RuleConfiguration_for_Null;
1037
+ /**
1038
+ * Disallows the use of irregular whitespace.
1039
+ */
1040
+ noIrregularWhitespaceCss?: RuleConfiguration_for_Null;
1033
1041
  /**
1034
1042
  * Enforce that a label element or component has a text label and an associated input.
1035
1043
  */
@@ -1050,6 +1058,10 @@ interface Nursery {
1050
1058
  * Disallow shorthand properties that override related longhand properties.
1051
1059
  */
1052
1060
  noShorthandPropertyOverrides?: RuleConfiguration_for_Null;
1061
+ /**
1062
+ * Enforce that static, visible elements (such as \<div>) that have click handlers use the valid role attribute.
1063
+ */
1064
+ noStaticElementInteractions?: RuleConfiguration_for_Null;
1053
1065
  /**
1054
1066
  * Enforce the use of String.slice() over String.substr() and String.substring().
1055
1067
  */
@@ -1098,6 +1110,10 @@ interface Nursery {
1098
1110
  * Disallow initializing variables to undefined.
1099
1111
  */
1100
1112
  noUselessUndefinedInitialization?: RuleFixConfiguration_for_Null;
1113
+ /**
1114
+ * Disallow use of @value rule in css modules.
1115
+ */
1116
+ noValueAtRule?: RuleConfiguration_for_Null;
1101
1117
  /**
1102
1118
  * Disallow the use of yoda expressions.
1103
1119
  */
@@ -1114,6 +1130,10 @@ interface Nursery {
1114
1130
  * Enforce the use of new for all builtins, except String, Number, Boolean, Symbol and BigInt.
1115
1131
  */
1116
1132
  useConsistentBuiltinInstantiation?: RuleFixConfiguration_for_Null;
1133
+ /**
1134
+ * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
1135
+ */
1136
+ useConsistentCurlyBraces?: RuleFixConfiguration_for_Null;
1117
1137
  /**
1118
1138
  * Disallows invalid named grid areas in CSS Grid Layouts.
1119
1139
  */
@@ -1166,6 +1186,10 @@ interface Nursery {
1166
1186
  * Enforce the sorting of CSS utility classes.
1167
1187
  */
1168
1188
  useSortedClasses?: RuleFixConfiguration_for_UtilityClassSortingOptions;
1189
+ /**
1190
+ * Enforce the use of the directive "use strict" in script files.
1191
+ */
1192
+ useStrictMode?: RuleFixConfiguration_for_Null;
1169
1193
  /**
1170
1194
  * Require new when throwing an error.
1171
1195
  */
@@ -1178,6 +1202,10 @@ interface Nursery {
1178
1202
  * Require regex literals to be declared at the top level.
1179
1203
  */
1180
1204
  useTopLevelRegex?: RuleConfiguration_for_Null;
1205
+ /**
1206
+ * Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
1207
+ */
1208
+ useTrimStartEnd?: RuleFixConfiguration_for_Null;
1181
1209
  /**
1182
1210
  * Use valid values for the autocomplete attribute on input elements.
1183
1211
  */
@@ -2359,11 +2387,14 @@ type Category =
2359
2387
  | "lint/nursery/noImportantInKeyframe"
2360
2388
  | "lint/nursery/noInvalidDirectionInLinearGradient"
2361
2389
  | "lint/nursery/noInvalidPositionAtImportRule"
2390
+ | "lint/nursery/noIrregularWhitespace"
2391
+ | "lint/nursery/noIrregularWhitespaceCss"
2362
2392
  | "lint/nursery/noLabelWithoutControl"
2363
2393
  | "lint/nursery/noMisplacedAssertion"
2364
2394
  | "lint/nursery/noMissingGenericFamilyKeyword"
2365
2395
  | "lint/nursery/noReactSpecificProps"
2366
2396
  | "lint/nursery/noRestrictedImports"
2397
+ | "lint/nursery/noStaticElementInteractions"
2367
2398
  | "lint/nursery/noShorthandPropertyOverrides"
2368
2399
  | "lint/nursery/noSubstr"
2369
2400
  | "lint/nursery/noUndeclaredDependencies"
@@ -2377,10 +2408,12 @@ type Category =
2377
2408
  | "lint/nursery/noUnusedFunctionParameters"
2378
2409
  | "lint/nursery/noUselessStringConcat"
2379
2410
  | "lint/nursery/noUselessUndefinedInitialization"
2411
+ | "lint/nursery/noValueAtRule"
2380
2412
  | "lint/nursery/noYodaExpression"
2381
2413
  | "lint/nursery/useAdjacentOverloadSignatures"
2382
2414
  | "lint/nursery/useBiomeSuppressionComment"
2383
2415
  | "lint/nursery/useConsistentBuiltinInstantiation"
2416
+ | "lint/nursery/useConsistentCurlyBraces"
2384
2417
  | "lint/nursery/useConsistentGridAreas"
2385
2418
  | "lint/nursery/useDateNow"
2386
2419
  | "lint/nursery/useDefaultSwitchClause"
@@ -2391,12 +2424,15 @@ type Category =
2391
2424
  | "lint/nursery/useGenericFontNames"
2392
2425
  | "lint/nursery/useImportExtensions"
2393
2426
  | "lint/nursery/useImportRestrictions"
2427
+ | "lint/nursery/useJsxCurlyBraceConvention"
2394
2428
  | "lint/nursery/useNumberToFixedDigitsArgument"
2395
2429
  | "lint/nursery/useSemanticElements"
2396
2430
  | "lint/nursery/useSortedClasses"
2431
+ | "lint/nursery/useStrictMode"
2397
2432
  | "lint/nursery/useThrowNewError"
2398
2433
  | "lint/nursery/useThrowOnlyError"
2399
2434
  | "lint/nursery/useTopLevelRegex"
2435
+ | "lint/nursery/useTrimStartEnd"
2400
2436
  | "lint/nursery/useValidAutocomplete"
2401
2437
  | "lint/performance/noAccumulatingSpread"
2402
2438
  | "lint/performance/noBarrelFile"
@@ -2666,8 +2702,10 @@ interface FormatOnTypeParams {
2666
2702
  }
2667
2703
  interface FixFileParams {
2668
2704
  fix_file_mode: FixFileMode;
2705
+ only: RuleCode[];
2669
2706
  path: BiomePath;
2670
2707
  should_format: boolean;
2708
+ skip: RuleCode[];
2671
2709
  }
2672
2710
  type FixFileMode = "SafeFixes" | "SafeAndUnsafeFixes";
2673
2711
  interface FixFileResult {
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Biome Developers and Contributors"
5
5
  ],
6
6
  "description": "WebAssembly bindings to the Biome workspace API",
7
- "version": "1.8.4-nightly.a579bf7",
7
+ "version": "1.8.4-nightly.bd1d0c6",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",