I\'ve setup eslint & eslint-plugin-react.
eslint
eslint-plugin-react
When I run ESLint, the linter returns no-unused-vars errors for each React comp
no-unused-vars
Since I found this while googling, you should know that this simple rule is enough to prevent this message:
react/jsx-uses-react
The react/recommended set of rules adds many other rules you may not want.
react/recommended