-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.jshintrc
executable file
·15 lines (15 loc) · 1.13 KB
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"node": true, // Defines globals available when your code is running inside of the Node runtime environment
"esnext": true, // Tells JSHint that your code uses ECMAScript 6 specific syntax.
"bitwise": true, // Prohibits the use of bitwise operators such as ^ (XOR), | (OR) and others.
"curly": false, // Always put curly braces around blocks in loops and conditionals
"noarg": true, // Prohibits the use of arguments.caller and arguments.callee.
"undef": true, // Prohibits the use of explicitly undeclared variables.
"unused": "vars", // Warns when you define and never use your variables.
"strict": true, // Requires all functions to run in ECMAScript 5's strict mode.
"eqnull": true, // Suppresses warnings about == null comparisons
"eqeqeq": true, // Prohibits the use of == and != in favor of === and !==.
"browser": true, // This option defines globals exposed by modern browsers
"mootools": true, // This option defines globals exposed by the MooTools JavaScript framework.
"mocha": true // This option defines globals exposed by the "BDD" and "TDD" UIs of the Mocha unit testing framework.
}