-
-
Couldn't load subscription status.
- Fork 427
Closed
Labels
Description
Describe the bug
I'm seeing flags raised in readme.md files, such as this:
htmlhint: error
doctype-first - Doctype must be declared first.
And:
htmlhint: error
spec-char-escape - Special characters must be escaped : [ > ].
htmlhint is properly linting *.html files. It's not mis-linting other files, such as *.css and *.js.
Why is it linting markdown files?
If I'm required to exclude them, how do I? Should I add a file to my machine's home directory, such as ~/.htmlhint? What should it say? The following don't work:
{
"exclude": ["*.md"]
}
{
"exclude": ["**/*.md"]
}
- macOS Catalina Version 10.15.4 (19E287)
- Sublime Text Version 3.2.2, Build 3211
- htmlhint --version 0.10.1