summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorYukai Huang2017-01-14 15:47:13 +0800
committerYukai Huang2017-01-14 15:47:13 +0800
commit04292240d6a589c537afb8e9838dcc0f062d0f2c (patch)
tree82b9b0a5ecfb9311b857661ac062910fb9f8fd91 /.eslintrc
parent98c0cfc6a7dbf19a7996ff37968605ec946c97e1 (diff)
Minor style update
Diffstat (limited to '')
-rw-r--r--.eslintrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/.eslintrc b/.eslintrc
index 53a6dcb0..bd14731c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -16,7 +16,6 @@
],
"array-callback-return": "error",
"arrow-body-style": "error",
- "arrow-parens": "error",
"arrow-spacing": "error",
"block-scoped-var": "off",
"block-spacing": "error",
@@ -123,7 +122,7 @@
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
- "no-extra-parens": "error",
+ "no-extra-parens": "warn",
"no-floating-decimal": "error",
"no-global-assign": "error",
"no-implicit-coercion": "error",
@@ -195,7 +194,7 @@
"no-unneeded-ternary": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": "error",
- "no-use-before-define": "error",
+ "no-use-before-define": "warn",
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",