backdraft
Version:
API starter kit for rapid response development. Based on Express.
38 lines (34 loc) • 2.04 kB
Plain Text
{
"node" : true,
"strict" : false,
"white" : true,
"maxlen" : 150,
"indent" : 4,
"quotmark" : "single",
"newcap" : true,
"nonew" : true,
"asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons).
"laxcomma" : true,
"laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n]
"bitwise" : true, // Prohibit bitwise operators (&, |, ^, etc.).
"boss" : false, // Tolerate assignments inside if, for & while.
"curly" : false, // Require {} for every new block or scope.
"eqeqeq" : true, // Require triple equals i.e. `===`.
"eqnull" : false, // Tolerate use of `== null`.
"evil" : false, // Tolerate use of `eval`.
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
"forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`.
"immed" : true, // Require immediate invocations to be wrapped in
"latedef" : true, // Prohibit variable use before definition.
"loopfunc" : false, // Allow functions to be defined within loops.
"noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"regexp" : true, // Prohibit `.` and `[^...]` in regular expressions.
"regexdash" : false, // Tolerate unescaped last dash i.e. `[-...]`.
"scripturl" : true, // Tolerate script-targeted URLs.
"shadow" : false, // Allows re-define variables later in code e.g. `var x=1; x=2;`.
"supernew" : false, // Tolerate `new function () { ... };` and `new Object;`.
"undef" : true, // Require all non-global variables be declared
"sub" : true, // Allow use of using [] notation in place of dot notation
"trailing" : true, // Prohibit trailing whitespaces.
"globals" : { "angular": true, "it": true, "test": true, "describe": true, "suite": true, "before": true, "after": true, "beforeEach": true, "afterEach": true }
}