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

Commit 2ce81c3

Browse files
authored
remove duplicated keys
react/forbid-prop-types react/no-set-state
1 parent 56a0fb5 commit 2ce81c3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

unused.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ module.exports = {
9999
// Unused, too restrictive.
100100
'object-curly-newline': 0,
101101

102-
// eslint-plugin-react
103-
104102
// Forbid certain propTypes
105103
// This rule checks all JSX components and verifies that no forbidden propsTypes are used.
106104
'react/forbid-prop-types': 0,
@@ -137,12 +135,6 @@ module.exports = {
137135
// Forbid certain props on Components
138136
'react/forbid-component-props': [0, { forbid: [] }],
139137

140-
// Forbid certain propTypes
141-
'react/forbid-prop-types': 0,
142-
143-
// Prevent usage of setState
144-
'react/no-set-state': 0,
145-
146138
// Enforce React components to have a shouldComponentUpdate method
147139
'react/require-optimization': 0
148140
}

0 commit comments

Comments
 (0)