📦 build: replace ESLint + Prettier with Biome

This commit is contained in:
2026-07-27 18:13:48 +07:00
parent c2bb65634e
commit ad17798a53
12 changed files with 121 additions and 223 deletions
+6 -8
View File
@@ -13,22 +13,20 @@
"winston": "3.19.0"
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"@types/bun": "^1.3.14",
"@types/node": "^26.0.1",
"@types/validator": "^13.15.10",
"eslint": "^10.6.0",
"husky": "^9.1.7",
"prettier": "^3.9.4",
"typescript": "^7.0.2",
"typescript-eslint": "^8.62.1"
"typescript": "^7.0.2"
},
"scripts": {
"prepare": "husky",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"check": "bun run typecheck && bun run format && bun run lint && bun run test",
"lint": "biome lint .",
"format": "biome format .",
"format:fix": "biome format --write .",
"check": "bun run typecheck && biome check . && bun run test",
"test": "bun test --isolate",
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",