Rules
Available Rules
| Rule | Description | Fixable |
|---|---|---|
| class-spacing | Disallow extra spacing in class attribute values | 🔧 |
| id-naming-convention | Enforce consistent naming convention for id attributes | |
| no-duplicate-class | Disallow duplicate class names in class attributes | 🔧 |
| no-ineffective-attrs | Disallow HTML attributes that have no effect in their context | |
| no-invalid-attr-value | Disallow invalid attribute values according to HTML standards | |
| no-obsolete-attrs | Disallow use of obsolete attributes in HTML5 | |
| no-obsolete-tags | Disallow use of obsolete elements in HTML5 | |
| no-restricted-attr-values | Disallow specified attribute values based on custom configuration | |
| no-restricted-attrs | Disallow specified attributes based on custom configuration | |
| no-restricted-tags | Disallow specified tags based on custom configuration | |
| require-attrs | Require specified attributes on elements | |
| require-li-container | Require li elements to be inside ul, ol, or menu elements | |
| use-baseline | Enforce the use of baseline features |