[gnome-maps/wip/mattiasb/eslint2: 2/5] Lint: Allow our own global variables



commit 8d1eacd86cb24162973aa15c6954772b12e8349d
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sun Jan 31 21:30:31 2016 +0100

    Lint: Allow our own global variables
    
    Allow `pkg` and `_` as global variables, since we use them in Maps.

 .eslintrc.yaml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index d84593f..ed460f1 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -19,3 +19,7 @@ globals:
     printerr: false
     uneval: false
     window: false
+
+    ## Not defined in ESLint
+    pkg: false
+    _: false


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