File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 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.
4848 "react/wrap-multilines" : 1 ,
4949 "react/self-closing-comp" : 1 ,
5050 "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
5254 }
5355}
5456```
5557
5658# List of supported rules
5759
5860* [ 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
6062* [ display-name] ( docs/rules/display-name.md ) : Prevent missing displayName in a React component definition
6163* [ wrap-multilines] ( docs/rules/wrap-multilines.md ) : Prevent missing parentheses around multilines JSX
6264* [ self-closing-comp] ( docs/rules/self-closing-comp.md ) : Prevent extra closing tags for components without children
6365* [ no-did-mount-set-state] ( docs/rules/no-did-mount-set-state.md ) : Prevent usage of setState in componentDidMount
6466* [ 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
6569
6670## To Do
6771
You can’t perform that action at this time.
0 commit comments