Skip to content

Commit a6f39e8

Browse files
authored
fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in React JS template (#15672)
1 parent 09b1517 commit a6f39e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/create-vite/template-react/.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
settings: { react: { version: '18.2' } },
1313
plugins: ['react-refresh'],
1414
rules: {
15+
'react/jsx-no-target-blank': 'off',
1516
'react-refresh/only-export-components': [
1617
'warn',
1718
{ allowConstantExport: true },

0 commit comments

Comments
 (0)