Opening links in a new tab
When using an a
tag with target='_blank'
, it is important to include the attribute rel='noreferrer noopener'
to protect yourself from security risks.
This article, "About rel=noopener" by Mathias Bynens, explains why.
This ESlint rule helps prevent accidentally forgetting to include the attribute in your JSX projects.