Skip to content

Commit

Permalink
Merge pull request #2 from ExactTarget/master
Browse files Browse the repository at this point in the history
update
  • Loading branch information
afz authored Jan 12, 2017
2 parents 0aadfb2 + 9fb79e3 commit 041b03c
Show file tree
Hide file tree
Showing 45 changed files with 2,528 additions and 2,461 deletions.
69 changes: 69 additions & 0 deletions .htmllintrc
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
}
10 changes: 3 additions & 7 deletions grunt/config/htmllint.js
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']
};
};
Loading

0 comments on commit 041b03c

Please sign in to comment.