build: replace tslint with Biome for code quality

- Add @biomejs/biome as dev dependency
- Remove deprecated tslint dependency
- Add biome.json with project-specific rules
- Update lint script to use Biome
- Apply Biome auto-fixes across codebase
This commit is contained in:
jeffusion
2026-03-03 17:03:23 +08:00
parent 6f389fc1a9
commit 318e6d3688
43 changed files with 1005 additions and 619 deletions

View File

@@ -17,10 +17,10 @@
"zod-to-json-schema": "^3.25.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.10",
"concurrently": "^9.2.1",
"tslint": "^6.1.3",
"typescript": "^5.8.2"
},
"files": [
@@ -35,7 +35,7 @@
"build": "rm -rf dist && tsc",
"start": "bun run src/index.ts",
"start:prod": "bun run dist/index.js",
"lint": "tslint -c tslint.json src/**/*.ts",
"lint": "biome check src/",
"test": "bun test"
},
"keywords": [