anikethsaha / anikethsaha/htmllinter

[ Rules Proposals ]

Open
#6 0 comments 1 reaction 0 assignees View on GitHub
rules
Dominant language
JavaScript
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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`](https://github.com/anikethsaha/htmllinter/tree/master/packages/basic-rules#1-no-empty-tag)|refer docs| πŸ§ͺ ✏️ πŸ’‘ | πŸ““ |
|[`no-eduplicate-id`](https://github.com/anikethsaha/htmllinter/tree/master/packages/basic-rules#1-duplicate-id)|refer docs| πŸ§ͺ ✏️ πŸ’‘ | πŸ““ |
|[`no-bool-true-explicit-define`](https://github.com/anikethsaha/htmllinter/tree/master/packages/basic-rules#1-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 https://github.com/anikethsaha/htmllinter/pull/22/commits/dacec16c820c73fd11d40bab7a746e00dcb745ba | πŸ§ͺ ✏️ πŸ’‘ | πŸ““ |
|`doc-type-top`|`DOCTYPE` must be written at the top of everything https://github.com/anikethsaha/htmllinter/pull/22/commits/5baaa012b4ac4c2408487ec6dbad53a6e554a7c5 | πŸ’‘ ✏️ πŸ§ͺ| πŸ““ |
|`long-line-content`| the texts present should not overshoot the max limit https://github.com/anikethsaha/htmllinter/pull/22/commits/5c5ac9f760e7c11517d3eb90f0ba29f8b4d4ef14| πŸ’‘ ✏️ πŸ§ͺ| πŸ““ |
|`no-missing-alt`| `img` tags should have `alt` attribute https://github.com/anikethsaha/htmllinter/pull/22/commits/5568d426a2eb13d40157084dec57746c04abf818 | πŸ’‘ ✏️ πŸ§ͺ| πŸ““ |
|`newline-multiline-comments`| multi-line comments should always start with a new line https://github.com/anikethsaha/htmllinter/pull/22/commits/851e2519ce794f7375271ddcf38dd7def743fbcb | πŸ’‘ ✏️ πŸ§ͺ| πŸ““|
|`newline-eol`| always needs a new line at the end https://github.com/anikethsaha/htmllinter/pull/22/commits/156d943c70387e4110fa9906c119630db9476a95 | πŸ’‘ |✏️ πŸ§ͺ πŸ““
|`trailing-singleline-comment`| always start in the same line of `

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.