Refactor ESLint configuration and update lint scripts

- Reorganized `eslint.config.mjs` imports for clarity and consistency.
- Simplified eslint ignores by standardizing patterns and removing redundant file extensions.
- Updated lint scripts in `package.json` to use `eslint` directly, replacing `next lint`.
This commit is contained in:
2025-11-10 10:48:24 +01:00
parent 2169618bc8
commit c8f90e9e8c
2 changed files with 33 additions and 29 deletions

View File

@@ -6,8 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:tests": "eslint tests --max-warnings=0",
"type-check": "tsc --noEmit",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
@@ -61,7 +61,6 @@
"zustand": "^4.5.7"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@hey-api/openapi-ts": "^0.86.11",
"@next/bundle-analyzer": "^16.0.1",
"@peculiar/webcrypto": "^1.5.0",