[gnome-maps/wip/mattiasb/eslint] WIP: Base on recommended



commit 802487e1e632be7a95ec76444bed7da8d82505ca
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sun Jan 31 17:52:17 2016 +0100

    WIP: Base on recommended

 .eslintrc.yaml |   50 ++++++++++++++++++++++++--------------------------
 1 files changed, 24 insertions(+), 26 deletions(-)
---
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 6a659d6..b9a7c10 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -1,32 +1,30 @@
+extends: "eslint:recommended"
 root: true
 
 env:
     es6: true
 
 rules:
-    comma-dangle:
-        - 2
-        - "never"
-    no-cond-assign:
-        - 2
-        - "always"
-    no-console:
-        - 2
-    no-constant-condition:
-        - 2
-    no-debugger:
-        - 2
-    no-dupe-args:
-        - 2
-    no-dupe-keys:
-        - 2
-    no-duplicate-case:
-        - 2
-    no-empty-character-class:
-        - 2
-    no-empty:
-        - 2
-    no-ex-assign:
-        - 2
-    no-extra-boolean-cast:
-        - 2
+    no-unused-vars:
+        - 0
+
+globals:
+    imports: false
+    log: false
+    InternalError: false
+    uneval: false
+    Iterator: false
+    StopIteration: false
+    Debugger: false
+    window: false
+    log: false
+    logError: false
+    print: false
+    printerr: false
+    GjsFileImporter: false
+    imports: false
+    ARGV: false
+    ## Not in globals.js
+    pkg: false
+    _: false
+    


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]