diff --git a/interface/eslint.config.js b/interface/eslint.config.js index 903559a7..d7431cf4 100644 --- a/interface/eslint.config.js +++ b/interface/eslint.config.js @@ -19,7 +19,7 @@ module.exports = tseslint.config( plugins: { "@typescript-eslint": tseslint.plugin, "@next/next": next, - "react": react, + react: react, "react-hooks": hooks, }, rules: { @@ -27,6 +27,13 @@ module.exports = tseslint.config( ...react.configs["jsx-runtime"].rules, ...hooks.configs.recommended.rules, }, + languageOptions: { + ecmaVersion: "latest", + parser: tseslint.parser, + parserOptions: { + project: true, + }, + }, }, { ignores: ["node_modules/**", ".next/**", "next-env.d.ts", "dist/**"],