2015-04-16 11:56:22 +02:00
|
|
|
{
|
|
|
|
"asi": true, // allow missing semicolons
|
|
|
|
"curly": true, // require braces
|
|
|
|
"eqnull": true, // ignore ==null
|
|
|
|
"forin": true, // require property filtering in "for in" loops
|
|
|
|
"immed": true, // require immediate functions to be wrapped in ( )
|
|
|
|
"nonbsp": true, // warn on unexpected whitespace breaking chars
|
|
|
|
//"strict": true, // commented out for now as it causes 100s of warnings, but want to get there eventually
|
2016-04-12 16:12:37 +02:00
|
|
|
//"unused": true, // Check for unused functions and variables
|
2015-04-16 11:56:22 +02:00
|
|
|
"loopfunc": true, // allow functions to be defined in loops
|
|
|
|
//"expr": true, // allow ternery operator syntax...
|
2016-04-09 19:00:14 +02:00
|
|
|
"sub": true, // don't warn that foo['bar'] should be written as foo.bar
|
2016-04-12 16:12:37 +02:00
|
|
|
"proto": true // allow setting of __proto__ in node < v0.12
|
2015-04-16 11:56:22 +02:00
|
|
|
}
|