create-react-app
create-react-app copied to clipboard
Incorrect script tag detection on span tag
Is this a bug report?
Yes
Take the following line of JSX:
<span className="medium-bold">JavaScript:</span>Competent
According to CRA:
Line 30: Script URL is a form of eval no-script-url
The aforementioned line of JSX is line 30, I can understand the mistake CRA made, it includes the word JavaScript. But this isn't a script tag.
I've tried reproducing this with other tags, but it only appears on line 30 in the span tag.
Sounds like a bug in the ESLint rule.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs.