We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c5dca3 commit 0e1c3d3Copy full SHA for 0e1c3d3
1 file changed
rules/react.js
@@ -27,9 +27,9 @@ module.exports = {
27
28
'react/display-name': 1, // Prevent missing displayName in a React component definition
29
'react/forbid-component-props': 0, // Forbid certain props on Components
30
- 'forbid-elements': 0, // Forbid certain elements
+ 'react/forbid-elements': 0, // Forbid certain elements
31
'react/forbid-prop-types': 0, // Forbid certain propTypes
32
- 'forbid-foreign-prop-types': 0, // Forbid foreign propTypes
+ 'react/forbid-foreign-prop-types': 0, // Forbid foreign propTypes
33
'react/no-array-index-key': 1, // Prevent using Array index in `key` props
34
'react/no-children-prop': 1, // Prevent passing children as props
35
'react/no-danger': 1, // Prevent usage of dangerous JSX properties
0 commit comments