Let CSS lint your HTML pages.
- Add this package to your project dependecies.
npm install @frontkom/lint-html-with-css
- Include the
build/style.cssfile in your HTML page and voilá!
Make sure you do not include it in production env!
Feel free and motivated to suggest new lint rules. Just have to add the CSS rule and a little description about the fault in comments.
The inspiration for this package and the initial lint rules came from the following post
Thanks @viclafouch for the share.