anikethsaha / anikethsaha/htmllinter

[ Rules Proposals ]

Ouverte
#6 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
rules
Langage dominant
JavaScript
Étoiles
19
Forks
3
Métriques de merge des PR
Aucune PR mergée en 30 j

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 `

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.