From 18ffd531a354a3fbf617a8d8bc619dcce344a4ae Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Mon, 16 Dec 2024 09:35:53 +0900 Subject: [PATCH] chore(.eslintrc.json): remove unnecessary elements from the plugins, add react/jsx-runtime (#1013) --- .eslintrc.json | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 49a90a58..ba883a4c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,22 +8,13 @@ "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", + "plugin:react/jsx-runtime", "plugin:react-hooks/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:prettier/recommended" ], - "plugins": [ - "@typescript-eslint", - "react", - "prettier", - "react-hooks", - "import", - "@vitest", - "jest-dom", - "testing-library", - "react-compiler" - ], + "plugins": ["react-compiler"], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2018, @@ -77,8 +68,6 @@ "pathGroupsExcludedImportTypes": ["builtin"] } ], - "react/jsx-uses-react": "off", - "react/react-in-jsx-scope": "off", "sort-imports": [ "error", {