anikethsaha / anikethsaha/htmllinter
[ Rules Proposals ]
- 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.