Loading...
Loading...
Reference knowledge for Markuplint HTML linter. Covers violation interpretation, CLI usage, config patterns, and documentation URLs. Auto-loaded when working with HTML linting.
npx skill4agent add markuplint/markuplint markuplintmessage (ruleId) [named-rule]The attribute name is duplicated (attr-duplication) [html-standard/attr-duplication]ruleIdattr-duplicationnamed-rulehtml-standard/attr-duplicationnamespace/a11y/html-standard/performance/severityerrorwarninginfohttps://markuplint.dev/docs/rules/{ruleId}# Basic lint
npx markuplint "src/**/*.html"
# JSON output (for programmatic use)
npx markuplint "src/**/*.html" --format JSON
# Auto-fix (rules that support it)
npx markuplint "src/**/*.html" --fix
# Preview fixes without writing
npx markuplint "src/**/*.html" --fix-dry-run
# Suppress current violations for gradual adoption
npx markuplint "src/**/*.html" --suppress
# Clean up fixed suppressions
npx markuplint "src/**/*.html" --prune-suppressions
# GitHub Actions annotations
npx markuplint "src/**/*.html" --format GitHub
# Limit output for large projects
npx markuplint "src/**/*.html" --max-count=50{ "rules": { "a11y/html-lang": false } }{ "rules": { "a11y/*": false } }{ "rules": { "a11y/html-lang": "warning" } }nodeRuleschildNodeRules"inheritance": true:is(selector *):closest(){ "selector": "div:is(nav *)" }propertypropertyinvalid-attr@markuplint/react-speccharacter-reference--initnpx markuplint --init.markuplintrc| Topic | URL |
|---|---|
| All rules | |
| Specific rule | |
| Presets | |
| Framework setup | |
| Config properties | |
| Selectors | |
| CLI options | |
| FAQ | |
| Migration (v4→v5) | |
WebFetch