From c186de0de39dd91ea948d96ea360c02eab4fae48 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Wed, 14 Feb 2024 20:42:05 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20chore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- interface/eslint.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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/**"],