add eslint and prettier

This commit is contained in:
StarAppeal
2025-09-25 02:39:54 +02:00
parent 2e06562af9
commit e935ba66f3
4 changed files with 1312 additions and 3 deletions
+9 -2
View File
@@ -9,7 +9,10 @@
"build": "tsc --project tsconfig.json",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage"
"test:coverage": "vitest run --coverage",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix"
},
"keywords": [],
"author": "",
@@ -44,9 +47,13 @@
"@types/cors": "^2.8.17",
"@types/multer": "^2.0.0",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"prettier": "^3.2.5",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.6.2",
"supertest": "^7.1.4",
"ts-node-dev": "^2.0.0",
"vite": "^7.1.7",