From a6f39e861c9981ea36864ebac90ea4c52863b9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Mon, 22 Jan 2024 10:08:01 +0100 Subject: [PATCH] fix(create-vite): turn off `react/jsx-no-target-blank` ESLint rule in React JS template (#15672) --- packages/create-vite/template-react/.eslintrc.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-vite/template-react/.eslintrc.cjs b/packages/create-vite/template-react/.eslintrc.cjs index 4dcb43901a687f..3e212e1d4307a3 100644 --- a/packages/create-vite/template-react/.eslintrc.cjs +++ b/packages/create-vite/template-react/.eslintrc.cjs @@ -12,6 +12,7 @@ module.exports = { settings: { react: { version: '18.2' } }, plugins: ['react-refresh'], rules: { + 'react/jsx-no-target-blank': 'off', 'react-refresh/only-export-components': [ 'warn', { allowConstantExport: true },