@biomejs/wasm-nodejs 1.5.2 → 1.5.3-nightly.24fcf19
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 +29 -3
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -816,6 +816,10 @@ interface Nursery {
|
|
|
816
816
|
* Disallow empty type parameters in type aliases and interfaces.
|
|
817
817
|
*/
|
|
818
818
|
noEmptyTypeParameters?: RuleConfiguration;
|
|
819
|
+
/**
|
|
820
|
+
* Disallow focused tests.
|
|
821
|
+
*/
|
|
822
|
+
noFocusedTests?: RuleConfiguration;
|
|
819
823
|
/**
|
|
820
824
|
* Disallow assignments to native objects and read-only global variables.
|
|
821
825
|
*/
|
|
@@ -836,6 +840,10 @@ interface Nursery {
|
|
|
836
840
|
* Forbid the use of Node.js builtin modules.
|
|
837
841
|
*/
|
|
838
842
|
noNodejsModules?: RuleConfiguration;
|
|
843
|
+
/**
|
|
844
|
+
* Disallow disabled tests.
|
|
845
|
+
*/
|
|
846
|
+
noSkippedTests?: RuleConfiguration;
|
|
839
847
|
/**
|
|
840
848
|
* Disallow then property.
|
|
841
849
|
*/
|
|
@@ -904,6 +912,10 @@ interface Nursery {
|
|
|
904
912
|
* Enforce using function types instead of object type with call signatures.
|
|
905
913
|
*/
|
|
906
914
|
useShorthandFunctionType?: RuleConfiguration;
|
|
915
|
+
/**
|
|
916
|
+
* Enforce the sorting of CSS utility classes.
|
|
917
|
+
*/
|
|
918
|
+
useSortedClasses?: RuleConfiguration;
|
|
907
919
|
}
|
|
908
920
|
interface Performance {
|
|
909
921
|
/**
|
|
@@ -1330,7 +1342,8 @@ type PossibleOptions =
|
|
|
1330
1342
|
| DeprecatedHooksOptions
|
|
1331
1343
|
| NamingConventionOptions
|
|
1332
1344
|
| RestrictedGlobalsOptions
|
|
1333
|
-
| ValidAriaRoleOptions
|
|
1345
|
+
| ValidAriaRoleOptions
|
|
1346
|
+
| UtilityClassSortingOptions;
|
|
1334
1347
|
interface ComplexityOptions {
|
|
1335
1348
|
/**
|
|
1336
1349
|
* The maximum complexity score that we allow. Anything higher is considered excessive.
|
|
@@ -1371,12 +1384,22 @@ interface RestrictedGlobalsOptions {
|
|
|
1371
1384
|
/**
|
|
1372
1385
|
* A list of names that should trigger the rule
|
|
1373
1386
|
*/
|
|
1374
|
-
deniedGlobals
|
|
1387
|
+
deniedGlobals: string[];
|
|
1375
1388
|
}
|
|
1376
1389
|
interface ValidAriaRoleOptions {
|
|
1377
|
-
|
|
1390
|
+
allowInvalidRoles: string[];
|
|
1378
1391
|
ignoreNonDom: boolean;
|
|
1379
1392
|
}
|
|
1393
|
+
interface UtilityClassSortingOptions {
|
|
1394
|
+
/**
|
|
1395
|
+
* Additional attributes that will be sorted.
|
|
1396
|
+
*/
|
|
1397
|
+
attributes?: string[];
|
|
1398
|
+
/**
|
|
1399
|
+
* Names of the functions or tagged templates that will be sorted.
|
|
1400
|
+
*/
|
|
1401
|
+
functions?: string[];
|
|
1402
|
+
}
|
|
1380
1403
|
type ConsistentArrayType = "shorthand" | "generic";
|
|
1381
1404
|
type FilenameCases = FilenameCase[];
|
|
1382
1405
|
interface Hooks {
|
|
@@ -1572,11 +1595,13 @@ type Category =
|
|
|
1572
1595
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1573
1596
|
| "lint/nursery/noEmptyBlockStatements"
|
|
1574
1597
|
| "lint/nursery/noEmptyTypeParameters"
|
|
1598
|
+
| "lint/nursery/noFocusedTests"
|
|
1575
1599
|
| "lint/nursery/noGlobalAssign"
|
|
1576
1600
|
| "lint/nursery/noGlobalEval"
|
|
1577
1601
|
| "lint/nursery/noInvalidUseBeforeDeclaration"
|
|
1578
1602
|
| "lint/nursery/noMisleadingCharacterClass"
|
|
1579
1603
|
| "lint/nursery/noNodejsModules"
|
|
1604
|
+
| "lint/nursery/noSkippedTests"
|
|
1580
1605
|
| "lint/nursery/noThenProperty"
|
|
1581
1606
|
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
1582
1607
|
| "lint/nursery/noUnusedImports"
|
|
@@ -1595,6 +1620,7 @@ type Category =
|
|
|
1595
1620
|
| "lint/nursery/useNodejsImportProtocol"
|
|
1596
1621
|
| "lint/nursery/useNumberNamespace"
|
|
1597
1622
|
| "lint/nursery/useShorthandFunctionType"
|
|
1623
|
+
| "lint/nursery/useSortedClasses"
|
|
1598
1624
|
| "lint/performance/noAccumulatingSpread"
|
|
1599
1625
|
| "lint/performance/noDelete"
|
|
1600
1626
|
| "lint/security/noDangerouslySetInnerHtml"
|
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.5.
|
|
1
|
+
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.5.3-nightly.24fcf19","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"]}
|