Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Nov 6, 2016
1 parent 83287d1 commit 427f28d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ module.exports = {
'react/display-name': 'error',
// Forbid certain propTypes (any, array, object)
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-prop-types.md
'react/forbid-prop-types': [ 'error', { forbid: [ 'any', 'array', 'object' ] }],
'react/forbid-prop-types': [
'error', { forbid: [ 'any', 'array', 'object' ] },
],
// Enforce or disallow spaces inside of curly braces in JSX attributes
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
'react/jsx-curly-spacing': [ 'error', 'never', { allowMultiline: true }],
Expand Down

0 comments on commit 427f28d

Please sign in to comment.