Permalink
Browse files

update html lint rc to prevent breaking changes in current markup

  • Loading branch information...
1 parent ce7aac5 commit 7122629d6b2a3de54dcf25a9b0cb0f664ec0fa99 @swilliamset swilliamset committed Jan 11, 2017
Showing with 67 additions and 5 deletions.
  1. +67 −5 .htmllintrc
View
@@ -1,7 +1,69 @@
{
- "attr-bans": [],
- "attr-name-style": false,
- "id-class-style": false,
- "line-end-style": false,
- "label-req-for": false
+ "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
}

0 comments on commit 7122629

Please sign in to comment.