upgrade: 1st pass upgrade to Next.js v16

This commit is contained in:
2026-09-28 20:59:11 +02:00
parent abb766c2ae
commit d57fa83aca
26 changed files with 1101 additions and 2313 deletions
+33
View File
@@ -0,0 +1,33 @@
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
import prettier from "eslint-config-prettier";
import reactHooks from "eslint-plugin-react-hooks";
import tseslint from "typescript-eslint";
export default [
{
ignores: [
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
"public/sw.js",
"public/workbox-*.js",
"public/swe-worker-*.js",
],
},
...nextCoreWebVitals,
{
plugins: {
"@typescript-eslint": tseslint.plugin,
"react-hooks": reactHooks,
},
rules: {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-unused-expressions": "warn",
"react-hooks/immutability": "warn",
"react-hooks/refs": "warn",
"react-hooks/set-state-in-effect": "warn",
},
},
prettier,
];