build: add biome formatter and linter

This commit is contained in:
2026-03-23 08:17:27 +05:30
parent 068db04355
commit 7a164c705c
21 changed files with 1620 additions and 510 deletions
+5 -1
View File
@@ -22,7 +22,10 @@
"coverage": "bun test --coverage",
"prepublishOnly": "bun run build",
"release": "bash ./scripts/release.sh",
"setup": "bash ./scripts/setup.sh"
"setup": "bash ./scripts/setup.sh",
"lint": "biome check .",
"lint:fix": "biome check . --fix",
"format": "biome format . --write"
},
"dependencies": {
"chalk": "^5.3.0",
@@ -30,6 +33,7 @@
"commander": "^12.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.8",
"@types/bun": "^1.3.10",
"@types/node": "^25.5.0"
},