forked from wpmetabox/meta-box
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.jshintrc
50 lines (44 loc) · 1.11 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
{
"boss" : true,
"curly" : true,
"eqeqeq" : true,
"eqnull" : true,
"es3" : true,
"immed" : true,
"latedef" : true,
"newcap" : true,
"noarg" : true,
"quotmark" : "single",
"sub" : true,
"strict" : true,
"undef" : true,
"unused" : true,
"validthis": true,
"browser": true,
"devel" : true,
"jquery" : true,
"globals": {
// For Gruntfile
"exports": true,
"module" : false,
"require": true,
// For project JS files
"ajaxurl": true, // Ajax URL
"RWMB": true,
"rwmb": true,
"wp" : true, // WP media frame (for file upload)
"rwmbFile" : true, // Localized strings
"rwmbFileAdvanced" : true,
"rwmbFileInput" : true,
"rwmbImageAdvanced" : true,
"plupload" : true,
"rwmb_cloneable_editors": true, // For cloning editors
"tinyMCEPreInit" : true, // TinyMCE
"tinymce" : true,
"quicktags" : true,
"_" : true, // Underscore
"tb_remove": true, // Thickbox (for "thickbox_image" field)
"tb_show" : true,
"google" : true // Google maps
}
}