-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
44 lines (38 loc) · 946 Bytes
/
.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
{
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc
// Documentation: http://www.jshint.com/docs/
"browser": true,
"esnext": true,
// Enforcing
"quotmark": true,
"smarttabs": true,
"trailing": true,
"undef": true,
"unused": true,
// Relaxing
"globalstrict": false, // true: Allow global "use strict" (also enables 'strict')
"node": true,
// CUSTOM GLOBAL VARIABLES
"globals": {
"console": false,
// requirejs
"define": false,
"require": false,
"module": false,
// application specific
"Marionette": false,
"Moonrakr": false,
"Backbone": false,
"_": false,
"$": false,
"Handlebars": false,
"grunt": false,
"FB": false,
// mocha testing
"describe": false,
"it": false,
"expect": false,
"mochaPhantomJS": false
}
}