From e8f0fd2538733b9cb27dc35f908e2fbeb73ddf66 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Wed, 1 Apr 2026 12:36:39 -0700 Subject: [PATCH] feat: migrate to ESLint flat config (eslint.config.js) - Created eslint.config.js using the new flat config format - Removed .eslintrc.json (old format no longer supported in ESLint v9+) - Maintained same configuration as before (next/core-web-vitals, next/typescript) - Kept same ignore patterns --- .eslintrc.json | 10 ---------- eslint.config.js | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 10 deletions(-) delete mode 100644 .eslintrc.json create mode 100644 eslint.config.js diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 65ecf95..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": ["next/core-web-vitals", "next/typescript"], - "ignorePatterns": [ - ".next", - "out", - "build", - "next-env.d.ts", - "src/app/test-api/**" - ] -} diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..9067198 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,14 @@ +import next from 'eslint-config-next'; + +export default [ + { + ignores: [ + '.next', + 'out', + 'build', + 'next-env.d.ts', + 'src/app/test-api/**', + ], + }, + ...next, +];