[gnome-maps/wip/mattiasb/eslint-2.0-2: 4/8] Lint: Allow our own global variables
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mattiasb/eslint-2.0-2: 4/8] Lint: Allow our own global variables
- Date: Wed, 17 Feb 2016 06:04:57 +0000 (UTC)
commit 6a7a2cc10629f647119b70cf76152c187b78dcd2
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]