Skip to content

Commit 42322d7

Browse files
[internal] Disable react/jsx-no-target-blank
1 parent 3a35f7d commit 42322d7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

eslint.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ export default defineConfig(
141141
// turn off global react compiler plugin as it's controlled per package on this repo
142142
'react-compiler/react-compiler': 'off',
143143
'react/react-in-jsx-scope': 'off',
144+
145+
// Modern browsers imply rel="noopener" for target="_blank", so no rel is required.
146+
// See https://github.com/mui/material-ui/pull/40447
147+
// TODO move to mui/mui-public.
148+
'react/jsx-no-target-blank': 'off',
149+
144150
'import/no-relative-packages': 'error',
145151
'import/no-restricted-paths': [
146152
'error',

0 commit comments

Comments
 (0)