lowercase
This rule enforces the use of lowercase for tag and attribute names.
How to use
module.exports = {
rules: {
"@html-eslint/lowercase": "error",
},
};
Rule Details
Examples of incorrect code for this rule:
<Div></Div><div ID="foo"></div><SCRIPT></SCRIPT><sTyle></sTyle>Examples of correct code for this rule:
<div></div><div id="foo"></div><script></script><style></style>