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

Commit 747195a

Browse files
committed
no-unused-prop-types is really buggy
jsx-eslint/eslint-plugin-react#861
1 parent f20d856 commit 747195a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

react.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ module.exports = {
6464
"react/no-string-refs": 2,
6565
"react/no-unescaped-entities": 2,
6666
"react/no-unknown-property": 2,
67-
"react/no-unused-prop-types": 2,
67+
// https://github.com/yannickcr/eslint-plugin-react/issues/861
68+
"react/no-unused-prop-types": 0,
6869
"react/prefer-es6-class": 2,
6970
"react/prefer-stateless-function": 2,
7071
"react/prop-types": 2,
@@ -80,7 +81,7 @@ module.exports = {
8081

8182
// defaults
8283
// eslint-disable-next-line max-len
83-
// see https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/rules/sort-comp.js
84+
// https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/rules/sort-comp.js
8485
"static-methods",
8586
"lifecycle",
8687
"everything-else",

0 commit comments

Comments
 (0)