Skip to content

Commit

Permalink
[eslint config] [patch] set react/no-unused-prop-types to “warn”, p…
Browse files Browse the repository at this point in the history
…ending bugfixes.

Closes #1099.
  • Loading branch information
ljharb committed Oct 22, 2016
1 parent 0bb3eb5 commit a06831d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-airbnb/rules/react.js
Expand Up @@ -271,10 +271,10 @@ module.exports = {

// Prevent unused propType definitions
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unused-prop-types.md
'react/no-unused-prop-types': ['error', {
'react/no-unused-prop-types': ['warn', {
customValidators: [
],
skipShapeProps: false,
skipShapeProps: true,
}],

// Require style prop value be an object or var
Expand Down

0 comments on commit a06831d

Please sign in to comment.