strong-arc
Version:
A visual suite for the StrongLoop API Platform
29 lines (22 loc) • 1.31 kB
Plain Text
{
/* Additional globals */
"predef": [
"define",
"module",
"require"
],
/* Enforcing Options */
"immed" : true, // Switches on warnings for immediately invoked functions which are not wrapped in parenthesis
"latedef" : true, // Switches on warnings for using variables or functions prior of their definition
"newcap" : true, // Switches on warnings if uncapitalised constructor function names are being used
"noarg" : true, // Switches on warnings when arguments.caller and arguments.callee are being used
"nonew" : true, // Switches on warnings when no "new" keyword is being used for constructor functions
"regexp" : true, // Switches on warnings for unsafe usage of '.' in regular expressions
"undef" : true, // Switches on warnings when using undeclared variables
"trailing" : true, // Switches on warnings for using trailing whitespace at the end of lines
/* Relaxing Options */
"asi" : true, // Switches off warnings about missing semi-colons
"laxcomma" : true, // Switches off warnings about leading commas in multi-line var declarations
/* Environments */
"browser" : true // Allows the use of undefined globals exposed by modern browsers, i.e. window
}