Rintenki HTML Linter
A fast HTML linter for VS Code, powered by html5ever (Rust) via napi-rs.
Features
- Real-time HTML linting as you type
- Built-in rules covering conformance, accessibility, naming, maintainability, and style
- Quick Fix for auto-fixable rules
- Per-rule severity customization (error / warning / off)
- Configurable via
rintenki.config.ts
Configuration
Add rule overrides in VS Code settings (settings.json):
{
"rintenki.rules": {
"case-sensitive-attr-name": "off",
"no-hard-code-id": "warning",
"doctype": "error"
}
}
Or place a rintenki.config.ts in your project root:
// rintenki.config.ts
import { defineRintenkiConfig } from "rintenki";
export default defineRintenkiConfig({
rules: {
"doctype": "error",
"no-consecutive-br": "warning",
"end-tag": false,
},
});
rintenki.config.js is also supported. defineRintenkiConfig provides autocomplete and type checking for rule names and severity values.
Severity Values
| Value |
Description |
"error" |
Report as error |
"warning" / "warn" |
Report as warning |
"off" / false |
Disable the rule |
true |
Use default severity |
Rules
See the full rule list for details.
Links
License
MIT
| |