You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
29:11 Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener
27 | href={'https://www.gatsbyjs.org'}
28 | aria-label={'Gatsby.js - Blazing fast modern site generator for React'}
> 29 | target={'_blank'}
| ^
30 | rel={'noopener noreferrer'}
31 | >
32 | Gatsby
30:15 Need to wrap this literal in a JSX expression.
28 | aria-label={'Gatsby.js - Blazing fast modern site generator for React'}
29 | target={'_blank'}
> 30 | rel='noopener noreferrer'
| ^
31 | >
32 | Gatsby
33 | </a>
The text was updated successfully, but these errors were encountered:
Looks like jsx-no-target-blank could add an exception for a string literal inside curly braces. (i suspect nobody ran into it since a curly-brace-presence of always for props is an exceedingly rare convention)
eslint: 6.7.2
eslint-plugin-react: 7.17.0
eslint config: https://gist.github.com/robertgorbul/414e99899a12b56fef8d6ec9db4bf72e
The text was updated successfully, but these errors were encountered: