Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
}
@chriswelchgb

This comment has been minimized.

Copy link

@chriswelchgb chriswelchgb commented Jul 22, 2016

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.

@DrummerHead

This comment has been minimized.

Copy link
Owner Author

@DrummerHead DrummerHead commented Nov 2, 2016

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
You can’t perform that action at this time.