From a8461e045328daf2ae8b007301d9cbb6607383bc Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 3 Feb 2016 18:28:07 -0800 Subject: [PATCH] [eslint config] [fix] fix `npm run lint` --- packages/eslint-config-airbnb/rules/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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