forked from postmanlabs/newman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
13 lines (13 loc) · 922 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"curly": true, // true: Require {} for every new block or scope
"eqeqeq": true, // true: Require triple equals (===) for comparison
"immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"sub": true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused": "vars", // true: This option warns when you define and never use your variables. It is very useful for general code cleanup, especially when used in addition to undef.
"boss": true, // true: Tolerate assignments where comparisons would be expected
"eqnull": true, // true: Tolerate use of `== null`
"trailing": true,
"node": true // Node.js
}