From 312cd01a959ebe175443ce15b4935f4a916c35d2 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 17 May 2016 13:50:12 -0700 Subject: [PATCH] [eslint config] [base] `quotes`: Use object option form rather than deprecated string form. Per https://github.com/airbnb/javascript/pull/886 --- packages/eslint-config-airbnb-base/rules/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index 48a55daf..8dab9bad 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -209,7 +209,7 @@ module.exports = { 'quote-props': [2, 'as-needed', { 'keywords': false, 'unnecessary': true, 'numbers': false }], // specify whether double or single quotes should be used - 'quotes': [2, 'single', 'avoid-escape'], + 'quotes': [2, 'single', { 'avoidEscape': true }], // do not require jsdoc // http://eslint.org/docs/rules/require-jsdoc