-
-
Save DrummerHead/7f6a93dee0031cf3851b to your computer and use it in GitHub Desktop.
HTMLHint rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 | |
} |
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
This file is complete - thanks! Just a comment for posterity. If anyone tries to use this file and your alt alerts aren't firing, you'll want to change img-alt-require to simply alt-require.