Skip to content

Commit

Permalink
fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in…
Browse files Browse the repository at this point in the history
… React JS template (#15672)
  • Loading branch information
ArnaudBarre authored Jan 22, 2024
1 parent 09b1517 commit a6f39e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-vite/template-react/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit a6f39e8

Please sign in to comment.