[eslint config] restore jsx-quotes rule, lost in 52d3401f95

Fixes #846.
This commit is contained in:
Jordan Harband
2016-04-21 10:11:16 -07:00
parent 2d81a2db4a
commit 44ae49ebcf

View File

@@ -13,6 +13,9 @@ module.exports = {
// View link below for react rules documentation
// https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules
'rules': {
// specify whether double or single quotes should be used in JSX attributes
// http://eslint.org/docs/rules/jsx-quotes
'jsx-quotes': [2, 'prefer-double'],
// Prevent missing displayName in a React component definition
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
'react/display-name': [0, { 'ignoreTranspilerName': false }],