Skip to content

Commit 28476a2

Browse files
committed
[eslint config] add rule link and defaults to jsx-quotes rule
1 parent 09bf5e8 commit 28476a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/eslint-config-airbnb/rules

packages/eslint-config-airbnb/rules/style.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ module.exports = {
2626
// https://github.com/eslint/eslint/blob/master/docs/rules/indent.md
2727
'indent': [2, 2, { "SwitchCase": 1, "VariableDeclarator": 1 }],
2828
// specify whether double or single quotes should be used in JSX attributes
29-
'jsx-quotes': 2,
29+
// http://eslint.org/docs/rules/jsx-quotes
30+
'jsx-quotes': [2, 'prefer-double'],
3031
// enforces spacing between keys and values in object literal properties
3132
'key-spacing': [2, {'beforeColon': false, 'afterColon': true}],
3233
// enforces empty lines around comments

0 commit comments

Comments
 (0)