DEV Community

Discussion on: Why is HTML linting not a common practice?

Collapse
 
sudiukil profile image
Quentin Sonrel

Just a wild guess but: code is done by developers, and most developers like good code, hence the use of linters.

HTML on the other hand, is arguably not "code", it's markup. And it's also written by non developers on many occasions, and those "non developers" might not want to lint it (if they even know what a linter is).

Collapse
 
dandevri profile image
Danny de Vries

Indeed, HTML is not a programming language but it's still one of the three pillars for making a webpage. But since we strive for the best code quality, why shouldn't we do the same for markup?

Collapse
 
sudiukil profile image
Quentin Sonrel

Quality standards should indeed be the same for code and for markup (and also for anything we type, actually).

Thread Thread
 
dandevri profile image
Danny de Vries

🙌