[ Rules Proposals ]
anikethsaha opened this issue Β· comments
Currently @htmllinter/basic-rules
has three rules and one under development.
Status
- βοΈ : Implemented Completly
- π : docs changes/create
- π‘ : Just an idea/thinking about it.
- βοΈ : main code/definition
- π§ͺ : tests
rule name | description | done | todo |
---|---|---|---|
no-empty-tag |
refer docs | π§ͺ βοΈ π‘ | π |
no-eduplicate-id |
refer docs | π§ͺ βοΈ π‘ | π |
no-bool-true-explicit-define |
refer docs | π§ͺ βοΈ π‘ | π |
no-duplicate-tag |
tags like html , body , title , head` must be written once in a HTML file. Throw error when its more than ones dacec16 |
π§ͺ βοΈ π‘ | π |
doc-type-top |
DOCTYPE must be written at the top of everything 5baaa01 |
π‘ βοΈ π§ͺ | π |
long-line-content |
the texts present should not overshoot the max limit 5c5ac9f | π‘ βοΈ π§ͺ | π |
no-missing-alt |
img tags should have alt attribute 5568d42 |
π‘ βοΈ π§ͺ | π |
newline-multiline-comments |
multi-line comments should always start with a new line 851e251 | π‘ βοΈ π§ͺ | π |
newline-eol |
always needs a new line at the end 156d943 | π‘ | βοΈ π§ͺ π |
trailing-singleline-comment |
always start in the same line of <!-- for single line comments 4e33357 |
π‘ βοΈ π§ͺ | π |
Help
I would really appreciate it if the community can come forward with proposing rules for this linter.