summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-03-14 19:32:36 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-03-14 19:32:36 +0000
commit51e454f3b17ad51d7381c0de0e4a3553bdc362d3 (patch)
tree798f833d9ac8f253eab28f449931fca51d063867 /.eslintrc
parentd22e7a421eb323e878a86de36a42aab56c2c53ed (diff)
downloadgitlab-ce-51e454f3b17ad51d7381c0de0e4a3553bdc362d3.tar.gz
Prettier Phase 1: Prettier Configuration, Prettifying of files and documentation
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc27
1 files changed, 17 insertions, 10 deletions
diff --git a/.eslintrc b/.eslintrc
index a86f8a841c3..3f187db0c07 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -35,15 +35,22 @@
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
- "no-underscore-dangle": ["error", { "allow": ["__", "_links"]}],
- "vue/html-self-closing": ["error", {
- "html": {
- "void": "always",
- "normal": "never",
- "component": "always"
- },
- "svg": "always",
- "math": "always"
- }]
+ "no-underscore-dangle": ["error", { "allow": ["__", "_links"] }],
+ "no-mixed-operators": 0,
+ "space-before-function-paren": 0,
+ "curly": 0,
+ "arrow-parens": 0,
+ "vue/html-self-closing": [
+ "error",
+ {
+ "html": {
+ "void": "always",
+ "normal": "never",
+ "component": "always"
+ },
+ "svg": "always",
+ "math": "always"
+ }
+ ]
}
}