👷 ci: add eslint into the check script and CI matrix

This commit is contained in:
2026-07-01 13:22:32 +07:00
parent f6f7edeef6
commit 27f9f20729
4 changed files with 184 additions and 2 deletions
+5 -2
View File
@@ -16,16 +16,19 @@
"@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": "^6.0.3"
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.1"
},
"scripts": {
"prepare": "husky",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"check": "bun run typecheck && bun run format && bun test",
"check": "bun run typecheck && bun run format && bun run lint && bun test",
"test": "bun test",
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",