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



commit c176f81a8fc7e836bed77af5d3240bc66bfdcdff
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 138ea1d..f14f1ca 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -21,3 +21,7 @@ globals:
     GjsFileImporter: false
     imports: false
     ARGV: false
+
+    ## Not defined in ESLint
+    pkg: false
+    _: false


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