yeonjuan / html-eslint

ESLint plugin for linting HTML
https://html-eslint.org
MIT License
161 stars 28 forks source link

Add guidance on how to lint JavaScript inside HTML files #199

Closed dandv closed 3 months ago

dandv commented 4 months ago

From a quick look at this project, it appears it only lints HTML, and doesn't pass through the JavaScript in <script> tags to ESLint.

Whether that is correct or not, I think it would help to add a note to the README and to the homepage about how to lint JavaScript in HTML files.

yeonjuan commented 3 months ago

@dandv Thanks for reporting this issue.

From a quick look at this project, it appears it only lints HTML, and doesn't pass through the JavaScript in Githubissues.

  • Githubissues is a development platform for aggregating issues.