@biomejs/wasm-nodejs 1.3.3 → 1.4.1-nightly.bc772a3
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 +135 -48
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -109,6 +109,10 @@ interface FormatterConfiguration {
|
|
|
109
109
|
* The size of the indentation, 2 by default
|
|
110
110
|
*/
|
|
111
111
|
indentWidth?: number;
|
|
112
|
+
/**
|
|
113
|
+
* The type of line ending.
|
|
114
|
+
*/
|
|
115
|
+
lineEnding?: LineEnding;
|
|
112
116
|
/**
|
|
113
117
|
* What's the max width of a line. Defaults to 80.
|
|
114
118
|
*/
|
|
@@ -195,12 +199,21 @@ If Biome can't find the configuration, it will attempt to use the current workin
|
|
|
195
199
|
useIgnoreFile?: boolean;
|
|
196
200
|
}
|
|
197
201
|
type PlainIndentStyle = "tab" | "space";
|
|
202
|
+
type LineEnding = "lf" | "crlf" | "cr";
|
|
198
203
|
type LineWidth = number;
|
|
199
204
|
interface JavascriptFormatter {
|
|
200
205
|
/**
|
|
201
206
|
* Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
|
|
202
207
|
*/
|
|
203
208
|
arrowParentheses?: ArrowParentheses;
|
|
209
|
+
/**
|
|
210
|
+
* Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.
|
|
211
|
+
*/
|
|
212
|
+
bracketSameLine?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Whether to insert spaces around brackets in object literals. Defaults to true.
|
|
215
|
+
*/
|
|
216
|
+
bracketSpacing?: boolean;
|
|
204
217
|
/**
|
|
205
218
|
* Control the formatter for JavaScript (and its super languages) files.
|
|
206
219
|
*/
|
|
@@ -222,7 +235,11 @@ interface JavascriptFormatter {
|
|
|
222
235
|
*/
|
|
223
236
|
jsxQuoteStyle?: QuoteStyle;
|
|
224
237
|
/**
|
|
225
|
-
*
|
|
238
|
+
* The type of line ending applied to JavaScript (and its super languages) files.
|
|
239
|
+
*/
|
|
240
|
+
lineEnding?: LineEnding;
|
|
241
|
+
/**
|
|
242
|
+
* What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.
|
|
226
243
|
*/
|
|
227
244
|
lineWidth?: LineWidth;
|
|
228
245
|
/**
|
|
@@ -269,7 +286,11 @@ interface JsonFormatter {
|
|
|
269
286
|
*/
|
|
270
287
|
indentWidth?: number;
|
|
271
288
|
/**
|
|
272
|
-
*
|
|
289
|
+
* The type of line ending applied to JSON (and its super languages) files.
|
|
290
|
+
*/
|
|
291
|
+
lineEnding?: LineEnding;
|
|
292
|
+
/**
|
|
293
|
+
* What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.
|
|
273
294
|
*/
|
|
274
295
|
lineWidth?: LineWidth;
|
|
275
296
|
}
|
|
@@ -366,6 +387,10 @@ interface A11y {
|
|
|
366
387
|
* The scope prop should be used only on <th> elements.
|
|
367
388
|
*/
|
|
368
389
|
noHeaderScope?: RuleConfiguration;
|
|
390
|
+
/**
|
|
391
|
+
* Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
|
|
392
|
+
*/
|
|
393
|
+
noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
|
|
369
394
|
/**
|
|
370
395
|
* Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
|
|
371
396
|
*/
|
|
@@ -402,6 +427,10 @@ interface A11y {
|
|
|
402
427
|
* Enforce that anchors have content and that the content is accessible to screen readers.
|
|
403
428
|
*/
|
|
404
429
|
useAnchorContent?: RuleConfiguration;
|
|
430
|
+
/**
|
|
431
|
+
* Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
|
|
432
|
+
*/
|
|
433
|
+
useAriaActivedescendantWithTabindex?: RuleConfiguration;
|
|
405
434
|
/**
|
|
406
435
|
* Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
|
|
407
436
|
*/
|
|
@@ -480,6 +509,10 @@ interface Complexity {
|
|
|
480
509
|
* This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
|
|
481
510
|
*/
|
|
482
511
|
noStaticOnlyClass?: RuleConfiguration;
|
|
512
|
+
/**
|
|
513
|
+
* Disallow this and super in static contexts.
|
|
514
|
+
*/
|
|
515
|
+
noThisInStatic?: RuleConfiguration;
|
|
483
516
|
/**
|
|
484
517
|
* Disallow unnecessary catch clauses.
|
|
485
518
|
*/
|
|
@@ -528,6 +561,10 @@ interface Complexity {
|
|
|
528
561
|
* It enables the recommended rules for this group
|
|
529
562
|
*/
|
|
530
563
|
recommended?: boolean;
|
|
564
|
+
/**
|
|
565
|
+
* Use arrow functions over function expressions.
|
|
566
|
+
*/
|
|
567
|
+
useArrowFunction?: RuleConfiguration;
|
|
531
568
|
/**
|
|
532
569
|
* Promotes the use of .flatMap() when map().flat() are used together.
|
|
533
570
|
*/
|
|
@@ -570,6 +607,10 @@ interface Correctness {
|
|
|
570
607
|
* Disallow returning a value from a constructor.
|
|
571
608
|
*/
|
|
572
609
|
noConstructorReturn?: RuleConfiguration;
|
|
610
|
+
/**
|
|
611
|
+
* Disallow empty character classes in regular expression literals.
|
|
612
|
+
*/
|
|
613
|
+
noEmptyCharacterClassInRegex?: RuleConfiguration;
|
|
573
614
|
/**
|
|
574
615
|
* Disallows empty destructuring patterns.
|
|
575
616
|
*/
|
|
@@ -586,6 +627,10 @@ interface Correctness {
|
|
|
586
627
|
* Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
|
|
587
628
|
*/
|
|
588
629
|
noInvalidConstructorSuper?: RuleConfiguration;
|
|
630
|
+
/**
|
|
631
|
+
* Disallow new operators with global non-constructor functions.
|
|
632
|
+
*/
|
|
633
|
+
noInvalidNewBuiltin?: RuleConfiguration;
|
|
589
634
|
/**
|
|
590
635
|
* Disallow new operators with the Symbol object.
|
|
591
636
|
*/
|
|
@@ -689,9 +734,13 @@ interface Nursery {
|
|
|
689
734
|
*/
|
|
690
735
|
all?: boolean;
|
|
691
736
|
/**
|
|
692
|
-
*
|
|
737
|
+
* Enforce that aria-hidden="true" is not set on focusable elements.
|
|
693
738
|
*/
|
|
694
|
-
|
|
739
|
+
noAriaHiddenOnFocusable?: RuleConfiguration;
|
|
740
|
+
/**
|
|
741
|
+
* Disallow default exports.
|
|
742
|
+
*/
|
|
743
|
+
noDefaultExport?: RuleConfiguration;
|
|
695
744
|
/**
|
|
696
745
|
* Disallow two keys with the same name inside a JSON object.
|
|
697
746
|
*/
|
|
@@ -701,37 +750,21 @@ interface Nursery {
|
|
|
701
750
|
*/
|
|
702
751
|
noEmptyBlockStatements?: RuleConfiguration;
|
|
703
752
|
/**
|
|
704
|
-
* Disallow
|
|
705
|
-
*/
|
|
706
|
-
noEmptyCharacterClassInRegex?: RuleConfiguration;
|
|
707
|
-
/**
|
|
708
|
-
* Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
|
|
709
|
-
*/
|
|
710
|
-
noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
|
|
711
|
-
/**
|
|
712
|
-
* Disallow new operators with global non-constructor functions.
|
|
713
|
-
*/
|
|
714
|
-
noInvalidNewBuiltin?: RuleConfiguration;
|
|
715
|
-
/**
|
|
716
|
-
* Enforce proper usage of new and constructor.
|
|
717
|
-
*/
|
|
718
|
-
noMisleadingInstantiator?: RuleConfiguration;
|
|
719
|
-
/**
|
|
720
|
-
* Disallow shorthand assign when variable appears on both sides.
|
|
753
|
+
* Disallow use of implicit any type on variable declarations.
|
|
721
754
|
*/
|
|
722
|
-
|
|
755
|
+
noImplicitAnyLet?: RuleConfiguration;
|
|
723
756
|
/**
|
|
724
|
-
* Disallow
|
|
757
|
+
* Disallow characters made with multiple code points in character class syntax.
|
|
725
758
|
*/
|
|
726
|
-
|
|
759
|
+
noMisleadingCharacterClass?: RuleConfiguration;
|
|
727
760
|
/**
|
|
728
761
|
* Disallow unused imports.
|
|
729
762
|
*/
|
|
730
763
|
noUnusedImports?: RuleConfiguration;
|
|
731
764
|
/**
|
|
732
|
-
* Disallow
|
|
765
|
+
* Disallow unused private class members
|
|
733
766
|
*/
|
|
734
|
-
|
|
767
|
+
noUnusedPrivateClassMembers?: RuleConfiguration;
|
|
735
768
|
/**
|
|
736
769
|
* Disallow unnecessary nested block statements.
|
|
737
770
|
*/
|
|
@@ -741,17 +774,13 @@ interface Nursery {
|
|
|
741
774
|
*/
|
|
742
775
|
recommended?: boolean;
|
|
743
776
|
/**
|
|
744
|
-
*
|
|
745
|
-
*/
|
|
746
|
-
useAriaActivedescendantWithTabindex?: RuleConfiguration;
|
|
747
|
-
/**
|
|
748
|
-
* Use arrow functions over function expressions.
|
|
777
|
+
* Ensure async functions utilize await.
|
|
749
778
|
*/
|
|
750
|
-
|
|
779
|
+
useAwait?: RuleConfiguration;
|
|
751
780
|
/**
|
|
752
|
-
*
|
|
781
|
+
* This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
|
|
753
782
|
*/
|
|
754
|
-
|
|
783
|
+
useForOf?: RuleConfiguration;
|
|
755
784
|
/**
|
|
756
785
|
* Enforce the use of import type when an import only has specifiers with type qualifier.
|
|
757
786
|
*/
|
|
@@ -761,9 +790,17 @@ interface Nursery {
|
|
|
761
790
|
*/
|
|
762
791
|
useImportRestrictions?: RuleConfiguration;
|
|
763
792
|
/**
|
|
764
|
-
*
|
|
793
|
+
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
|
|
765
794
|
*/
|
|
766
|
-
|
|
795
|
+
useRegexLiterals?: RuleConfiguration;
|
|
796
|
+
/**
|
|
797
|
+
* Enforce using function types instead of object type with call signatures.
|
|
798
|
+
*/
|
|
799
|
+
useShorthandFunctionType?: RuleConfiguration;
|
|
800
|
+
/**
|
|
801
|
+
* Elements with ARIA roles must use a valid, non-abstract ARIA role.
|
|
802
|
+
*/
|
|
803
|
+
useValidAriaRole?: RuleConfiguration;
|
|
767
804
|
}
|
|
768
805
|
interface Performance {
|
|
769
806
|
/**
|
|
@@ -854,6 +891,10 @@ interface Style {
|
|
|
854
891
|
* Disallow template literals if interpolation and special-character handling are not needed
|
|
855
892
|
*/
|
|
856
893
|
noUnusedTemplateLiteral?: RuleConfiguration;
|
|
894
|
+
/**
|
|
895
|
+
* Disallow else block when the if block breaks early.
|
|
896
|
+
*/
|
|
897
|
+
noUselessElse?: RuleConfiguration;
|
|
857
898
|
/**
|
|
858
899
|
* Disallow the use of var
|
|
859
900
|
*/
|
|
@@ -862,6 +903,10 @@ interface Style {
|
|
|
862
903
|
* It enables the recommended rules for this group
|
|
863
904
|
*/
|
|
864
905
|
recommended?: boolean;
|
|
906
|
+
/**
|
|
907
|
+
* Enforce the use of as const over literal type and type annotation.
|
|
908
|
+
*/
|
|
909
|
+
useAsConstAssertion?: RuleConfiguration;
|
|
865
910
|
/**
|
|
866
911
|
* Requires following curly brace conventions.
|
|
867
912
|
*/
|
|
@@ -910,6 +955,10 @@ interface Style {
|
|
|
910
955
|
* When expressing array types, this rule promotes the usage of T[] shorthand instead of Array<T>.
|
|
911
956
|
*/
|
|
912
957
|
useShorthandArrayType?: RuleConfiguration;
|
|
958
|
+
/**
|
|
959
|
+
* Require assignment operator shorthand where possible.
|
|
960
|
+
*/
|
|
961
|
+
useShorthandAssign?: RuleConfiguration;
|
|
913
962
|
/**
|
|
914
963
|
* Enforces switch clauses have a single statement, emits a quick fix wrapping the statements in a block.
|
|
915
964
|
*/
|
|
@@ -932,6 +981,10 @@ interface Suspicious {
|
|
|
932
981
|
* It enables ALL rules for this group.
|
|
933
982
|
*/
|
|
934
983
|
all?: boolean;
|
|
984
|
+
/**
|
|
985
|
+
* 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.
|
|
986
|
+
*/
|
|
987
|
+
noApproximativeNumericConstant?: RuleConfiguration;
|
|
935
988
|
/**
|
|
936
989
|
* Discourage the usage of Array index in keys.
|
|
937
990
|
*/
|
|
@@ -1044,6 +1097,14 @@ interface Suspicious {
|
|
|
1044
1097
|
* Disallow labels that share a name with a variable
|
|
1045
1098
|
*/
|
|
1046
1099
|
noLabelVar?: RuleConfiguration;
|
|
1100
|
+
/**
|
|
1101
|
+
* Enforce proper usage of new and constructor.
|
|
1102
|
+
*/
|
|
1103
|
+
noMisleadingInstantiator?: RuleConfiguration;
|
|
1104
|
+
/**
|
|
1105
|
+
* Disallow shorthand assign when variable appears on both sides.
|
|
1106
|
+
*/
|
|
1107
|
+
noMisrefactoredShorthandAssign?: RuleConfiguration;
|
|
1047
1108
|
/**
|
|
1048
1109
|
* Disallow direct use of Object.prototype builtins.
|
|
1049
1110
|
*/
|
|
@@ -1119,6 +1180,10 @@ interface OverrideFormatterConfiguration {
|
|
|
1119
1180
|
* The size of the indentation, 2 by default
|
|
1120
1181
|
*/
|
|
1121
1182
|
indentWidth?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* The type of line ending.
|
|
1185
|
+
*/
|
|
1186
|
+
lineEnding?: LineEnding;
|
|
1122
1187
|
/**
|
|
1123
1188
|
* What's the max width of a line. Defaults to 80.
|
|
1124
1189
|
*/
|
|
@@ -1150,7 +1215,8 @@ type PossibleOptions =
|
|
|
1150
1215
|
| ComplexityOptions
|
|
1151
1216
|
| HooksOptions
|
|
1152
1217
|
| NamingConventionOptions
|
|
1153
|
-
| RestrictedGlobalsOptions
|
|
1218
|
+
| RestrictedGlobalsOptions
|
|
1219
|
+
| ValidAriaRoleOptions;
|
|
1154
1220
|
interface ComplexityOptions {
|
|
1155
1221
|
/**
|
|
1156
1222
|
* The maximum complexity score that we allow. Anything higher is considered excessive.
|
|
@@ -1179,6 +1245,10 @@ interface RestrictedGlobalsOptions {
|
|
|
1179
1245
|
*/
|
|
1180
1246
|
deniedGlobals?: string[];
|
|
1181
1247
|
}
|
|
1248
|
+
interface ValidAriaRoleOptions {
|
|
1249
|
+
allowedInvalidRoles: string[];
|
|
1250
|
+
ignoreNonDom: boolean;
|
|
1251
|
+
}
|
|
1182
1252
|
interface Hooks {
|
|
1183
1253
|
/**
|
|
1184
1254
|
* The "position" of the closure function, starting from zero.
|
|
@@ -1196,6 +1266,10 @@ interface Hooks {
|
|
|
1196
1266
|
name: string;
|
|
1197
1267
|
}
|
|
1198
1268
|
type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase";
|
|
1269
|
+
interface ProjectFeaturesParams {
|
|
1270
|
+
manifest_path: RomePath;
|
|
1271
|
+
}
|
|
1272
|
+
interface ProjectFeaturesResult {}
|
|
1199
1273
|
interface OpenFileParams {
|
|
1200
1274
|
content: string;
|
|
1201
1275
|
language_hint?: Language;
|
|
@@ -1275,6 +1349,7 @@ type Category =
|
|
|
1275
1349
|
| "lint/a11y/noBlankTarget"
|
|
1276
1350
|
| "lint/a11y/noDistractingElements"
|
|
1277
1351
|
| "lint/a11y/noHeaderScope"
|
|
1352
|
+
| "lint/a11y/noInteractiveElementToNoninteractiveRole"
|
|
1278
1353
|
| "lint/a11y/noNoninteractiveElementToInteractiveRole"
|
|
1279
1354
|
| "lint/a11y/noNoninteractiveTabindex"
|
|
1280
1355
|
| "lint/a11y/noPositiveTabindex"
|
|
@@ -1283,6 +1358,7 @@ type Category =
|
|
|
1283
1358
|
| "lint/a11y/noSvgWithoutTitle"
|
|
1284
1359
|
| "lint/a11y/useAltText"
|
|
1285
1360
|
| "lint/a11y/useAnchorContent"
|
|
1361
|
+
| "lint/a11y/useAriaActivedescendantWithTabindex"
|
|
1286
1362
|
| "lint/a11y/useAriaPropsForRole"
|
|
1287
1363
|
| "lint/a11y/useButtonType"
|
|
1288
1364
|
| "lint/a11y/useHeadingContent"
|
|
@@ -1301,6 +1377,7 @@ type Category =
|
|
|
1301
1377
|
| "lint/complexity/noForEach"
|
|
1302
1378
|
| "lint/complexity/noMultipleSpacesInRegularExpressionLiterals"
|
|
1303
1379
|
| "lint/complexity/noStaticOnlyClass"
|
|
1380
|
+
| "lint/complexity/noThisInStatic"
|
|
1304
1381
|
| "lint/complexity/noUselessCatch"
|
|
1305
1382
|
| "lint/complexity/noUselessConstructor"
|
|
1306
1383
|
| "lint/complexity/noUselessEmptyExport"
|
|
@@ -1312,6 +1389,7 @@ type Category =
|
|
|
1312
1389
|
| "lint/complexity/noUselessTypeConstraint"
|
|
1313
1390
|
| "lint/complexity/noVoid"
|
|
1314
1391
|
| "lint/complexity/noWith"
|
|
1392
|
+
| "lint/complexity/useArrowFunction"
|
|
1315
1393
|
| "lint/complexity/useFlatMap"
|
|
1316
1394
|
| "lint/complexity/useLiteralKeys"
|
|
1317
1395
|
| "lint/complexity/useOptionalChain"
|
|
@@ -1321,10 +1399,12 @@ type Category =
|
|
|
1321
1399
|
| "lint/correctness/noConstAssign"
|
|
1322
1400
|
| "lint/correctness/noConstantCondition"
|
|
1323
1401
|
| "lint/correctness/noConstructorReturn"
|
|
1402
|
+
| "lint/correctness/noEmptyCharacterClassInRegex"
|
|
1324
1403
|
| "lint/correctness/noEmptyPattern"
|
|
1325
1404
|
| "lint/correctness/noGlobalObjectCalls"
|
|
1326
1405
|
| "lint/correctness/noInnerDeclarations"
|
|
1327
1406
|
| "lint/correctness/noInvalidConstructorSuper"
|
|
1407
|
+
| "lint/correctness/noInvalidNewBuiltin"
|
|
1328
1408
|
| "lint/correctness/noNewSymbol"
|
|
1329
1409
|
| "lint/correctness/noNonoctalDecimalEscape"
|
|
1330
1410
|
| "lint/correctness/noPrecisionLoss"
|
|
@@ -1349,24 +1429,23 @@ type Category =
|
|
|
1349
1429
|
| "lint/correctness/useValidForDirection"
|
|
1350
1430
|
| "lint/correctness/useYield"
|
|
1351
1431
|
| "lint/nursery/noApproximativeNumericConstant"
|
|
1432
|
+
| "lint/nursery/noAriaHiddenOnFocusable"
|
|
1433
|
+
| "lint/nursery/noDefaultExport"
|
|
1352
1434
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1353
1435
|
| "lint/nursery/noEmptyBlockStatements"
|
|
1354
|
-
| "lint/nursery/
|
|
1355
|
-
| "lint/nursery/
|
|
1356
|
-
| "lint/nursery/noInvalidNewBuiltin"
|
|
1357
|
-
| "lint/nursery/noMisleadingInstantiator"
|
|
1358
|
-
| "lint/nursery/noMisrefactoredShorthandAssign"
|
|
1359
|
-
| "lint/nursery/noThisInStatic"
|
|
1436
|
+
| "lint/nursery/noImplicitAnyLet"
|
|
1437
|
+
| "lint/nursery/noMisleadingCharacterClass"
|
|
1360
1438
|
| "lint/nursery/noUnusedImports"
|
|
1361
|
-
| "lint/nursery/
|
|
1439
|
+
| "lint/nursery/noUnusedPrivateClassMembers"
|
|
1362
1440
|
| "lint/nursery/noUselessLoneBlockStatements"
|
|
1363
|
-
| "lint/nursery/
|
|
1364
|
-
| "lint/nursery/useArrowFunction"
|
|
1365
|
-
| "lint/nursery/useAsConstAssertion"
|
|
1441
|
+
| "lint/nursery/useAwait"
|
|
1366
1442
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
1443
|
+
| "lint/nursery/useForOf"
|
|
1367
1444
|
| "lint/nursery/useGroupedTypeImport"
|
|
1368
1445
|
| "lint/nursery/useImportRestrictions"
|
|
1369
|
-
| "lint/nursery/
|
|
1446
|
+
| "lint/nursery/useRegexLiterals"
|
|
1447
|
+
| "lint/nursery/useValidAriaRole"
|
|
1448
|
+
| "lint/nursery/useShorthandFunctionType"
|
|
1370
1449
|
| "lint/performance/noAccumulatingSpread"
|
|
1371
1450
|
| "lint/performance/noDelete"
|
|
1372
1451
|
| "lint/security/noDangerouslySetInnerHtml"
|
|
@@ -1383,7 +1462,9 @@ type Category =
|
|
|
1383
1462
|
| "lint/style/noRestrictedGlobals"
|
|
1384
1463
|
| "lint/style/noShoutyConstants"
|
|
1385
1464
|
| "lint/style/noUnusedTemplateLiteral"
|
|
1465
|
+
| "lint/style/noUselessElse"
|
|
1386
1466
|
| "lint/style/noVar"
|
|
1467
|
+
| "lint/style/useAsConstAssertion"
|
|
1387
1468
|
| "lint/style/useBlockStatements"
|
|
1388
1469
|
| "lint/style/useCollapsedElseIf"
|
|
1389
1470
|
| "lint/style/useConst"
|
|
@@ -1396,10 +1477,12 @@ type Category =
|
|
|
1396
1477
|
| "lint/style/useNumericLiterals"
|
|
1397
1478
|
| "lint/style/useSelfClosingElements"
|
|
1398
1479
|
| "lint/style/useShorthandArrayType"
|
|
1480
|
+
| "lint/style/useShorthandAssign"
|
|
1399
1481
|
| "lint/style/useSingleCaseStatement"
|
|
1400
1482
|
| "lint/style/useSingleVarDeclarator"
|
|
1401
1483
|
| "lint/style/useTemplate"
|
|
1402
1484
|
| "lint/style/useWhile"
|
|
1485
|
+
| "lint/suspicious/noApproximativeNumericConstant"
|
|
1403
1486
|
| "lint/suspicious/noArrayIndexKey"
|
|
1404
1487
|
| "lint/suspicious/noAssignInExpressions"
|
|
1405
1488
|
| "lint/suspicious/noAsyncPromiseExecutor"
|
|
@@ -1428,6 +1511,8 @@ type Category =
|
|
|
1428
1511
|
| "lint/suspicious/noGlobalIsNan"
|
|
1429
1512
|
| "lint/suspicious/noImportAssign"
|
|
1430
1513
|
| "lint/suspicious/noLabelVar"
|
|
1514
|
+
| "lint/suspicious/noMisleadingInstantiator"
|
|
1515
|
+
| "lint/suspicious/noMisrefactoredShorthandAssign"
|
|
1431
1516
|
| "lint/suspicious/noPrototypeBuiltins"
|
|
1432
1517
|
| "lint/suspicious/noRedeclare"
|
|
1433
1518
|
| "lint/suspicious/noRedundantUseStrict"
|
|
@@ -1449,11 +1534,13 @@ type Category =
|
|
|
1449
1534
|
| "organizeImports"
|
|
1450
1535
|
| "migrate"
|
|
1451
1536
|
| "deserialize"
|
|
1537
|
+
| "project"
|
|
1452
1538
|
| "internalError/io"
|
|
1453
1539
|
| "internalError/fs"
|
|
1454
1540
|
| "internalError/panic"
|
|
1455
1541
|
| "parse"
|
|
1456
1542
|
| "parse/noSuperWithoutExtends"
|
|
1543
|
+
| "parse/noInitializerWithDefinite"
|
|
1457
1544
|
| "parse/noDuplicatePrivateClassMembers"
|
|
1458
1545
|
| "lint"
|
|
1459
1546
|
| "lint/a11y"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.
|
|
1
|
+
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.bc772a3","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
|