From 13da8a087ede8ffe7541fa2b9f49a49da0e849d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Mon, 27 Oct 2025 15:29:48 +0100 Subject: [PATCH 1/2] chore: Run `npx @next/codemod@15.5.6 next-lint-to-eslint-cli` And `npx prettier . --write` after. --- eslint.config.mjs | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index c60eb4d1..9d07618a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,6 +12,15 @@ const compat = new FlatCompat({ }); export default [ + { + ignores: [ + "node_modules/**", + ".next/**", + "out/**", + "build/**", + "next-env.d.ts", + ], + }, ...compat.extends( "prettier", "eslint:recommended", diff --git a/package.json b/package.json index b8964e09..16d7e8b5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "eslint ." }, "dependencies": { "@mantine/charts": "^8.3.6", From 85e14b5869192ba6d7988fc22d35299eb8fea0b6 Mon Sep 17 00:00:00 2001 From: Daniel Jacobs Date: Tue, 28 Oct 2025 15:40:21 -0400 Subject: [PATCH 2/2] chore: Specify some configuration files as CommonJS --- eslint.config.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 9d07618a..e2ffb87d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -27,4 +27,10 @@ export default [ "plugin:@typescript-eslint/recommended", "plugin:@next/next/core-web-vitals", ), + { + files: ["postcss.config.js", "next.config.js"], + languageOptions: { + sourceType: "commonjs", + }, + }, ];