mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 19:18:17 -05:00
[eslint config] add rule link and defaults to jsx-quotes rule
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user