[gnome-maps/wip/mattiasb/eslint-2.0-2: 1/5] 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: 1/5] Lint: Allow our own global variables
- Date: Wed, 17 Feb 2016 06:09:05 +0000 (UTC)
commit 624abd3602c1238a040512ed44cef4d62e1893d6
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 the gettext functions as global variables, since we use
them in Maps.
.eslintrc.yaml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index d84593f..44b792e 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -19,3 +19,10 @@ globals:
printerr: false
uneval: false
window: false
+
+ # From package.js
+ pkg: false
+ _: false
+ C_: false
+ N_: false
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]