Update ESLint configuration and dependencies: Change lint script in package.json to use eslint directly with TypeScript extensions. Add new ESLint dependencies including @eslint/js, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser to enhance code quality and maintainability. Update pnpm-lock.yaml to reflect these changes and ensure consistent package management.

This commit is contained in:
Julien Froidefond
2025-12-10 06:00:04 +01:00
parent 88d377e7b2
commit 13b8971cc7
4 changed files with 2917 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint": "eslint . --ext .ts,.tsx",
"db:seed": "tsx prisma/seed.ts"
},
"prisma": {
@@ -23,12 +23,20 @@
"react-dom": "^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/bcryptjs": "^3.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"autoprefixer": "^10.4.19",
"eslint": "^9.39.1",
"eslint-config-next": "^16.0.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.5.0",
"postcss": "^8.4.40",
"prisma": "^7.1.0",
"tailwindcss": "^3.4.7",