You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
979 B
24 lines
979 B
{
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
|