Re:Show HN: Command line tool to validate HTML5 files
by johnhenry on Wednesday January 27, 2016 @07:31PM
(#10984836)
I think the continuous integration is key to emphasise.
HTML Tidy does validation as its default action (tidy <html file>), but unlike this, it doesn't seem to be able to target an entire directory (html5validator --root <directory of html files>), so there's another difference there.
This html5validator gives you a simple yes/no answer whether some files are HTML5 valid. It is based on the same backend that powers https://html5.validator.nu/.
It can be integrated in continuous integration. The README contains example configurations for TravisCI and CircleCI.