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

Commit f1ae1d4

Browse files
React: Skip shape props
Fixes #21
1 parent 5807f1d commit f1ae1d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

environments/react/recommended.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ module.exports = {
166166
// Warns you if you have defined a prop type but it is never being used anywhere.
167167
'react/no-unused-prop-types': ['error', {
168168
customValidators: [],
169-
skipShapeProps: false,
169+
// Enabled after discussion in #21
170+
skipShapeProps: true,
170171
}],
171172

172173
// Prevent definition of unused state fields

0 commit comments

Comments
 (0)