diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 19:50:06 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 22:36:40 +0000 |
commit | 318d6f449e26dd3ac05e9556fcd8f427e9388134 (patch) | |
tree | 045f3a3993e1e93b1f530ca29dc4a9744decee3f /.eslintrc | |
parent | 615f1927bb44fd04fac3f12ab6f1f7197ea5a69a (diff) | |
download | gitlab-ce-318d6f449e26dd3ac05e9556fcd8f427e9388134.tar.gz |
[ci skip] Fix more rules
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 12 |
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" + }] + } } |