Skip to content

Instantly share code, notes, and snippets.

@thorade

thorade/.htmlhintrc

Last active Jan 14, 2018
Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@thorade thorade commented Mar 5, 2015

@DrummerHead

This comment has been minimized.

Copy link

@DrummerHead DrummerHead commented Jan 27, 2016

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

This comment has been minimized.

Copy link

@chriswelchgb chriswelchgb commented Jul 22, 2016

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

This comment has been minimized.

Copy link
Owner Author

@thorade 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

This comment has been minimized.

Copy link

@mrnagy88 mrnagy88 commented Jan 14, 2018

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