Ruben Bridgewater
9 years ago
69 changed files with 290 additions and 182 deletions
@ -0,0 +1,24 @@ |
|||
{ |
|||
"eqeqeq": true, // Prohibits the use of == and != in favor of === and !== |
|||
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee` |
|||
"undef": true, // Require all non-global variables be declared before they are used. |
|||
"unused": "vars", // Warn unused variables, but not unused params |
|||
"strict": true, // Require `use strict` pragma in every file. |
|||
"nonbsp": true, // don't allow non utf-8 pages to break |
|||
"forin": true, // don't allow not filtert for in loops |
|||
"freeze": true, // prohibit overwriting prototypes of native objects |
|||
"nonew": true, // prohibit use of constructors with new when not assigning to a variable |
|||
"maxdepth": 6, |
|||
"latedef": true, |
|||
"maxparams": 5, |
|||
|
|||
// Environment options |
|||
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment. |
|||
"mocha": true, |
|||
|
|||
"overrides": { |
|||
"examples/*.js": { |
|||
"unused": false |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue