summaryrefslogtreecommitdiffstats
path: root/.htmllintrc
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-26 11:25:29 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-26 16:19:26 +0200
commit2735ea8a2aef55ebb0a48b50d9a0e36cf3f63b94 (patch)
treeeec3f232637faf06c83391c47f4f88effdcbe7e4 /.htmllintrc
parentf62c0dd0a33b444505ad0c1bdaddc5e0a86a11a6 (diff)
Update tox to run htmllint and csslint
JIRA: DOVETAIL-753 This patch adds a new tox environment to run htmllint and csslint. Furthermore, it fixes any leftover html and css errors. Change-Id: Ie3fda8d89b3d52851debe1a4271ffd0ac8fbee68 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '.htmllintrc')
-rw-r--r--.htmllintrc69
1 files changed, 69 insertions, 0 deletions
diff --git a/.htmllintrc b/.htmllintrc
new file mode 100644
index 0000000..155294b
--- /dev/null
+++ b/.htmllintrc
@@ -0,0 +1,69 @@
+{
+ "plugins": [], // npm modules to load
+
+ "maxerr": false,
+ "raw-ignore-regex": false,
+ "attr-bans": [
+ "align",
+ "background",
+ "bgcolor",
+ "border",
+ "frameborder",
+ "longdesc",
+ "marginwidth",
+ "marginheight",
+ "scrolling",
+ "width"
+ ],
+ "indent-delta": false,
+ "indent-style": "spaces",
+ "indent-width": 2,
+ "indent-width-cont": true,
+ "spec-char-escape": false,
+ "text-ignore-regex": false,
+ "tag-bans": [
+ "b"
+ ],
+ "tag-close": true,
+ "tag-name-lowercase": true,
+ "tag-name-match": true,
+ "tag-self-close": "never",
+ "doctype-first": "smart",
+ "doctype-html5": true,
+ "attr-name-style": "dash",
+ "attr-name-ignore-regex": false,
+ "attr-no-dup": true,
+ "attr-no-unsafe-char": true,
+ "attr-order": false,
+ "attr-quote-style": false,
+ "attr-req-value": false,
+ "attr-new-line": false,
+ "attr-validate": false,
+ "id-no-dup": true,
+ "id-class-no-ad": false,
+ "id-class-style": false,
+ "class-no-dup": true,
+ "class-style": false,
+ "id-class-ignore-regex": false,
+ "img-req-alt": true,
+ "img-req-src": false,
+ "html-valid-content-model": true,
+ "head-valid-content-model": true,
+ "href-style": false,
+ "label-req-for": false,
+ "line-end-style": "lf",
+ "line-no-trailing-whitespace": true,
+ "line-max-len": 240,
+ "line-max-len-ignore-regex": false,
+ "head-req-title": true,
+ "title-no-dup": true,
+ "title-max-len": 70,
+ "html-req-lang": false,
+ "lang-style": "case",
+ "fig-req-figcaption": false,
+ "focusable-tabindex-style": false,
+ "input-radio-req-name": true,
+ "input-req-label": false,
+ "table-req-caption": false,
+ "table-req-header": false
+}