Skip to content

Commit 0e1c3d3

Browse files
committed
fix(react): two method names
1 parent 4c5dca3 commit 0e1c3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ module.exports = {
2727

2828
'react/display-name': 1, // Prevent missing displayName in a React component definition
2929
'react/forbid-component-props': 0, // Forbid certain props on Components
30-
'forbid-elements': 0, // Forbid certain elements
30+
'react/forbid-elements': 0, // Forbid certain elements
3131
'react/forbid-prop-types': 0, // Forbid certain propTypes
32-
'forbid-foreign-prop-types': 0, // Forbid foreign propTypes
32+
'react/forbid-foreign-prop-types': 0, // Forbid foreign propTypes
3333
'react/no-array-index-key': 1, // Prevent using Array index in `key` props
3434
'react/no-children-prop': 1, // Prevent passing children as props
3535
'react/no-danger': 1, // Prevent usage of dangerous JSX properties

0 commit comments

Comments
 (0)