From f337eb50de35397afc4d125aac3373b6b603cfaf Mon Sep 17 00:00:00 2001 From: semnil5202 Date: Sun, 23 Jun 2024 00:07:39 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20eslint=20extends=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/eslint-config/library.js | 2 +- packages/core/eslint-config/react-internal.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/eslint-config/library.js b/packages/core/eslint-config/library.js index 058f4efd..670e242f 100644 --- a/packages/core/eslint-config/library.js +++ b/packages/core/eslint-config/library.js @@ -4,7 +4,7 @@ const project = resolve(process.cwd(), 'tsconfig.json'); /** @type {import("eslint").Linter.Config} */ module.exports = { - extends: ['eslint:recommended', 'prettier', 'turbo'], + extends: ['eslint:recommended', 'plugin:react/recommended', 'prettier', 'turbo'], plugins: ['@typescript-eslint', 'only-warn', 'import'], globals: { React: true, diff --git a/packages/core/eslint-config/react-internal.js b/packages/core/eslint-config/react-internal.js index eb58b814..2bbecb3d 100644 --- a/packages/core/eslint-config/react-internal.js +++ b/packages/core/eslint-config/react-internal.js @@ -4,7 +4,7 @@ const project = resolve(process.cwd(), 'tsconfig.json'); /** @type {import("eslint").Linter.Config} */ module.exports = { - extends: ['eslint:recommended', 'prettier', 'turbo'], + extends: ['eslint:recommended', 'plugin:react/recommended', 'prettier', 'turbo'], plugins: ['@typescript-eslint', 'only-warn', 'import'], globals: { React: true,