@biomejs/wasm-web 1.2.2 → 1.3.0

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
@@ -55,6 +55,10 @@ interface Configuration {
55
55
  * The configuration of the import sorting
56
56
  */
57
57
  organizeImports?: OrganizeImports;
58
+ /**
59
+ * A list of granular patterns that should be applied only to a sub set of files
60
+ */
61
+ overrides?: Overrides;
58
62
  /**
59
63
  * The configuration of the VCS integration
60
64
  */
@@ -63,13 +67,17 @@ interface Configuration {
63
67
  type StringSet = string[];
64
68
  interface FilesConfiguration {
65
69
  /**
66
- * A list of Unix shell style patterns. Biome tools will ignore files/folders that will match these patterns.
70
+ * A list of Unix shell style patterns. Biome will ignore files/folders that will match these patterns.
67
71
  */
68
72
  ignore?: StringSet;
69
73
  /**
70
74
  * Tells Biome to not emit diagnostics when handling files that doesn't know
71
75
  */
72
76
  ignoreUnknown?: boolean;
77
+ /**
78
+ * A list of Unix shell style patterns. Biome will handle only those files/folders that will match these patterns.
79
+ */
80
+ include?: StringSet;
73
81
  /**
74
82
  * The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB
75
83
  */
@@ -86,13 +94,21 @@ interface FormatterConfiguration {
86
94
  */
87
95
  ignore?: StringSet;
88
96
  /**
89
- * The size of the indentation, 2 by default
97
+ * A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.
98
+ */
99
+ include?: StringSet;
100
+ /**
101
+ * The size of the indentation, 2 by default (deprecated, use `indent-width`)
90
102
  */
91
103
  indentSize?: number;
92
104
  /**
93
105
  * The indent style.
94
106
  */
95
107
  indentStyle?: PlainIndentStyle;
108
+ /**
109
+ * The size of the indentation, 2 by default
110
+ */
111
+ indentWidth?: number;
96
112
  /**
97
113
  * What's the max width of a line. Defaults to 80.
98
114
  */
@@ -134,6 +150,10 @@ interface LinterConfiguration {
134
150
  * A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.
135
151
  */
136
152
  ignore?: StringSet;
153
+ /**
154
+ * A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.
155
+ */
156
+ include?: StringSet;
137
157
  /**
138
158
  * List of rules
139
159
  */
@@ -148,6 +168,13 @@ interface OrganizeImports {
148
168
  * A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.
149
169
  */
150
170
  ignore?: StringSet;
171
+ /**
172
+ * A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.
173
+ */
174
+ include?: StringSet;
175
+ }
176
+ interface Overrides {
177
+ list: OverridePattern[];
151
178
  }
152
179
  interface VcsConfiguration {
153
180
  /**
@@ -188,6 +215,10 @@ interface JavascriptFormatter {
188
215
  * The indent style applied to JavaScript (and its super languages) files.
189
216
  */
190
217
  indentStyle?: PlainIndentStyle;
218
+ /**
219
+ * The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
220
+ */
221
+ indentWidth?: number;
191
222
  /**
192
223
  * The type of quotes used in JSX. Defaults to double.
193
224
  */
@@ -235,6 +266,10 @@ interface JsonFormatter {
235
266
  * The indent style applied to JSON (and its super languages) files.
236
267
  */
237
268
  indentStyle?: PlainIndentStyle;
269
+ /**
270
+ * The size of the indentation applied to JSON (and its super languages) files. Default to 2.
271
+ */
272
+ indentWidth?: number;
238
273
  /**
239
274
  * What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.
240
275
  */
@@ -245,6 +280,10 @@ interface JsonParser {
245
280
  * Allow parsing comments in `.json` files
246
281
  */
247
282
  allowComments?: boolean;
283
+ /**
284
+ * Allow parsing trailing commas in `.json` files
285
+ */
286
+ allowTrailingCommas?: boolean;
248
287
  }
249
288
  interface Rules {
250
289
  a11y?: A11y;
@@ -264,6 +303,36 @@ interface Rules {
264
303
  style?: Style;
265
304
  suspicious?: Suspicious;
266
305
  }
306
+ interface OverridePattern {
307
+ /**
308
+ * Specific configuration for the Json language
309
+ */
310
+ formatter?: OverrideFormatterConfiguration;
311
+ /**
312
+ * A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.
313
+ */
314
+ ignore?: StringSet;
315
+ /**
316
+ * A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.
317
+ */
318
+ include?: StringSet;
319
+ /**
320
+ * Specific configuration for the JavaScript language
321
+ */
322
+ javascript?: JavascriptConfiguration;
323
+ /**
324
+ * Specific configuration for the Json language
325
+ */
326
+ json?: JsonConfiguration;
327
+ /**
328
+ * Specific configuration for the Json language
329
+ */
330
+ linter?: OverrideLinterConfiguration;
331
+ /**
332
+ * Specific configuration for the Json language
333
+ */
334
+ organizeImports?: OverrideOrganizeImportsConfiguration;
335
+ }
267
336
  type VcsClientKind = "git";
268
337
  type ArrowParentheses = "always" | "asNeeded";
269
338
  type QuoteStyle = "double" | "single";
@@ -393,6 +462,10 @@ interface Complexity {
393
462
  * Disallow primitive type aliases and misleading types.
394
463
  */
395
464
  noBannedTypes?: RuleConfiguration;
465
+ /**
466
+ * Disallow functions that exceed a given Cognitive Complexity score.
467
+ */
468
+ noExcessiveCognitiveComplexity?: RuleConfiguration;
396
469
  /**
397
470
  * Disallow unnecessary boolean casts
398
471
  */
@@ -402,7 +475,7 @@ interface Complexity {
402
475
  */
403
476
  noForEach?: RuleConfiguration;
404
477
  /**
405
- * Disallow unclear usage of multiple space characters in regular expression literals
478
+ * Disallow unclear usage of consecutive space characters in regular expression literals
406
479
  */
407
480
  noMultipleSpacesInRegularExpressionLiterals?: RuleConfiguration;
408
481
  /**
@@ -445,6 +518,10 @@ interface Complexity {
445
518
  * Disallow using any or unknown as type constraint.
446
519
  */
447
520
  noUselessTypeConstraint?: RuleConfiguration;
521
+ /**
522
+ * Disallow the use of void operators, which is not a familiar operator.
523
+ */
524
+ noVoid?: RuleConfiguration;
448
525
  /**
449
526
  * Disallow with statements in non-strict contexts.
450
527
  */
@@ -556,7 +633,7 @@ interface Correctness {
556
633
  */
557
634
  noUnreachable?: RuleConfiguration;
558
635
  /**
559
- * Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass
636
+ * Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass
560
637
  */
561
638
  noUnreachableSuper?: RuleConfiguration;
562
639
  /**
@@ -587,6 +664,14 @@ interface Correctness {
587
664
  * It enables the recommended rules for this group
588
665
  */
589
666
  recommended?: boolean;
667
+ /**
668
+ * Enforce all dependencies are correctly specified in a React hook.
669
+ */
670
+ useExhaustiveDependencies?: RuleConfiguration;
671
+ /**
672
+ * Enforce that all React hooks are being called from the Top Level component functions.
673
+ */
674
+ useHookAtTopLevel?: RuleConfiguration;
590
675
  /**
591
676
  * Require calls to isNaN() when checking for NaN.
592
677
  */
@@ -606,75 +691,87 @@ interface Nursery {
606
691
  */
607
692
  all?: boolean;
608
693
  /**
609
- * Disallow the use of spread (...) syntax on accumulators.
610
- */
611
- noAccumulatingSpread?: RuleConfiguration;
612
- /**
613
- * Disallow void type outside of generic or return types.
694
+ * Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.
614
695
  */
615
- noConfusingVoidType?: RuleConfiguration;
696
+ noApproximativeNumericConstant?: RuleConfiguration;
616
697
  /**
617
698
  * Disallow two keys with the same name inside a JSON object.
618
699
  */
619
700
  noDuplicateJsonKeys?: RuleConfiguration;
620
701
  /**
621
- * Disallow functions that exceed a given complexity score.
702
+ * Disallow empty block statements and static blocks.
622
703
  */
623
- noExcessiveComplexity?: RuleConfiguration;
704
+ noEmptyBlockStatements?: RuleConfiguration;
624
705
  /**
625
- * Disallow fallthrough of switch clauses.
706
+ * Disallow empty character classes in regular expression literals.
626
707
  */
627
- noFallthroughSwitchClause?: RuleConfiguration;
708
+ noEmptyCharacterClassInRegex?: RuleConfiguration;
628
709
  /**
629
- * Use Number.isFinite instead of global isFinite.
710
+ * Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
630
711
  */
631
- noGlobalIsFinite?: RuleConfiguration;
712
+ noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
632
713
  /**
633
- * Use Number.isNaN instead of global isNaN.
714
+ * Disallow new operators with global non-constructor functions.
634
715
  */
635
- noGlobalIsNan?: RuleConfiguration;
716
+ noInvalidNewBuiltin?: RuleConfiguration;
636
717
  /**
637
- * Disallow the use of void operators, which is not a familiar operator.
718
+ * Enforce proper usage of new and constructor.
638
719
  */
639
- noVoid?: RuleConfiguration;
720
+ noMisleadingInstantiator?: RuleConfiguration;
721
+ /**
722
+ * Disallow shorthand assign when variable appears on both sides.
723
+ */
724
+ noMisrefactoredShorthandAssign?: RuleConfiguration;
725
+ /**
726
+ * Disallow unused imports.
727
+ */
728
+ noUnusedImports?: RuleConfiguration;
729
+ /**
730
+ * Disallow else block when the if block breaks early.
731
+ */
732
+ noUselessElse?: RuleConfiguration;
733
+ /**
734
+ * Disallow unnecessary nested block statements.
735
+ */
736
+ noUselessLoneBlockStatements?: RuleConfiguration;
640
737
  /**
641
738
  * It enables the recommended rules for this group
642
739
  */
643
740
  recommended?: boolean;
644
741
  /**
645
- * Use arrow functions over function expressions.
742
+ * Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
646
743
  */
647
- useArrowFunction?: RuleConfiguration;
744
+ useAriaActivedescendantWithTabindex?: RuleConfiguration;
648
745
  /**
649
- * Enforce using else if instead of nested if in else clauses.
746
+ * Use arrow functions over function expressions.
650
747
  */
651
- useCollapsedElseIf?: RuleConfiguration;
748
+ useArrowFunction?: RuleConfiguration;
652
749
  /**
653
- * Enforce all dependencies are correctly specified.
750
+ * Enforce the use of as const over literal type and type annotation.
654
751
  */
655
- useExhaustiveDependencies?: RuleConfiguration;
752
+ useAsConstAssertion?: RuleConfiguration;
656
753
  /**
657
754
  * Enforce the use of import type when an import only has specifiers with type qualifier.
658
755
  */
659
756
  useGroupedTypeImport?: RuleConfiguration;
660
- /**
661
- * Enforce that all React hooks are being called from the Top Level component functions.
662
- */
663
- useHookAtTopLevel?: RuleConfiguration;
664
757
  /**
665
758
  * Disallows package private imports.
666
759
  */
667
760
  useImportRestrictions?: RuleConfiguration;
668
761
  /**
669
- * Use Array.isArray() instead of instanceof Array.
762
+ * Require assignment operator shorthand where possible.
670
763
  */
671
- useIsArray?: RuleConfiguration;
764
+ useShorthandAssign?: RuleConfiguration;
672
765
  }
673
766
  interface Performance {
674
767
  /**
675
768
  * It enables ALL rules for this group.
676
769
  */
677
770
  all?: boolean;
771
+ /**
772
+ * Disallow the use of spread (...) syntax on accumulators.
773
+ */
774
+ noAccumulatingSpread?: RuleConfiguration;
678
775
  /**
679
776
  * Disallow the use of the delete operator.
680
777
  */
@@ -728,7 +825,7 @@ interface Style {
728
825
  */
729
826
  noNamespace?: RuleConfiguration;
730
827
  /**
731
- * Disallow negation in the condition of an if statement if it has an else clause
828
+ * Disallow negation in the condition of an if statement if it has an else clause.
732
829
  */
733
830
  noNegationElse?: RuleConfiguration;
734
831
  /**
@@ -764,9 +861,13 @@ interface Style {
764
861
  */
765
862
  recommended?: boolean;
766
863
  /**
767
- * Requires following curly brace conventions. JavaScript allows the omission of curly braces when a block contains only one statement. However, it is considered by many to be best practice to never omit curly braces around blocks, even when they are optional, because it can lead to bugs and reduces code clarity.
864
+ * Requires following curly brace conventions.
768
865
  */
769
866
  useBlockStatements?: RuleConfiguration;
867
+ /**
868
+ * Enforce using else if instead of nested if in else clauses.
869
+ */
870
+ useCollapsedElseIf?: RuleConfiguration;
770
871
  /**
771
872
  * Require const declarations for variables that are never reassigned after declared.
772
873
  */
@@ -820,7 +921,7 @@ interface Style {
820
921
  */
821
922
  useTemplate?: RuleConfiguration;
822
923
  /**
823
- * Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed
924
+ * Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.
824
925
  */
825
926
  useWhile?: RuleConfiguration;
826
927
  }
@@ -861,6 +962,10 @@ interface Suspicious {
861
962
  * Disallow labeled statements that are not loops.
862
963
  */
863
964
  noConfusingLabels?: RuleConfiguration;
965
+ /**
966
+ * Disallow void type outside of generic or return types.
967
+ */
968
+ noConfusingVoidType?: RuleConfiguration;
864
969
  /**
865
970
  * Disallow the use of console.log
866
971
  */
@@ -882,7 +987,7 @@ interface Suspicious {
882
987
  */
883
988
  noDoubleEquals?: RuleConfiguration;
884
989
  /**
885
- * Disallow duplicate case labels. If a switch statement has duplicate test expressions in case clauses, it is likely that a programmer copied a case clause but forgot to change the test expression.
990
+ * Disallow duplicate case labels.
886
991
  */
887
992
  noDuplicateCase?: RuleConfiguration;
888
993
  /**
@@ -894,7 +999,7 @@ interface Suspicious {
894
999
  */
895
1000
  noDuplicateJsxProps?: RuleConfiguration;
896
1001
  /**
897
- * Prevents object literals having more than one property declaration for the same name. If an object property with the same name is defined multiple times (except when combining a getter with a setter), only the last definition makes it into the object and previous definitions are ignored, which is likely a mistake.
1002
+ * Prevents object literals having more than one property declaration for the same name.
898
1003
  */
899
1004
  noDuplicateObjectKeys?: RuleConfiguration;
900
1005
  /**
@@ -913,10 +1018,22 @@ interface Suspicious {
913
1018
  * Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.
914
1019
  */
915
1020
  noExtraNonNullAssertion?: RuleConfiguration;
1021
+ /**
1022
+ * Disallow fallthrough of switch clauses.
1023
+ */
1024
+ noFallthroughSwitchClause?: RuleConfiguration;
916
1025
  /**
917
1026
  * Disallow reassigning function declarations.
918
1027
  */
919
1028
  noFunctionAssign?: RuleConfiguration;
1029
+ /**
1030
+ * Use Number.isFinite instead of global isFinite.
1031
+ */
1032
+ noGlobalIsFinite?: RuleConfiguration;
1033
+ /**
1034
+ * Use Number.isNaN instead of global isNaN.
1035
+ */
1036
+ noGlobalIsNan?: RuleConfiguration;
920
1037
  /**
921
1038
  * Disallow assigning to imported bindings
922
1039
  */
@@ -969,6 +1086,10 @@ interface Suspicious {
969
1086
  * Enforce get methods to always return a value.
970
1087
  */
971
1088
  useGetterReturn?: RuleConfiguration;
1089
+ /**
1090
+ * Use Array.isArray() instead of instanceof Array.
1091
+ */
1092
+ useIsArray?: RuleConfiguration;
972
1093
  /**
973
1094
  * Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
974
1095
  */
@@ -978,6 +1099,45 @@ interface Suspicious {
978
1099
  */
979
1100
  useValidTypeof?: RuleConfiguration;
980
1101
  }
1102
+ interface OverrideFormatterConfiguration {
1103
+ enabled?: boolean;
1104
+ /**
1105
+ * Stores whether formatting should be allowed to proceed if a given file has syntax errors
1106
+ */
1107
+ formatWithErrors?: boolean;
1108
+ /**
1109
+ * The size of the indentation, 2 by default (deprecated, use `indent-width`)
1110
+ */
1111
+ indentSize?: number;
1112
+ /**
1113
+ * The indent style.
1114
+ */
1115
+ indentStyle?: PlainIndentStyle;
1116
+ /**
1117
+ * The size of the indentation, 2 by default
1118
+ */
1119
+ indentWidth?: number;
1120
+ /**
1121
+ * What's the max width of a line. Defaults to 80.
1122
+ */
1123
+ lineWidth?: LineWidth;
1124
+ }
1125
+ interface OverrideLinterConfiguration {
1126
+ /**
1127
+ * if `false`, it disables the feature and the linter won't be executed. `true` by default
1128
+ */
1129
+ enabled?: boolean;
1130
+ /**
1131
+ * List of rules
1132
+ */
1133
+ rules?: Rules;
1134
+ }
1135
+ interface OverrideOrganizeImportsConfiguration {
1136
+ /**
1137
+ * if `false`, it disables the feature and the linter won't be executed. `true` by default
1138
+ */
1139
+ enabled?: boolean;
1140
+ }
981
1141
  type RuleConfiguration = RulePlainConfiguration | RuleWithOptions;
982
1142
  type RulePlainConfiguration = "warn" | "error" | "off";
983
1143
  interface RuleWithOptions {
@@ -1122,7 +1282,6 @@ type Category =
1122
1282
  | "lint/a11y/noSvgWithoutTitle"
1123
1283
  | "lint/a11y/useAltText"
1124
1284
  | "lint/a11y/useAnchorContent"
1125
- | "lint/a11y/useValidAriaValues"
1126
1285
  | "lint/a11y/useAriaPropsForRole"
1127
1286
  | "lint/a11y/useButtonType"
1128
1287
  | "lint/a11y/useHeadingContent"
@@ -1133,8 +1292,10 @@ type Category =
1133
1292
  | "lint/a11y/useMediaCaption"
1134
1293
  | "lint/a11y/useValidAnchor"
1135
1294
  | "lint/a11y/useValidAriaProps"
1295
+ | "lint/a11y/useValidAriaValues"
1136
1296
  | "lint/a11y/useValidLang"
1137
1297
  | "lint/complexity/noBannedTypes"
1298
+ | "lint/complexity/noExcessiveCognitiveComplexity"
1138
1299
  | "lint/complexity/noExtraBooleanCast"
1139
1300
  | "lint/complexity/noForEach"
1140
1301
  | "lint/complexity/noMultipleSpacesInRegularExpressionLiterals"
@@ -1148,6 +1309,7 @@ type Category =
1148
1309
  | "lint/complexity/noUselessSwitchCase"
1149
1310
  | "lint/complexity/noUselessThisAlias"
1150
1311
  | "lint/complexity/noUselessTypeConstraint"
1312
+ | "lint/complexity/noVoid"
1151
1313
  | "lint/complexity/noWith"
1152
1314
  | "lint/complexity/useFlatMap"
1153
1315
  | "lint/complexity/useLiteralKeys"
@@ -1180,25 +1342,30 @@ type Category =
1180
1342
  | "lint/correctness/noUnusedVariables"
1181
1343
  | "lint/correctness/noVoidElementsWithChildren"
1182
1344
  | "lint/correctness/noVoidTypeReturn"
1345
+ | "lint/correctness/useExhaustiveDependencies"
1346
+ | "lint/correctness/useHookAtTopLevel"
1183
1347
  | "lint/correctness/useIsNan"
1184
1348
  | "lint/correctness/useValidForDirection"
1185
1349
  | "lint/correctness/useYield"
1186
- | "lint/nursery/noAccumulatingSpread"
1187
- | "lint/nursery/noConfusingVoidType"
1350
+ | "lint/nursery/noApproximativeNumericConstant"
1188
1351
  | "lint/nursery/noDuplicateJsonKeys"
1189
- | "lint/nursery/noExcessiveComplexity"
1190
- | "lint/nursery/noFallthroughSwitchClause"
1191
- | "lint/nursery/noGlobalIsFinite"
1192
- | "lint/nursery/noGlobalIsNan"
1193
- | "lint/nursery/noVoid"
1352
+ | "lint/nursery/noEmptyBlockStatements"
1353
+ | "lint/nursery/noEmptyCharacterClassInRegex"
1354
+ | "lint/nursery/noInteractiveElementToNoninteractiveRole"
1355
+ | "lint/nursery/noInvalidNewBuiltin"
1356
+ | "lint/nursery/noMisleadingInstantiator"
1357
+ | "lint/nursery/noMisrefactoredShorthandAssign"
1358
+ | "lint/nursery/noUnusedImports"
1359
+ | "lint/nursery/noUselessElse"
1360
+ | "lint/nursery/noUselessLoneBlockStatements"
1361
+ | "lint/nursery/useAriaActivedescendantWithTabindex"
1194
1362
  | "lint/nursery/useArrowFunction"
1363
+ | "lint/nursery/useAsConstAssertion"
1195
1364
  | "lint/nursery/useBiomeSuppressionComment"
1196
- | "lint/nursery/useCollapsedElseIf"
1197
- | "lint/nursery/useExhaustiveDependencies"
1198
1365
  | "lint/nursery/useGroupedTypeImport"
1199
- | "lint/nursery/useHookAtTopLevel"
1200
1366
  | "lint/nursery/useImportRestrictions"
1201
- | "lint/nursery/useIsArray"
1367
+ | "lint/nursery/useShorthandAssign"
1368
+ | "lint/performance/noAccumulatingSpread"
1202
1369
  | "lint/performance/noDelete"
1203
1370
  | "lint/security/noDangerouslySetInnerHtml"
1204
1371
  | "lint/security/noDangerouslySetInnerHtmlWithChildren"
@@ -1216,6 +1383,7 @@ type Category =
1216
1383
  | "lint/style/noUnusedTemplateLiteral"
1217
1384
  | "lint/style/noVar"
1218
1385
  | "lint/style/useBlockStatements"
1386
+ | "lint/style/useCollapsedElseIf"
1219
1387
  | "lint/style/useConst"
1220
1388
  | "lint/style/useDefaultParameterLast"
1221
1389
  | "lint/style/useEnumInitializers"
@@ -1238,6 +1406,7 @@ type Category =
1238
1406
  | "lint/suspicious/noCommentText"
1239
1407
  | "lint/suspicious/noCompareNegZero"
1240
1408
  | "lint/suspicious/noConfusingLabels"
1409
+ | "lint/suspicious/noConfusingVoidType"
1241
1410
  | "lint/suspicious/noConsoleLog"
1242
1411
  | "lint/suspicious/noConstEnum"
1243
1412
  | "lint/suspicious/noControlCharactersInRegex"
@@ -1251,7 +1420,10 @@ type Category =
1251
1420
  | "lint/suspicious/noEmptyInterface"
1252
1421
  | "lint/suspicious/noExplicitAny"
1253
1422
  | "lint/suspicious/noExtraNonNullAssertion"
1423
+ | "lint/suspicious/noFallthroughSwitchClause"
1254
1424
  | "lint/suspicious/noFunctionAssign"
1425
+ | "lint/suspicious/noGlobalIsFinite"
1426
+ | "lint/suspicious/noGlobalIsNan"
1255
1427
  | "lint/suspicious/noImportAssign"
1256
1428
  | "lint/suspicious/noLabelVar"
1257
1429
  | "lint/suspicious/noPrototypeBuiltins"
@@ -1264,6 +1436,7 @@ type Category =
1264
1436
  | "lint/suspicious/noUnsafeNegation"
1265
1437
  | "lint/suspicious/useDefaultSwitchClauseLast"
1266
1438
  | "lint/suspicious/useGetterReturn"
1439
+ | "lint/suspicious/useIsArray"
1267
1440
  | "lint/suspicious/useNamespaceKeyword"
1268
1441
  | "lint/suspicious/useValidTypeof"
1269
1442
  | "files/missingHandler"
@@ -1339,6 +1512,8 @@ type MarkupElement =
1339
1512
  | "Success"
1340
1513
  | "Warn"
1341
1514
  | "Info"
1515
+ | "Debug"
1516
+ | "Trace"
1342
1517
  | "Inverse"
1343
1518
  | { Hyperlink: { href: string } };
1344
1519
  type CompressedOp = { DiffOp: DiffOp } | { EqualLines: { line_count: number } };
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-web","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.2.2","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"module":"biome_wasm.js","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"]}
1
+ {"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.3.0","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}