forked from ExactTarget/fuelux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ExactTarget#1922 from swilliamset/replace-java-bas…
…ed-html-linter replace java based html linter grunt-html w/ node linter grunt-htmllint
- Loading branch information
Showing
46 changed files
with
2,526 additions
and
2,463 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"attr-bans": [ | ||
"align", | ||
"background", | ||
"bgcolor", | ||
"border", | ||
"dynsrc", | ||
"frameborder", | ||
"longdesc", | ||
"lowsrc", | ||
"onclick", | ||
"ondblclick", | ||
"onload", | ||
"marginwidth", | ||
"marginheight", | ||
"scrolling", | ||
"width" | ||
], | ||
"attr-name-ignore-regex": false, | ||
"attr-name-style": false, | ||
"attr-no-dup": true, | ||
"attr-no-unsafe-chars": true, | ||
"attr-quote-style": "double", | ||
"attr-req-value": true, | ||
"class-no-dup": true, | ||
"class-style": false, | ||
"csslint": false, | ||
"doctype-first": false, | ||
"doctype-html5": false, | ||
"fig-req-figcaption": true, | ||
"focusable-tabindex-style": false, | ||
"head-req-title": true, | ||
"href-style": false, | ||
"html-req-lang": true, | ||
"id-class-ignore-regex": false, | ||
"id-class-no-ad": true, | ||
"id-class-style": false, | ||
"id-style": "camel", | ||
"id-no-dup": true, | ||
"input-radio-req-name": false, | ||
"img-req-alt": true, | ||
"img-req-src": true, | ||
"indent-style": "tabs", | ||
"indent-width": 2, | ||
"indent-width-cont": true, | ||
"input-req-label": false, | ||
"label-req-for": false, | ||
"lang-style": "case", | ||
"line-end-style": "lf", | ||
"line-max-len": 120, | ||
"line-max-len-ignore-regex": "/href/g", | ||
"page-title": true, | ||
"spec-char-escape": true, | ||
"table-req-caption": false, | ||
"table-req-header": false, | ||
"tag-bans": [ | ||
"b", | ||
"i", | ||
"keygen", | ||
"style" | ||
], | ||
"tag-close": true, | ||
"tag-name-lowercase": true, | ||
"tag-name-match": true, | ||
"tag-self-close": "never", | ||
"text-escape-spec-char": true, | ||
"title-max-len": 60, | ||
"title-no-dup": true | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
module.exports = { | ||
options: { | ||
ignore:[ | ||
'Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections.', | ||
'Bad value X-UA-Compatible for attribute http-equiv on element meta.', | ||
'Element head is missing a required instance of child element title.' | ||
], | ||
force: true | ||
force: true, | ||
htmllintrc: true | ||
}, | ||
src: ['index.html', 'markup/*.html', 'test/markup/*.html'] | ||
}; | ||
}; |
Oops, something went wrong.