anikethsaha / anikethsaha/htmllinter

[ Rules Proposals ]

未关闭
#6 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
rules
主要语言
JavaScript
星标
19
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

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 `

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。