Skip to content

Commit

Permalink
[eslint config] restore jsx-quotes rule, lost in 52d3401
Browse files Browse the repository at this point in the history
Fixes airbnb#846.
  • Loading branch information
ljharb committed Apr 21, 2016
1 parent 2d81a2d commit 44ae49e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }],
Expand Down

0 comments on commit 44ae49e

Please sign in to comment.