forked from butterproject/butter-desktop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jshintrc
93 lines (89 loc) · 1.99 KB
/
.jshintrc
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
// Environments
"browser" : true,
"node" : true,
"jquery" : true,
"devel" : true,
// Options
"curly" : true,
"bitwise" : false,
"immed" : true,
"latedef" : true,
"nonbsp" : true,
"nonew" : true,
"validthis": true,
"debug" : true,
"boss" : true,
"eqeqeq" : true,
"expr" : true,
"eqnull" : true,
"quotmark" : "single",
"trailing" : true,
"sub" : true,
"trailing" : true,
"undef" : true,
"laxbreak" : true,
"loopfunc" : true,
"indent" : 4,
"newcap" : false,
"esversion" : 6,
// Globals
"globals": {
// App
"nw": true,
"App": true,
"Settings": true,
"AdvSettings": true,
"ScreenResolution": true,
"Database": true,
"detectLanguage": true,
"Common": true,
"indexedDB": true,
"startupTime": true,
"deleteFolder": true,
"deleteCookies": true,
"isVideo": true,
"minimizeToTray": true,
"promisifyDb": true,
"db": true,
"Promise": true,
// Global variables
"_": true,
"async": true,
"inherits": true,
"Q": true,
"os": true,
"moment": true,
"crypt": true,
"semver": true,
"fs": true,
"path": true,
"mkdirp": true,
"rimraf": true,
"tar": true,
"AdmZip": true,
"zlib": true,
"charsetDetect": true,
"iconv": true,
"gui": true,
"win": true,
"data_path": true,
"i18n": true,
"url": true,
"tls": true,
"http": true,
"request": true,
"querystring": true,
"URI": true,
"child": true,
"WebTorrent": true,
"trakt": true,
// Third party
"Backbone": true,
"Mousetrap": true,
"_": true,
"request": true,
"videojs": true,
"vjs": true
}
}