diff --git a/packages/eslint-config-airbnb/rules/style.js b/packages/eslint-config-airbnb/rules/style.js index e1dce37d..25c53268 100644 --- a/packages/eslint-config-airbnb/rules/style.js +++ b/packages/eslint-config-airbnb/rules/style.js @@ -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