You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2018/09/04 18:02:41 UTC

[incubator-echarts] 01/03: fix: tweak eslint.

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

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

commit 766de99f889c1eed6a2f8596d6d5ec7f0563bb4c
Author: sushuang <su...@gmail.com>
AuthorDate: Wed Sep 5 02:00:39 2018 +0800

    fix: tweak eslint.
---
 .eslintrc.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 93f28fc..698128c 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -9,7 +9,12 @@ globals:
     jQuery: true
     Promise: true
 rules:
-    no-console: 1
+    no-console:
+        - 2
+        -
+            allow:
+                - "warn"
+                - "error"
     no-constant-condition: 1
     comma-dangle: 2
     no-debugger: 2


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