Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Commit

Permalink
no-unused-prop-types is really buggy
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Sep 24, 2016
1 parent f20d856 commit 747195a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ module.exports = {
"react/no-string-refs": 2,
"react/no-unescaped-entities": 2,
"react/no-unknown-property": 2,
"react/no-unused-prop-types": 2,
// https://github.com/yannickcr/eslint-plugin-react/issues/861
"react/no-unused-prop-types": 0,
"react/prefer-es6-class": 2,
"react/prefer-stateless-function": 2,
"react/prop-types": 2,
Expand All @@ -80,7 +81,7 @@ module.exports = {

// defaults
// eslint-disable-next-line max-len
// see https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/rules/sort-comp.js
// https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/rules/sort-comp.js
"static-methods",
"lifecycle",
"everything-else",
Expand Down

0 comments on commit 747195a

Please sign in to comment.