summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorYukai Huang2017-01-15 03:45:19 +0000
committerYukai Huang2017-01-15 03:45:19 +0000
commit75e28a1d5e0476d73b59b2255aec2b7e6d0a6cdc (patch)
tree12838f33d941e8734c87383c4653b8b63bbd95a6 /.eslintrc
parentb3ed4445651b373b14217a55e6382f9025ab345a (diff)
parentc0e8306961a47e7a2ba52d0445c12aaa5fe07949 (diff)
Merge branch 't216-refactor-common' into 'frontend-next'
T216 refactor common See merge request !5
Diffstat (limited to '.eslintrc')
-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",