New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint JavaScript within HTML #116
Comments
As a minimal starting spot, will this treat every |
Those are good questions. I haven't thought about it. We can't reasonably peer into I guess we'd need to disable some checks (such as knowing the set of declared global variables), but otherwise, we can do all syntax checking and many semantic checks. Then we can lint the script blocks independently (maybe iN pArAlLeL).
Yes. |
This might help development: https://htmlparser.info/ |
A nice lint rule: <form onsubmit="publish"> ... </form> warning: missing '()' after function name in event handler (similar to #702) |
The text was updated successfully, but these errors were encountered: