File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,24 @@ Finally, enable all of the rules that you would like to use.
48
48
"react/wrap-multilines" : 1 ,
49
49
"react/self-closing-comp" : 1 ,
50
50
"react/no-did-mount-set-state" : 1 ,
51
- "react/no-did-update-set-state" : 1
51
+ "react/no-did-update-set-state" : 1 ,
52
+ "react/jsx-uses-react" : 1 ,
53
+ "react/react-in-jsx-scope" : 1
52
54
}
53
55
}
54
56
```
55
57
56
58
# List of supported rules
57
59
58
60
* [ no-multi-comp] ( docs/rules/no-multi-comp.md ) : Prevent multiple component definition per file
59
- * [ prop-types] ( docs/rules/prop-types.md ) : Prevent missing propTypes in a React component definition
61
+ * [ prop-types] ( docs/rules/prop-types.md ) : Prevent missing props validation in a React component definition
60
62
* [ display-name] ( docs/rules/display-name.md ) : Prevent missing displayName in a React component definition
61
63
* [ wrap-multilines] ( docs/rules/wrap-multilines.md ) : Prevent missing parentheses around multilines JSX
62
64
* [ self-closing-comp] ( docs/rules/self-closing-comp.md ) : Prevent extra closing tags for components without children
63
65
* [ no-did-mount-set-state] ( docs/rules/no-did-mount-set-state.md ) : Prevent usage of setState in componentDidMount
64
66
* [ no-did-update-set-state] ( docs/rules/no-did-update-set-state.md ) : Prevent usage of setState in componentDidUpdate
67
+ * [ jsx-uses-react] ( docs/rules/jsx-uses-react.md ) : Make JSX count towards use of a declared variable
68
+ * [ react-in-jsx-scope] ( docs/rules/react-in-jsx-scope.md ) : Prevent errors from not requiring React when using JSX
65
69
66
70
## To Do
67
71
You can’t perform that action at this time.
0 commit comments