diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 05e726d..41b28c4 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -13,6 +13,15 @@ const eslintConfig = defineConfig([ "build/**", "next-env.d.ts", ]), + // Specify explicit React version to avoid eslint-plugin-react calling the + // removed context.getFilename() API when using version: 'detect' with ESLint 10. + { + settings: { + react: { + version: "19", + }, + }, + }, ]); export default eslintConfig;