Permalink
Browse files

Merge pull request #1922 from swilliamset/replace-java-based-html-linter

replace java based html linter grunt-html w/ node linter grunt-htmllint
  • Loading branch information...
2 parents a7339c0 + 6a6bebf commit 9fb79e3b7765682f1cee78faf02f24b50618cf86 @futuremint futuremint committed on GitHub Jan 11, 2017
Showing with 2,526 additions and 2,463 deletions.
  1. +69 −0 .htmllintrc
  2. +0 −4 .travis.yml
  3. +3 −7 grunt/config/htmllint.js
  4. +2,255 −2,256 index.html
  5. +3 −0 index.js
  6. +2 −2 markup/checkbox-inline-no-js.html
  7. +2 −2 markup/checkbox-inline.html
  8. +2 −2 markup/checkbox-no-js.html
  9. +2 −2 markup/checkbox.html
  10. +2 −2 markup/combobox.html
  11. +2 −2 markup/datepicker.html
  12. +1 −1 markup/infinite-scroll.html
  13. +1 −1 markup/loader.html
  14. +2 −2 markup/pillbox-with-pills.html
  15. +2 −2 markup/pillbox.html
  16. +2 −2 markup/placard-header-footer.html
  17. +1 −1 markup/placard.html
  18. +1 −1 markup/radio-inline-no-js.html
  19. +2 −2 markup/radio-inline.html
  20. +2 −2 markup/radio-no-js.html
  21. +2 −2 markup/radio.html
  22. +5 −5 markup/repeater.html
  23. +26 −26 markup/scheduler.html
  24. +1 −1 markup/search.html
  25. +1 −1 markup/selectlist.html
  26. +2 −2 markup/spinbox.html
  27. +1 −1 markup/tree-folders-selectable.html
  28. +1 −1 markup/tree.html
  29. +1 −1 markup/wizard.html
  30. +1 −1 package.json
  31. +6 −6 test/markup/checkbox-markup.html
  32. +7 −7 test/markup/combobox-markup.html
  33. +1 −1 test/markup/datepicker-markup.html
  34. +1 −1 test/markup/infinite-scroll-markup.html
  35. +1 −1 test/markup/loader-markup.html
  36. +37 −37 test/markup/picker-markup.html
  37. +5 −5 test/markup/pillbox-markup.html
  38. +1 −1 test/markup/placard-markup.html
  39. +9 −9 test/markup/radio-markup.html
  40. +24 −24 test/markup/repeater-markup.html
  41. +26 −26 test/markup/scheduler-markup.html
  42. +1 −1 test/markup/search-markup.html
  43. +4 −4 test/markup/selectlist-markup.html
  44. +4 −4 test/markup/spinbox-markup.html
  45. +1 −1 test/markup/tree-markup.html
  46. +1 −1 test/markup/wizard-markup.html
View
@@ -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
+}
View
@@ -2,10 +2,6 @@ language: node_js
node_js:
- 6.8.1
sudo: false
-addons:
- apt:
- packages:
- - oracle-java8-installer
install:
- time npm install
- time ./node_modules/bower/bin/bower update
@@ -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.

0 comments on commit 9fb79e3

Please sign in to comment.