https://github.com/nu-system/html-validator
Semantic HTML linter in just pure CSS way
https://github.com/nu-system/html-validator
html-lint html-validate html-validator semantic semantic-html
Last synced: 10 months ago
JSON representation
Semantic HTML linter in just pure CSS way
- Host: GitHub
- URL: https://github.com/nu-system/html-validator
- Owner: nu-system
- License: mit
- Created: 2019-11-17T12:14:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T02:29:46.000Z (about 5 years ago)
- Last Synced: 2025-02-09T10:04:55.608Z (11 months ago)
- Topics: html-lint, html-validate, html-validator, semantic, semantic-html
- Language: CSS
- Homepage: https://nu-system.github.io/html/validator/
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# html-validator
Semantic HTML linter in just pure CSS way.
## How to start
```
npm i @_nu/html-validator
```
Or just add the tag below in your html page
```HTML
```
If you just wanna use level1 try
```HTML
```
if you wanna ignore any element just add `data-hvi` attr.
## Content
```bash
html-validator/css
├── level1.css // leve1 「 red 」: force validate rules
└── level2.css // leve2 「 yellow 」: level1.css + suggest validate rules
```
All valid msg on css prop of `content`.
## Prior art
html-lint was build on this awesome projects:
* [https://github.com/t7/construct.css](https://github.com/t7/construct.css)