update next and lint

This commit is contained in:
dev.daminik00 2025-10-30 01:29:21 +01:00
parent d9a8d171fb
commit 87e7e4b53c
3 changed files with 83 additions and 78 deletions

View File

@ -16,7 +16,6 @@ const compat = new FlatCompat({
const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
{
plugins: {
import: eslintPluginImport,
@ -104,7 +103,15 @@ const eslintConfig = [
"eol-last": "error",
"no-trailing-spaces": "error",
},
},
];
}, {
ignores: [
"node_modules/**",
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
"public/metrics-scripts/**"
]
}];
export default eslintConfig;

1
package-lock.json generated
View File

@ -30,7 +30,6 @@
"zustand": "^5.0.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@svgr/webpack": "^8.1.0",
"@types/node": "^20",
"@types/react": "^19",

View File

@ -6,8 +6,8 @@
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start -p 3001",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit"
@ -35,7 +35,6 @@
"zustand": "^5.0.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@svgr/webpack": "^8.1.0",
"@types/node": "^20",
"@types/react": "^19",