@biomejs/wasm-nodejs 1.3.3 → 1.4.1-nightly.22dd4e1
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 +230 -42
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -21,12 +21,18 @@ type SupportKind =
|
|
|
21
21
|
| "FileNotSupported";
|
|
22
22
|
interface UpdateSettingsParams {
|
|
23
23
|
configuration: Configuration;
|
|
24
|
+
gitignore_matches: string[];
|
|
25
|
+
vcs_base_path?: string;
|
|
24
26
|
}
|
|
25
27
|
interface Configuration {
|
|
26
28
|
/**
|
|
27
29
|
* A field for the [JSON schema](https://json-schema.org/) specification
|
|
28
30
|
*/
|
|
29
31
|
$schema?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specific configuration for the Css language
|
|
34
|
+
*/
|
|
35
|
+
css?: CssConfiguration;
|
|
30
36
|
/**
|
|
31
37
|
* A list of paths to other JSON files, used to extends the current configuration.
|
|
32
38
|
*/
|
|
@@ -64,6 +70,16 @@ interface Configuration {
|
|
|
64
70
|
*/
|
|
65
71
|
vcs?: VcsConfiguration;
|
|
66
72
|
}
|
|
73
|
+
interface CssConfiguration {
|
|
74
|
+
/**
|
|
75
|
+
* Formatting options
|
|
76
|
+
*/
|
|
77
|
+
formatter?: CssFormatter;
|
|
78
|
+
/**
|
|
79
|
+
* Parsing options
|
|
80
|
+
*/
|
|
81
|
+
parser?: CssParser;
|
|
82
|
+
}
|
|
67
83
|
type StringSet = string[];
|
|
68
84
|
interface FilesConfiguration {
|
|
69
85
|
/**
|
|
@@ -109,6 +125,10 @@ interface FormatterConfiguration {
|
|
|
109
125
|
* The size of the indentation, 2 by default
|
|
110
126
|
*/
|
|
111
127
|
indentWidth?: number;
|
|
128
|
+
/**
|
|
129
|
+
* The type of line ending.
|
|
130
|
+
*/
|
|
131
|
+
lineEnding?: LineEnding;
|
|
112
132
|
/**
|
|
113
133
|
* What's the max width of a line. Defaults to 80.
|
|
114
134
|
*/
|
|
@@ -179,6 +199,10 @@ interface VcsConfiguration {
|
|
|
179
199
|
* The kind of client.
|
|
180
200
|
*/
|
|
181
201
|
clientKind?: VcsClientKind;
|
|
202
|
+
/**
|
|
203
|
+
* The main branch of the project
|
|
204
|
+
*/
|
|
205
|
+
defaultBranch?: string;
|
|
182
206
|
/**
|
|
183
207
|
* Whether Biome should integrate itself with the VCS client
|
|
184
208
|
*/
|
|
@@ -194,13 +218,54 @@ If Biome can't find the configuration, it will attempt to use the current workin
|
|
|
194
218
|
*/
|
|
195
219
|
useIgnoreFile?: boolean;
|
|
196
220
|
}
|
|
221
|
+
interface CssFormatter {
|
|
222
|
+
/**
|
|
223
|
+
* Control the formatter for CSS (and its super languages) files.
|
|
224
|
+
*/
|
|
225
|
+
enabled?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* The size of the indentation applied to CSS (and its super languages) files. Default to 2.
|
|
228
|
+
*/
|
|
229
|
+
indentSize?: number;
|
|
230
|
+
/**
|
|
231
|
+
* The indent style applied to CSS (and its super languages) files.
|
|
232
|
+
*/
|
|
233
|
+
indentStyle?: PlainIndentStyle;
|
|
234
|
+
/**
|
|
235
|
+
* The size of the indentation applied to CSS (and its super languages) files. Default to 2.
|
|
236
|
+
*/
|
|
237
|
+
indentWidth?: number;
|
|
238
|
+
/**
|
|
239
|
+
* The type of line ending applied to CSS (and its super languages) files.
|
|
240
|
+
*/
|
|
241
|
+
lineEnding?: LineEnding;
|
|
242
|
+
/**
|
|
243
|
+
* What's the max width of a line applied to CSS (and its super languages) files. Defaults to 80.
|
|
244
|
+
*/
|
|
245
|
+
lineWidth?: LineWidth;
|
|
246
|
+
}
|
|
247
|
+
interface CssParser {
|
|
248
|
+
/**
|
|
249
|
+
* Allow comments to appear on incorrect lines in `.css` files
|
|
250
|
+
*/
|
|
251
|
+
allowWrongLineComments?: boolean;
|
|
252
|
+
}
|
|
197
253
|
type PlainIndentStyle = "tab" | "space";
|
|
254
|
+
type LineEnding = "lf" | "crlf" | "cr";
|
|
198
255
|
type LineWidth = number;
|
|
199
256
|
interface JavascriptFormatter {
|
|
200
257
|
/**
|
|
201
258
|
* Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
|
|
202
259
|
*/
|
|
203
260
|
arrowParentheses?: ArrowParentheses;
|
|
261
|
+
/**
|
|
262
|
+
* 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.
|
|
263
|
+
*/
|
|
264
|
+
bracketSameLine?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Whether to insert spaces around brackets in object literals. Defaults to true.
|
|
267
|
+
*/
|
|
268
|
+
bracketSpacing?: boolean;
|
|
204
269
|
/**
|
|
205
270
|
* Control the formatter for JavaScript (and its super languages) files.
|
|
206
271
|
*/
|
|
@@ -222,7 +287,11 @@ interface JavascriptFormatter {
|
|
|
222
287
|
*/
|
|
223
288
|
jsxQuoteStyle?: QuoteStyle;
|
|
224
289
|
/**
|
|
225
|
-
*
|
|
290
|
+
* The type of line ending applied to JavaScript (and its super languages) files.
|
|
291
|
+
*/
|
|
292
|
+
lineEnding?: LineEnding;
|
|
293
|
+
/**
|
|
294
|
+
* What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.
|
|
226
295
|
*/
|
|
227
296
|
lineWidth?: LineWidth;
|
|
228
297
|
/**
|
|
@@ -269,7 +338,11 @@ interface JsonFormatter {
|
|
|
269
338
|
*/
|
|
270
339
|
indentWidth?: number;
|
|
271
340
|
/**
|
|
272
|
-
*
|
|
341
|
+
* The type of line ending applied to JSON (and its super languages) files.
|
|
342
|
+
*/
|
|
343
|
+
lineEnding?: LineEnding;
|
|
344
|
+
/**
|
|
345
|
+
* What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.
|
|
273
346
|
*/
|
|
274
347
|
lineWidth?: LineWidth;
|
|
275
348
|
}
|
|
@@ -302,6 +375,10 @@ interface Rules {
|
|
|
302
375
|
suspicious?: Suspicious;
|
|
303
376
|
}
|
|
304
377
|
interface OverridePattern {
|
|
378
|
+
/**
|
|
379
|
+
* Specific configuration for the Css language
|
|
380
|
+
*/
|
|
381
|
+
css?: CssConfiguration;
|
|
305
382
|
/**
|
|
306
383
|
* Specific configuration for the Json language
|
|
307
384
|
*/
|
|
@@ -366,6 +443,10 @@ interface A11y {
|
|
|
366
443
|
* The scope prop should be used only on <th> elements.
|
|
367
444
|
*/
|
|
368
445
|
noHeaderScope?: RuleConfiguration;
|
|
446
|
+
/**
|
|
447
|
+
* Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
|
|
448
|
+
*/
|
|
449
|
+
noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
|
|
369
450
|
/**
|
|
370
451
|
* Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
|
|
371
452
|
*/
|
|
@@ -402,6 +483,10 @@ interface A11y {
|
|
|
402
483
|
* Enforce that anchors have content and that the content is accessible to screen readers.
|
|
403
484
|
*/
|
|
404
485
|
useAnchorContent?: RuleConfiguration;
|
|
486
|
+
/**
|
|
487
|
+
* Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
|
|
488
|
+
*/
|
|
489
|
+
useAriaActivedescendantWithTabindex?: RuleConfiguration;
|
|
405
490
|
/**
|
|
406
491
|
* Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
|
|
407
492
|
*/
|
|
@@ -480,6 +565,10 @@ interface Complexity {
|
|
|
480
565
|
* This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
|
|
481
566
|
*/
|
|
482
567
|
noStaticOnlyClass?: RuleConfiguration;
|
|
568
|
+
/**
|
|
569
|
+
* Disallow this and super in static contexts.
|
|
570
|
+
*/
|
|
571
|
+
noThisInStatic?: RuleConfiguration;
|
|
483
572
|
/**
|
|
484
573
|
* Disallow unnecessary catch clauses.
|
|
485
574
|
*/
|
|
@@ -528,6 +617,10 @@ interface Complexity {
|
|
|
528
617
|
* It enables the recommended rules for this group
|
|
529
618
|
*/
|
|
530
619
|
recommended?: boolean;
|
|
620
|
+
/**
|
|
621
|
+
* Use arrow functions over function expressions.
|
|
622
|
+
*/
|
|
623
|
+
useArrowFunction?: RuleConfiguration;
|
|
531
624
|
/**
|
|
532
625
|
* Promotes the use of .flatMap() when map().flat() are used together.
|
|
533
626
|
*/
|
|
@@ -570,6 +663,10 @@ interface Correctness {
|
|
|
570
663
|
* Disallow returning a value from a constructor.
|
|
571
664
|
*/
|
|
572
665
|
noConstructorReturn?: RuleConfiguration;
|
|
666
|
+
/**
|
|
667
|
+
* Disallow empty character classes in regular expression literals.
|
|
668
|
+
*/
|
|
669
|
+
noEmptyCharacterClassInRegex?: RuleConfiguration;
|
|
573
670
|
/**
|
|
574
671
|
* Disallows empty destructuring patterns.
|
|
575
672
|
*/
|
|
@@ -586,6 +683,10 @@ interface Correctness {
|
|
|
586
683
|
* Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
|
|
587
684
|
*/
|
|
588
685
|
noInvalidConstructorSuper?: RuleConfiguration;
|
|
686
|
+
/**
|
|
687
|
+
* Disallow new operators with global non-constructor functions.
|
|
688
|
+
*/
|
|
689
|
+
noInvalidNewBuiltin?: RuleConfiguration;
|
|
589
690
|
/**
|
|
590
691
|
* Disallow new operators with the Symbol object.
|
|
591
692
|
*/
|
|
@@ -689,9 +790,13 @@ interface Nursery {
|
|
|
689
790
|
*/
|
|
690
791
|
all?: boolean;
|
|
691
792
|
/**
|
|
692
|
-
*
|
|
793
|
+
* Enforce that aria-hidden="true" is not set on focusable elements.
|
|
693
794
|
*/
|
|
694
|
-
|
|
795
|
+
noAriaHiddenOnFocusable?: RuleConfiguration;
|
|
796
|
+
/**
|
|
797
|
+
* Disallow default exports.
|
|
798
|
+
*/
|
|
799
|
+
noDefaultExport?: RuleConfiguration;
|
|
695
800
|
/**
|
|
696
801
|
* Disallow two keys with the same name inside a JSON object.
|
|
697
802
|
*/
|
|
@@ -701,57 +806,57 @@ interface Nursery {
|
|
|
701
806
|
*/
|
|
702
807
|
noEmptyBlockStatements?: RuleConfiguration;
|
|
703
808
|
/**
|
|
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.
|
|
809
|
+
* Disallow use of implicit any type on variable declarations.
|
|
713
810
|
*/
|
|
714
|
-
|
|
811
|
+
noImplicitAnyLet?: RuleConfiguration;
|
|
715
812
|
/**
|
|
716
|
-
*
|
|
813
|
+
* Disallow the use of variables and function parameters before their declaration
|
|
717
814
|
*/
|
|
718
|
-
|
|
815
|
+
noInvalidUseBeforeDeclaration?: RuleConfiguration;
|
|
719
816
|
/**
|
|
720
|
-
* Disallow
|
|
817
|
+
* Disallow characters made with multiple code points in character class syntax.
|
|
721
818
|
*/
|
|
722
|
-
|
|
819
|
+
noMisleadingCharacterClass?: RuleConfiguration;
|
|
723
820
|
/**
|
|
724
|
-
*
|
|
821
|
+
* Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules.
|
|
725
822
|
*/
|
|
726
|
-
|
|
823
|
+
noNodejsModules?: RuleConfiguration;
|
|
727
824
|
/**
|
|
728
825
|
* Disallow unused imports.
|
|
729
826
|
*/
|
|
730
827
|
noUnusedImports?: RuleConfiguration;
|
|
731
828
|
/**
|
|
732
|
-
* Disallow
|
|
829
|
+
* Disallow unused private class members
|
|
733
830
|
*/
|
|
734
|
-
|
|
831
|
+
noUnusedPrivateClassMembers?: RuleConfiguration;
|
|
735
832
|
/**
|
|
736
833
|
* Disallow unnecessary nested block statements.
|
|
737
834
|
*/
|
|
738
835
|
noUselessLoneBlockStatements?: RuleConfiguration;
|
|
836
|
+
/**
|
|
837
|
+
* Disallow ternary operators when simpler alternatives exist.
|
|
838
|
+
*/
|
|
839
|
+
noUselessTernary?: RuleConfiguration;
|
|
739
840
|
/**
|
|
740
841
|
* It enables the recommended rules for this group
|
|
741
842
|
*/
|
|
742
843
|
recommended?: boolean;
|
|
743
844
|
/**
|
|
744
|
-
*
|
|
845
|
+
* Ensure async functions utilize await.
|
|
745
846
|
*/
|
|
746
|
-
|
|
847
|
+
useAwait?: RuleConfiguration;
|
|
747
848
|
/**
|
|
748
|
-
*
|
|
849
|
+
* Promotes the use of export type for types.
|
|
749
850
|
*/
|
|
750
|
-
|
|
851
|
+
useExportType?: RuleConfiguration;
|
|
751
852
|
/**
|
|
752
|
-
* Enforce
|
|
853
|
+
* Enforce naming conventions for JavaScript and TypeScript filenames.
|
|
753
854
|
*/
|
|
754
|
-
|
|
855
|
+
useFilenamingConvention?: RuleConfiguration;
|
|
856
|
+
/**
|
|
857
|
+
* This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
|
|
858
|
+
*/
|
|
859
|
+
useForOf?: RuleConfiguration;
|
|
755
860
|
/**
|
|
756
861
|
* Enforce the use of import type when an import only has specifiers with type qualifier.
|
|
757
862
|
*/
|
|
@@ -761,9 +866,21 @@ interface Nursery {
|
|
|
761
866
|
*/
|
|
762
867
|
useImportRestrictions?: RuleConfiguration;
|
|
763
868
|
/**
|
|
764
|
-
*
|
|
869
|
+
* Enforces using the node: protocol for Node.js builtin modules.
|
|
765
870
|
*/
|
|
766
|
-
|
|
871
|
+
useNodeImportProtocol?: RuleConfiguration;
|
|
872
|
+
/**
|
|
873
|
+
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
|
|
874
|
+
*/
|
|
875
|
+
useRegexLiterals?: RuleConfiguration;
|
|
876
|
+
/**
|
|
877
|
+
* Enforce using function types instead of object type with call signatures.
|
|
878
|
+
*/
|
|
879
|
+
useShorthandFunctionType?: RuleConfiguration;
|
|
880
|
+
/**
|
|
881
|
+
* Elements with ARIA roles must use a valid, non-abstract ARIA role.
|
|
882
|
+
*/
|
|
883
|
+
useValidAriaRole?: RuleConfiguration;
|
|
767
884
|
}
|
|
768
885
|
interface Performance {
|
|
769
886
|
/**
|
|
@@ -854,6 +971,10 @@ interface Style {
|
|
|
854
971
|
* Disallow template literals if interpolation and special-character handling are not needed
|
|
855
972
|
*/
|
|
856
973
|
noUnusedTemplateLiteral?: RuleConfiguration;
|
|
974
|
+
/**
|
|
975
|
+
* Disallow else block when the if block breaks early.
|
|
976
|
+
*/
|
|
977
|
+
noUselessElse?: RuleConfiguration;
|
|
857
978
|
/**
|
|
858
979
|
* Disallow the use of var
|
|
859
980
|
*/
|
|
@@ -862,6 +983,10 @@ interface Style {
|
|
|
862
983
|
* It enables the recommended rules for this group
|
|
863
984
|
*/
|
|
864
985
|
recommended?: boolean;
|
|
986
|
+
/**
|
|
987
|
+
* Enforce the use of as const over literal type and type annotation.
|
|
988
|
+
*/
|
|
989
|
+
useAsConstAssertion?: RuleConfiguration;
|
|
865
990
|
/**
|
|
866
991
|
* Requires following curly brace conventions.
|
|
867
992
|
*/
|
|
@@ -910,6 +1035,10 @@ interface Style {
|
|
|
910
1035
|
* When expressing array types, this rule promotes the usage of T[] shorthand instead of Array<T>.
|
|
911
1036
|
*/
|
|
912
1037
|
useShorthandArrayType?: RuleConfiguration;
|
|
1038
|
+
/**
|
|
1039
|
+
* Require assignment operator shorthand where possible.
|
|
1040
|
+
*/
|
|
1041
|
+
useShorthandAssign?: RuleConfiguration;
|
|
913
1042
|
/**
|
|
914
1043
|
* Enforces switch clauses have a single statement, emits a quick fix wrapping the statements in a block.
|
|
915
1044
|
*/
|
|
@@ -932,6 +1061,10 @@ interface Suspicious {
|
|
|
932
1061
|
* It enables ALL rules for this group.
|
|
933
1062
|
*/
|
|
934
1063
|
all?: boolean;
|
|
1064
|
+
/**
|
|
1065
|
+
* 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.
|
|
1066
|
+
*/
|
|
1067
|
+
noApproximativeNumericConstant?: RuleConfiguration;
|
|
935
1068
|
/**
|
|
936
1069
|
* Discourage the usage of Array index in keys.
|
|
937
1070
|
*/
|
|
@@ -1044,6 +1177,14 @@ interface Suspicious {
|
|
|
1044
1177
|
* Disallow labels that share a name with a variable
|
|
1045
1178
|
*/
|
|
1046
1179
|
noLabelVar?: RuleConfiguration;
|
|
1180
|
+
/**
|
|
1181
|
+
* Enforce proper usage of new and constructor.
|
|
1182
|
+
*/
|
|
1183
|
+
noMisleadingInstantiator?: RuleConfiguration;
|
|
1184
|
+
/**
|
|
1185
|
+
* Disallow shorthand assign when variable appears on both sides.
|
|
1186
|
+
*/
|
|
1187
|
+
noMisrefactoredShorthandAssign?: RuleConfiguration;
|
|
1047
1188
|
/**
|
|
1048
1189
|
* Disallow direct use of Object.prototype builtins.
|
|
1049
1190
|
*/
|
|
@@ -1119,6 +1260,10 @@ interface OverrideFormatterConfiguration {
|
|
|
1119
1260
|
* The size of the indentation, 2 by default
|
|
1120
1261
|
*/
|
|
1121
1262
|
indentWidth?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* The type of line ending.
|
|
1265
|
+
*/
|
|
1266
|
+
lineEnding?: LineEnding;
|
|
1122
1267
|
/**
|
|
1123
1268
|
* What's the max width of a line. Defaults to 80.
|
|
1124
1269
|
*/
|
|
@@ -1148,15 +1293,27 @@ interface RuleWithOptions {
|
|
|
1148
1293
|
}
|
|
1149
1294
|
type PossibleOptions =
|
|
1150
1295
|
| ComplexityOptions
|
|
1296
|
+
| FilenamingConventionOptions
|
|
1151
1297
|
| HooksOptions
|
|
1152
1298
|
| NamingConventionOptions
|
|
1153
|
-
| RestrictedGlobalsOptions
|
|
1299
|
+
| RestrictedGlobalsOptions
|
|
1300
|
+
| ValidAriaRoleOptions;
|
|
1154
1301
|
interface ComplexityOptions {
|
|
1155
1302
|
/**
|
|
1156
1303
|
* The maximum complexity score that we allow. Anything higher is considered excessive.
|
|
1157
1304
|
*/
|
|
1158
1305
|
maxAllowedComplexity: number;
|
|
1159
1306
|
}
|
|
1307
|
+
interface FilenamingConventionOptions {
|
|
1308
|
+
/**
|
|
1309
|
+
* Allowed cases for _TypeScript_ `enum` member names.
|
|
1310
|
+
*/
|
|
1311
|
+
filenameCases: FilenameCases;
|
|
1312
|
+
/**
|
|
1313
|
+
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
|
|
1314
|
+
*/
|
|
1315
|
+
strictCase: boolean;
|
|
1316
|
+
}
|
|
1160
1317
|
interface HooksOptions {
|
|
1161
1318
|
/**
|
|
1162
1319
|
* List of safe hooks
|
|
@@ -1179,6 +1336,11 @@ interface RestrictedGlobalsOptions {
|
|
|
1179
1336
|
*/
|
|
1180
1337
|
deniedGlobals?: string[];
|
|
1181
1338
|
}
|
|
1339
|
+
interface ValidAriaRoleOptions {
|
|
1340
|
+
allowedInvalidRoles: string[];
|
|
1341
|
+
ignoreNonDom: boolean;
|
|
1342
|
+
}
|
|
1343
|
+
type FilenameCases = FilenameCase[];
|
|
1182
1344
|
interface Hooks {
|
|
1183
1345
|
/**
|
|
1184
1346
|
* The "position" of the closure function, starting from zero.
|
|
@@ -1196,6 +1358,11 @@ interface Hooks {
|
|
|
1196
1358
|
name: string;
|
|
1197
1359
|
}
|
|
1198
1360
|
type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase";
|
|
1361
|
+
type FilenameCase = "camelCase" | "export" | "kebab-case" | "snake_case";
|
|
1362
|
+
interface ProjectFeaturesParams {
|
|
1363
|
+
manifest_path: RomePath;
|
|
1364
|
+
}
|
|
1365
|
+
interface ProjectFeaturesResult {}
|
|
1199
1366
|
interface OpenFileParams {
|
|
1200
1367
|
content: string;
|
|
1201
1368
|
language_hint?: Language;
|
|
@@ -1209,6 +1376,7 @@ type Language =
|
|
|
1209
1376
|
| "TypeScriptReact"
|
|
1210
1377
|
| "Json"
|
|
1211
1378
|
| "Jsonc"
|
|
1379
|
+
| "Css"
|
|
1212
1380
|
| "Unknown";
|
|
1213
1381
|
interface ChangeFileParams {
|
|
1214
1382
|
content: string;
|
|
@@ -1275,6 +1443,7 @@ type Category =
|
|
|
1275
1443
|
| "lint/a11y/noBlankTarget"
|
|
1276
1444
|
| "lint/a11y/noDistractingElements"
|
|
1277
1445
|
| "lint/a11y/noHeaderScope"
|
|
1446
|
+
| "lint/a11y/noInteractiveElementToNoninteractiveRole"
|
|
1278
1447
|
| "lint/a11y/noNoninteractiveElementToInteractiveRole"
|
|
1279
1448
|
| "lint/a11y/noNoninteractiveTabindex"
|
|
1280
1449
|
| "lint/a11y/noPositiveTabindex"
|
|
@@ -1283,6 +1452,7 @@ type Category =
|
|
|
1283
1452
|
| "lint/a11y/noSvgWithoutTitle"
|
|
1284
1453
|
| "lint/a11y/useAltText"
|
|
1285
1454
|
| "lint/a11y/useAnchorContent"
|
|
1455
|
+
| "lint/a11y/useAriaActivedescendantWithTabindex"
|
|
1286
1456
|
| "lint/a11y/useAriaPropsForRole"
|
|
1287
1457
|
| "lint/a11y/useButtonType"
|
|
1288
1458
|
| "lint/a11y/useHeadingContent"
|
|
@@ -1301,6 +1471,7 @@ type Category =
|
|
|
1301
1471
|
| "lint/complexity/noForEach"
|
|
1302
1472
|
| "lint/complexity/noMultipleSpacesInRegularExpressionLiterals"
|
|
1303
1473
|
| "lint/complexity/noStaticOnlyClass"
|
|
1474
|
+
| "lint/complexity/noThisInStatic"
|
|
1304
1475
|
| "lint/complexity/noUselessCatch"
|
|
1305
1476
|
| "lint/complexity/noUselessConstructor"
|
|
1306
1477
|
| "lint/complexity/noUselessEmptyExport"
|
|
@@ -1312,6 +1483,7 @@ type Category =
|
|
|
1312
1483
|
| "lint/complexity/noUselessTypeConstraint"
|
|
1313
1484
|
| "lint/complexity/noVoid"
|
|
1314
1485
|
| "lint/complexity/noWith"
|
|
1486
|
+
| "lint/complexity/useArrowFunction"
|
|
1315
1487
|
| "lint/complexity/useFlatMap"
|
|
1316
1488
|
| "lint/complexity/useLiteralKeys"
|
|
1317
1489
|
| "lint/complexity/useOptionalChain"
|
|
@@ -1321,10 +1493,12 @@ type Category =
|
|
|
1321
1493
|
| "lint/correctness/noConstAssign"
|
|
1322
1494
|
| "lint/correctness/noConstantCondition"
|
|
1323
1495
|
| "lint/correctness/noConstructorReturn"
|
|
1496
|
+
| "lint/correctness/noEmptyCharacterClassInRegex"
|
|
1324
1497
|
| "lint/correctness/noEmptyPattern"
|
|
1325
1498
|
| "lint/correctness/noGlobalObjectCalls"
|
|
1326
1499
|
| "lint/correctness/noInnerDeclarations"
|
|
1327
1500
|
| "lint/correctness/noInvalidConstructorSuper"
|
|
1501
|
+
| "lint/correctness/noInvalidNewBuiltin"
|
|
1328
1502
|
| "lint/correctness/noNewSymbol"
|
|
1329
1503
|
| "lint/correctness/noNonoctalDecimalEscape"
|
|
1330
1504
|
| "lint/correctness/noPrecisionLoss"
|
|
@@ -1349,24 +1523,30 @@ type Category =
|
|
|
1349
1523
|
| "lint/correctness/useValidForDirection"
|
|
1350
1524
|
| "lint/correctness/useYield"
|
|
1351
1525
|
| "lint/nursery/noApproximativeNumericConstant"
|
|
1526
|
+
| "lint/nursery/noAriaHiddenOnFocusable"
|
|
1527
|
+
| "lint/nursery/noDefaultExport"
|
|
1352
1528
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1353
1529
|
| "lint/nursery/noEmptyBlockStatements"
|
|
1354
|
-
| "lint/nursery/
|
|
1355
|
-
| "lint/nursery/
|
|
1356
|
-
| "lint/nursery/
|
|
1357
|
-
| "lint/nursery/
|
|
1358
|
-
| "lint/nursery/
|
|
1359
|
-
| "lint/nursery/noThisInStatic"
|
|
1530
|
+
| "lint/nursery/noImplicitAnyLet"
|
|
1531
|
+
| "lint/nursery/noInvalidUseBeforeDeclaration"
|
|
1532
|
+
| "lint/nursery/noMisleadingCharacterClass"
|
|
1533
|
+
| "lint/nursery/noNodejsModules"
|
|
1534
|
+
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
1360
1535
|
| "lint/nursery/noUnusedImports"
|
|
1361
|
-
| "lint/nursery/
|
|
1536
|
+
| "lint/nursery/noUnusedPrivateClassMembers"
|
|
1362
1537
|
| "lint/nursery/noUselessLoneBlockStatements"
|
|
1363
|
-
| "lint/nursery/
|
|
1364
|
-
| "lint/nursery/
|
|
1365
|
-
| "lint/nursery/useAsConstAssertion"
|
|
1538
|
+
| "lint/nursery/noUselessTernary"
|
|
1539
|
+
| "lint/nursery/useAwait"
|
|
1366
1540
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
1541
|
+
| "lint/nursery/useExportType"
|
|
1542
|
+
| "lint/nursery/useFilenamingConvention"
|
|
1543
|
+
| "lint/nursery/useForOf"
|
|
1367
1544
|
| "lint/nursery/useGroupedTypeImport"
|
|
1368
1545
|
| "lint/nursery/useImportRestrictions"
|
|
1369
|
-
| "lint/nursery/
|
|
1546
|
+
| "lint/nursery/useNodeImportProtocol"
|
|
1547
|
+
| "lint/nursery/useRegexLiterals"
|
|
1548
|
+
| "lint/nursery/useShorthandFunctionType"
|
|
1549
|
+
| "lint/nursery/useValidAriaRole"
|
|
1370
1550
|
| "lint/performance/noAccumulatingSpread"
|
|
1371
1551
|
| "lint/performance/noDelete"
|
|
1372
1552
|
| "lint/security/noDangerouslySetInnerHtml"
|
|
@@ -1383,7 +1563,9 @@ type Category =
|
|
|
1383
1563
|
| "lint/style/noRestrictedGlobals"
|
|
1384
1564
|
| "lint/style/noShoutyConstants"
|
|
1385
1565
|
| "lint/style/noUnusedTemplateLiteral"
|
|
1566
|
+
| "lint/style/noUselessElse"
|
|
1386
1567
|
| "lint/style/noVar"
|
|
1568
|
+
| "lint/style/useAsConstAssertion"
|
|
1387
1569
|
| "lint/style/useBlockStatements"
|
|
1388
1570
|
| "lint/style/useCollapsedElseIf"
|
|
1389
1571
|
| "lint/style/useConst"
|
|
@@ -1396,10 +1578,12 @@ type Category =
|
|
|
1396
1578
|
| "lint/style/useNumericLiterals"
|
|
1397
1579
|
| "lint/style/useSelfClosingElements"
|
|
1398
1580
|
| "lint/style/useShorthandArrayType"
|
|
1581
|
+
| "lint/style/useShorthandAssign"
|
|
1399
1582
|
| "lint/style/useSingleCaseStatement"
|
|
1400
1583
|
| "lint/style/useSingleVarDeclarator"
|
|
1401
1584
|
| "lint/style/useTemplate"
|
|
1402
1585
|
| "lint/style/useWhile"
|
|
1586
|
+
| "lint/suspicious/noApproximativeNumericConstant"
|
|
1403
1587
|
| "lint/suspicious/noArrayIndexKey"
|
|
1404
1588
|
| "lint/suspicious/noAssignInExpressions"
|
|
1405
1589
|
| "lint/suspicious/noAsyncPromiseExecutor"
|
|
@@ -1428,6 +1612,8 @@ type Category =
|
|
|
1428
1612
|
| "lint/suspicious/noGlobalIsNan"
|
|
1429
1613
|
| "lint/suspicious/noImportAssign"
|
|
1430
1614
|
| "lint/suspicious/noLabelVar"
|
|
1615
|
+
| "lint/suspicious/noMisleadingInstantiator"
|
|
1616
|
+
| "lint/suspicious/noMisrefactoredShorthandAssign"
|
|
1431
1617
|
| "lint/suspicious/noPrototypeBuiltins"
|
|
1432
1618
|
| "lint/suspicious/noRedeclare"
|
|
1433
1619
|
| "lint/suspicious/noRedundantUseStrict"
|
|
@@ -1449,11 +1635,13 @@ type Category =
|
|
|
1449
1635
|
| "organizeImports"
|
|
1450
1636
|
| "migrate"
|
|
1451
1637
|
| "deserialize"
|
|
1638
|
+
| "project"
|
|
1452
1639
|
| "internalError/io"
|
|
1453
1640
|
| "internalError/fs"
|
|
1454
1641
|
| "internalError/panic"
|
|
1455
1642
|
| "parse"
|
|
1456
1643
|
| "parse/noSuperWithoutExtends"
|
|
1644
|
+
| "parse/noInitializerWithDefinite"
|
|
1457
1645
|
| "parse/noDuplicatePrivateClassMembers"
|
|
1458
1646
|
| "lint"
|
|
1459
1647
|
| "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.22dd4e1","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"]}
|