Skip to content

Instantly share code, notes, and snippets.

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

I've added missing attrs at https://gist.github.com/DrummerHead/7f6a93dee0031cf3851b

There are no pull requests for gists so I'm just sending you the link, cheers!

@chriswelchgb
Copy link

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.

@thorade
Copy link
Author

thorade commented May 23, 2017

@DrummerHead Thanks, I didn't even notice, looks like gists do not send notifications.
I copied your example back here, and sorted the lines alphabetically.

@mrnagy88
Copy link

It would be nice if they added an options for ignoring unescaped codes within double handlebars only for handlebars users. (or just support handlebars in general)

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