[gnome-maps/wip/mattiasb/eslint-2.0-2: 33/40] 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: 33/40] Lint: Allow our own global variables
- Date: Sat, 27 Feb 2016 03:41:26 +0000 (UTC)
commit de57fd0bd0e85cfeafe716ba59b00984c54342a9
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..516f7fc 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -19,3 +19,10 @@ globals:
printerr: false
uneval: false
window: false
+
+ # From package.js
+ C_: false
+ N_: false
+ _: false
+ pkg: false
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]