[eslint config] [fix] fix npm run lint

This commit is contained in:
Jordan Harband
2016-02-03 18:28:07 -08:00
parent 6f1d92851c
commit a8461e0453

View File

@@ -76,7 +76,7 @@ module.exports = {
// disallow the use of Boolean literals in conditional expressions
// also, prefer `a || b` over `a ? a : b`
// http://eslint.org/docs/rules/no-unneeded-ternary
'no-unneeded-ternary': [2, { "defaultAssignment": false }],
'no-unneeded-ternary': [2, { 'defaultAssignment': false }],
// require padding inside curly braces
'object-curly-spacing': [2, 'always'],
// allow just one var statement per function