summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-04 19:50:06 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-04 22:36:40 +0000
commit318d6f449e26dd3ac05e9556fcd8f427e9388134 (patch)
tree045f3a3993e1e93b1f530ca29dc4a9744decee3f /.eslintrc
parent615f1927bb44fd04fac3f12ab6f1f7197ea5a69a (diff)
downloadgitlab-ce-318d6f449e26dd3ac05e9556fcd8f427e9388134.tar.gz
[ci skip] Fix more rules
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 2c284ec6d94..5b1e5bfd530 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -37,6 +37,16 @@
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
- "no-underscore-dangle": ["error", { "allow": ["__"]}]
+ "no-underscore-dangle": ["error", { "allow": ["__"]}],
+ "vue/html-self-closing": ["error", {
+ "html": {
+ "void": "always",
+ "normal": "any",
+ "component": "always"
+ },
+ "svg": "always",
+ "math": "any"
+ }]
+
}
}