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
The no-eval directive is clearly required, but eslint --report-unused-disable-directives reports "Unused eslint-disable directive (no problems were reported from 'no-eval')".
The same code in a JS file report no such errors.
The text was updated successfully, but these errors were encountered:
Description
If eslint is run with the
--report-unused-disable-directives
option, it incorrectly reports all inline directives inside HTML script tagsSetup configuration
Aditional context
e.g.
The
no-eval
directive is clearly required, buteslint --report-unused-disable-directives
reports "Unused eslint-disable directive (no problems were reported from 'no-eval')".The same code in a JS file report no such errors.
The text was updated successfully, but these errors were encountered: