Refactor ESLint configuration and update code formatting: Standardize quotes in eslint.config.mjs, next.config.js, and various TypeScript files for consistency. Add Prettier as a dependency and include formatting scripts in package.json. Clean up unnecessary whitespace in multiple files to enhance code readability.

This commit is contained in:
Julien Froidefond
2025-12-10 11:30:00 +01:00
parent 66237458ec
commit d11059dac2
52 changed files with 9075 additions and 6140 deletions

View File

@@ -7,6 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "eslint . --ext .ts,.tsx",
"format": "prettier --write .",
"format:check": "prettier --check .",
"db:seed": "tsx prisma/seed.ts"
},
"prisma": {
@@ -38,6 +40,7 @@
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.5.0",
"postcss": "^8.4.40",
"prettier": "^3.7.4",
"prisma": "^7.1.0",
"tailwindcss": "^3.4.7",
"tsx": "^4.21.0",