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,