-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
63 lines (60 loc) · 1.48 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module.exports = {
parser: 'babel-eslint',
rules: {
'no-undef': 'error'
},
env: {
browser: true,
amd: true,
commonjs: true
},
globals: {
Promise: true,
pushManagerPromise: true,
webkitSpeechRecognition: true,
Uint8Array: true,
Map: true,
// Libraries that end up as globals...
jQuery: true,
Backbone: true,
google: true,
gapi: true,
twemoji: true,
FB: true,
RichMarker: true,
Backform: true,
Persist: true,
Waypoint: true,
tinyMCE: true,
tinymce: true,
MapLabel: true,
// Iznik global definitions
// TODO: make them not global
Router: true,
IznikYahooUsers: true,
IznikPlugin: true,
// Iznik configuration defined via webpack DefinePlugin
BASE_URL: true,
CHAT_HOST: true,
EVENT_HOST: true,
API: true,
USER_SITE: true,
YAHOOAPI: true,
YAHOOAPIv2: true,
FACEBOOK_APPID: true,
FACEBOOK_GRAFFITI_APPID: true,
GOOGLE_CLIENT_ID: true,
SITE_NAME: true,
SITE_DESCRIPTION: true,
RAVEN_ID: true,
GIT_COMMITHASH: true,
BUILD_TIME: true,
MODTOOLS: true,
ADSENSE_CLIENT: true,
ADSENSE_SLOTID: true,
ANALYTICS_ID: true,
EBAY_CAMPAIGNID: true,
EBAY_PROGRAMID: true,
EBAY_TOOLID: true,
}
}