@biomejs/wasm-nodejs 1.4.0 → 1.4.1-nightly.570d680
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 +25 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -753,6 +753,10 @@ interface Nursery {
|
|
|
753
753
|
* Disallow use of implicit any type on variable declarations.
|
|
754
754
|
*/
|
|
755
755
|
noImplicitAnyLet?: RuleConfiguration;
|
|
756
|
+
/**
|
|
757
|
+
* Disallow characters made with multiple code points in character class syntax.
|
|
758
|
+
*/
|
|
759
|
+
noMisleadingCharacterClass?: RuleConfiguration;
|
|
756
760
|
/**
|
|
757
761
|
* Disallow unused imports.
|
|
758
762
|
*/
|
|
@@ -765,6 +769,10 @@ interface Nursery {
|
|
|
765
769
|
* Disallow unnecessary nested block statements.
|
|
766
770
|
*/
|
|
767
771
|
noUselessLoneBlockStatements?: RuleConfiguration;
|
|
772
|
+
/**
|
|
773
|
+
* Disallow ternary operators when simpler alternatives exist.
|
|
774
|
+
*/
|
|
775
|
+
noUselessTernary?: RuleConfiguration;
|
|
768
776
|
/**
|
|
769
777
|
* It enables the recommended rules for this group
|
|
770
778
|
*/
|
|
@@ -773,6 +781,14 @@ interface Nursery {
|
|
|
773
781
|
* Ensure async functions utilize await.
|
|
774
782
|
*/
|
|
775
783
|
useAwait?: RuleConfiguration;
|
|
784
|
+
/**
|
|
785
|
+
* Promotes the use of export type for types.
|
|
786
|
+
*/
|
|
787
|
+
useExportType?: RuleConfiguration;
|
|
788
|
+
/**
|
|
789
|
+
* This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
|
|
790
|
+
*/
|
|
791
|
+
useForOf?: RuleConfiguration;
|
|
776
792
|
/**
|
|
777
793
|
* Enforce the use of import type when an import only has specifiers with type qualifier.
|
|
778
794
|
*/
|
|
@@ -785,6 +801,10 @@ interface Nursery {
|
|
|
785
801
|
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
|
|
786
802
|
*/
|
|
787
803
|
useRegexLiterals?: RuleConfiguration;
|
|
804
|
+
/**
|
|
805
|
+
* Enforce using function types instead of object type with call signatures.
|
|
806
|
+
*/
|
|
807
|
+
useShorthandFunctionType?: RuleConfiguration;
|
|
788
808
|
/**
|
|
789
809
|
* Elements with ARIA roles must use a valid, non-abstract ARIA role.
|
|
790
810
|
*/
|
|
@@ -1422,14 +1442,19 @@ type Category =
|
|
|
1422
1442
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1423
1443
|
| "lint/nursery/noEmptyBlockStatements"
|
|
1424
1444
|
| "lint/nursery/noImplicitAnyLet"
|
|
1445
|
+
| "lint/nursery/noMisleadingCharacterClass"
|
|
1425
1446
|
| "lint/nursery/noUnusedImports"
|
|
1426
1447
|
| "lint/nursery/noUnusedPrivateClassMembers"
|
|
1427
1448
|
| "lint/nursery/noUselessLoneBlockStatements"
|
|
1449
|
+
| "lint/nursery/noUselessTernary"
|
|
1428
1450
|
| "lint/nursery/useAwait"
|
|
1429
1451
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
1452
|
+
| "lint/nursery/useExportType"
|
|
1453
|
+
| "lint/nursery/useForOf"
|
|
1430
1454
|
| "lint/nursery/useGroupedTypeImport"
|
|
1431
1455
|
| "lint/nursery/useImportRestrictions"
|
|
1432
1456
|
| "lint/nursery/useRegexLiterals"
|
|
1457
|
+
| "lint/nursery/useShorthandFunctionType"
|
|
1433
1458
|
| "lint/nursery/useValidAriaRole"
|
|
1434
1459
|
| "lint/performance/noAccumulatingSpread"
|
|
1435
1460
|
| "lint/performance/noDelete"
|
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.4.
|
|
1
|
+
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.570d680","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"]}
|