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

1
package-lock.json generated
View File

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

View File

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