Skip to content

Instantly share code, notes, and snippets.

@thorade
Last active January 14, 2018 04:22
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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
}
@thorade
Copy link
Author

thorade commented Mar 5, 2015

@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