Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsx-no-target-blank false positive #2549

Closed
jahirfiquitiva opened this issue Jan 22, 2020 · 1 comment
Closed

jsx-no-target-blank false positive #2549

jahirfiquitiva opened this issue Jan 22, 2020 · 1 comment

Comments

@jahirfiquitiva
Copy link

jahirfiquitiva commented Jan 22, 2020

I have enabled react/jsx-curly-brace-presence but now the react/jsx-no-target-blank rules is considering the following snippet as error:

<a className={'App-link'}
         href={'https://reactjs.org'}
         target={'_blank'}
         rel={'noopener noreferrer'}>Learn React</a>

What can I do to fix it so it doesn't consider it an error?

@ljharb
Copy link
Member

ljharb commented Jan 23, 2020

Duplicate of #2508; will be solved by #2544.

@ljharb ljharb closed this as completed Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants