This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 0cdd0848815a49b4eb2d1c1ed32e317c22f68f8c
Author: sushuang <sushuang0...@gmail.com>
AuthorDate: Mon Sep 3 12:13:40 2018 +0800

    Fix eslintrc
---
 .eslintrc.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 212bd64..9126a59 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -33,7 +33,7 @@ rules:
         - 2
         - "allow-null"
     guard-for-in: 1
-    no-else-return: 1
+    no-else-return: 0
     no-labels:
         - 1
         -
@@ -52,7 +52,7 @@ rules:
     no-octal: 1
     no-octal-escape: 1
     no-proto: 2
-    no-redeclare: 1
+    no-redeclare: 0
     no-self-compare: 2
     no-unneeded-ternary: 2
     no-with: 1
@@ -152,7 +152,7 @@ rules:
             ignoreComments: true
     max-params:
         - 1
-        - 6
+        - 15
 
     space-infix-ops: 2
     dot-notation:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to