summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorMax Wu2017-01-21 14:31:41 +0800
committerGitHub2017-01-21 14:31:41 +0800
commit6dfc186691df7b5c63af2ee5eb28cd1e1919050c (patch)
tree58c36e54788224c8ee4ee803a6a3b2c1dbd7b8b2 /.eslintrc
parentfc00fa74341a43b2f99b085aa52fee57f40082ff (diff)
parent0e479111e55354434b5100ae165627f5fabe06b5 (diff)
Merge pull request #326 from hackmdio/es6-integration
ES6 integration
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",