summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/.htmllintrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/.htmllintrc')
-rw-r--r--src/pybind/mgr/dashboard/frontend/.htmllintrc70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/.htmllintrc b/src/pybind/mgr/dashboard/frontend/.htmllintrc
new file mode 100644
index 000000000..b06d7e7b6
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/.htmllintrc
@@ -0,0 +1,70 @@
+{
+ "plugins": [], // npm modules to load
+
+ "maxerr": false,
+ "raw-ignore-regex": false,
+ "attr-bans": [
+ "align",
+ "background",
+ "bgcolor",
+ "border",
+ "longdesc",
+ "marginwidth",
+ "marginheight",
+ "style",
+ "width"
+ ],
+ "indent-delta": false,
+ "indent-style": "spaces",
+ "indent-width": 2,
+ "indent-width-cont": true,
+ "spec-char-escape": false,
+ "text-ignore-regex": false,
+ "tag-bans": [
+ "style"
+ ],
+ "tag-close": true,
+ "tag-name-lowercase": true,
+ "tag-name-match": true,
+ "tag-self-close": false,
+ "doctype-first": false,
+ "doctype-html5": false,
+ "attr-name-style": false,
+ "attr-name-ignore-regex": false,
+ "attr-no-dup": true,
+ "attr-no-unsafe-char": true,
+ "attr-order": false,
+ "attr-quote-style": "double",
+ "attr-req-value": false,
+ "attr-new-line": 1,
+ "attr-validate": true,
+ "id-no-dup": false,
+ "id-class-no-ad": true,
+ "id-class-style": false,
+ "class-no-dup": true,
+ "class-style": "none",
+ "id-class-ignore-regex": "{{.*?}}",
+ "img-req-alt": false,
+ "img-req-src": true,
+ "html-valid-content-model": true,
+ "head-valid-content-model": true,
+ "href-style": false,
+ "link-req-noopener": false,
+ "label-req-for": false,
+ "line-end-style": "lf",
+ "line-no-trailing-whitespace": true,
+ "line-max-len": false,
+ "line-max-len-ignore-regex": false,
+ "head-req-title": true,
+ "title-no-dup": true,
+ "title-max-len": 60,
+ "html-req-lang": false,
+ "lang-style": "case",
+ "fig-req-figcaption": false,
+ "focusable-tabindex-style": false,
+ "input-radio-req-name": false,
+ "input-req-label": false,
+ "table-req-caption": false,
+ "table-req-header": false,
+ "tag-req-attr": false
+}