update next and lint
This commit is contained in:
parent
d9a8d171fb
commit
87e7e4b53c
@ -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
1
package-lock.json
generated
@ -30,7 +30,6 @@
|
||||
"zustand": "^5.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^19",
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user