anikethsaha / anikethsaha/htmllinter

[ Rules Proposals ]

Đang mở
#6 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
rules
Ngôn ngữ chính
JavaScript
Star
19
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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 `

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.