anikethsaha / htmllinter

A shareable and plug-able HTML linter

Home Page:https://htmllinter-playground.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ Rules Proposals ]

anikethsaha opened this issue Β· comments

commented

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.

Preview

image