Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-04 22:50:06 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-01-05 01:36:40 +0300
commit318d6f449e26dd3ac05e9556fcd8f427e9388134 (patch)
tree045f3a3993e1e93b1f530ca29dc4a9744decee3f /.eslintrc
parent615f1927bb44fd04fac3f12ab6f1f7197ea5a69a (diff)
[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"
+ }]
+
}
}