aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2017-01-23 20:38:34 +1100
committerBardi Harborow <[email protected]>2017-01-23 20:53:17 +1100
commitc5a9ebf57635cdf5096e76be961a05367edd3ddf (patch)
tree7a879e4bb9e001ffe68d6f0f0a48a982509d1417 /docs
parent563926717cbc1420218796396fac06c1005447bf (diff)
downloadbootstrap-c5a9ebf57635cdf5096e76be961a05367edd3ddf.tar.xz
bootstrap-c5a9ebf57635cdf5096e76be961a05367edd3ddf.zip
Move htmllint to npm script.
Diffstat (limited to 'docs')
-rw-r--r--docs/.htmllintrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/.htmllintrc b/docs/.htmllintrc
new file mode 100644
index 000000000..2a6bb58d6
--- /dev/null
+++ b/docs/.htmllintrc
@@ -0,0 +1,18 @@
+{
+ "attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling"],
+ "attr-name-style": "dash",
+ "attr-no-unsafe-char": false,
+ "class-style": "dash",
+ "doctype-first": true,
+ "doctype-html5": true,
+ "fig-req-figcaption": true,
+ "html-valid-content-model": false,
+ "id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)",
+ "id-class-style": "dash",
+ "img-req-alt": false,
+ "indent-style": "spaces",
+ "indent-width": 2,
+ "spec-char-escape": false,
+ "tag-bans": ["b", "i"],
+ "title-max-len": false
+}