cdnjs / new-website

🖥 cdnjs.com website
https://cdnjs.com
ISC License
451 stars 212 forks source link

[Tests] Add HTML linting (html-validate & linthtml) #296

Closed MattIPv4 closed 4 years ago

MattIPv4 commented 5 years ago

This adds html-validate & linthtml to the test suite for new-website with custom rulesets based on the existing style we have.

This brings all existing HTML files up-to-standard following these lint rules.

This also removes all unused templates so that the repository has a cleaner HTML based to work from in future.

MattIPv4 commented 5 years ago

GitHub is sorting these commits in the wrong order, they are actually in a more logical order in git. image