-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.jshintrc
19 lines (18 loc) · 815 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
* JSHint Mediasmart Configuration File
* See http://jshint.com/docs/ for more details
* Examples at : https://github.com/jshint/jshint/blob/master/examples/.jshintrc
**/
{
"node": true, // NodeJS JavaScript files
"strict": true, // Require "use strict" statement
"white": false, // Check whitespaces between operators
"camelcase": true, // Force camelcase for vars
"curly": false, // Require curly braces in every scope
"unused": true, // Do not allow unused vars
"funcscope": false, // Do not allow using a var out of its virtual scope
"-W065": true, // Do not require radix as we use a safe parseInt
"loopfunc": true, // Allow functions in loops
"asi": true, // Do not require semicolons
"undef": true // Force vars declaration before using them
}