Skip to content

Commit

Permalink
fix(react): two method names
Browse files Browse the repository at this point in the history
  • Loading branch information
glebec committed Mar 24, 2017
1 parent 4c5dca3 commit 0e1c3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ module.exports = {

'react/display-name': 1, // Prevent missing displayName in a React component definition
'react/forbid-component-props': 0, // Forbid certain props on Components
'forbid-elements': 0, // Forbid certain elements
'react/forbid-elements': 0, // Forbid certain elements
'react/forbid-prop-types': 0, // Forbid certain propTypes
'forbid-foreign-prop-types': 0, // Forbid foreign propTypes
'react/forbid-foreign-prop-types': 0, // Forbid foreign propTypes
'react/no-array-index-key': 1, // Prevent using Array index in `key` props
'react/no-children-prop': 1, // Prevent passing children as props
'react/no-danger': 1, // Prevent usage of dangerous JSX properties
Expand Down

0 comments on commit 0e1c3d3

Please sign in to comment.