Skip to content

Instantly share code, notes, and snippets.

@DrummerHead
Forked from thorade/.htmlhintrc
Last active March 7, 2017 09:23
Show Gist options
  • Save DrummerHead/7f6a93dee0031cf3851b to your computer and use it in GitHub Desktop.
Save DrummerHead/7f6a93dee0031cf3851b to your computer and use it in GitHub Desktop.
HTMLHint rules
{
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": false,
"attr-value-not-empty": false,
"attr-no-duplication": true,
"doctype-first": true,
"tag-pair": true,
"tag-self-close": false,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"title-require": true,
"head-script-disabled": true,
"alt-require": true,
"doctype-html5": true,
"id-class-value": "dash",
"style-disabled": true,
"inline-style-disabled": true,
"inline-script-disabled": true,
"space-tab-mixed-disabled": "space2",
"id-class-ad-disabled": true,
"href-abs-or-rel": false,
"attr-unsafe-chars": true
}
@DrummerHead
Copy link
Author

Thanks @chriswelchgb for the note, updated the gist to reflect this change and added more sensible defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment