fulldecent / github-pages-template

An opinionated starting point and build system for awesome, collaboratively-edited HTML websites
https://fulldecent.github.io/github-pages-template/
35 stars 52 forks source link

Try the new HTML-validate 9 (rc3) #117

Open fulldecent opened 18 hours ago

fulldecent commented 18 hours ago

Please try our build script with the upcoming new version of HTML-validate.

9.0.0-rc.3

Here is the migration guide.

And also you may need to use this for resolving the configuration plugin:

const resolver = esmResolver();
const loader = FileSystemConfigLoader([resolver]);
const htmlvalidate = new HtmlValidate(loader);

Our existing plugins should work as-is under V9 or require only small changes.

But the big opportunity is that our external link checker can be refactored from curl to use fetch.

And I have not checked it yet, but there may be major improvements in V9 in terms of running tests in parallel.

fulldecent commented 18 hours ago

@codiini this may be a JS issue to look at together