create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Incorrect script tag detection on span tag

Open ozzie1998 opened this issue 8 years ago • 2 comments

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.

ozzie1998 avatar Sep 26 '18 10:09 ozzie1998

Sounds like a bug in the ESLint rule.

gaearon avatar Sep 26 '18 12:09 gaearon

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.

stale[bot] avatar Nov 02 '18 22:11 stale[bot]