load of tiny listing fixes, undef, unused, etc

This commit is contained in:
Dave Conway-Jones
2016-04-09 18:00:14 +01:00
parent 37ba29484a
commit 48bcd3c7df
22 changed files with 532 additions and 535 deletions

View File

@@ -1,4 +1,8 @@
{
"predef": [ "RED" ],
"node": true,
"browser": true,
"jquery": true,
"asi": true, // allow missing semicolons
"curly": true, // require braces
"eqnull": true, // ignore ==null
@@ -9,5 +13,6 @@
//"unused": true, // Check for unused functions and variables
"loopfunc": true, // allow functions to be defined in loops
//"expr": true, // allow ternery operator syntax...
"sub": true // don't warn that foo['bar'] should be written as foo.bar
"sub": true, // don't warn that foo['bar'] should be written as foo.bar
"undef": true // warn about undefined variables
}