From 28476a25d8609d3a80d130b8a4dadc4d0a84ca47 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 15 Dec 2015 13:06:28 -0800 Subject: [PATCH] [eslint config] add rule link and defaults to `jsx-quotes` rule --- packages/eslint-config-airbnb/rules/style.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb/rules/style.js b/packages/eslint-config-airbnb/rules/style.js index 204d69c5..e65e0f3e 100644 --- a/packages/eslint-config-airbnb/rules/style.js +++ b/packages/eslint-config-airbnb/rules/style.js @@ -26,7 +26,8 @@ module.exports = { // https://github.com/eslint/eslint/blob/master/docs/rules/indent.md 'indent': [2, 2, { "SwitchCase": 1, "VariableDeclarator": 1 }], // specify whether double or single quotes should be used in JSX attributes - 'jsx-quotes': 2, + // http://eslint.org/docs/rules/jsx-quotes + 'jsx-quotes': [2, 'prefer-double'], // enforces spacing between keys and values in object literal properties 'key-spacing': [2, {'beforeColon': false, 'afterColon': true}], // enforces empty lines around comments