Closed edg2s closed 6 years ago
Thank you for pointing this out. This was because the file has a lot of script tags, and the plugin did run the whole ESLint process on every tags, even if they were empty. eslint-plugin-html
now ignores script with src
attributes, it should fix your issue.
I published the fix in v4.0.6, cheers! :tada:
Thanks, will test it out.
Much better, thanks!
Linting this file with our current ruleset takes 12 seconds:
https://github.com/wikimedia/VisualEditor/blob/master/demos/ve/desktop.html
Larger JS files take fractions of a second.