Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
React: Skip shape props
Browse files Browse the repository at this point in the history
Fixes #21
  • Loading branch information
robertrossmann committed Aug 29, 2017
1 parent 5807f1d commit f1ae1d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion environments/react/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ module.exports = {
// Warns you if you have defined a prop type but it is never being used anywhere.
'react/no-unused-prop-types': ['error', {
customValidators: [],
skipShapeProps: false,
// Enabled after discussion in #21
skipShapeProps: true,
}],

// Prevent definition of unused state fields
Expand Down

0 comments on commit f1ae1d4

Please sign in to comment.