chore: use biome check instead of separate lint and format commands (#4320)

This commit is contained in:
Fleny
2025-08-20 16:03:42 -04:00
committed by GitHub
parent 49a8cd1aa6
commit d5b2974d9f
13 changed files with 21 additions and 36 deletions
+1 -2
View File
@@ -22,8 +22,7 @@
"build": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist/esm && swc --strip-leading-paths --delete-dir-on-start src --out-dir dist/cjs -C module.type=commonjs && node ../../scripts/fixCjsExtension.js",
"build:type": "tsc --skipDefaultLibCheck --declaration --emitDeclarationOnly --declarationDir dist/types",
"release-build": "yarn build && yarn build:type",
"fmt": "biome format --write",
"lint": "biome lint --write",
"check": "biome check --write",
"test:unit-coverage": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit": "c8 --r lcov mocha --no-warnings 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js utils",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",