[react-hooks/exhaustive-deps] Generic Type parameters are being included in dependency array warning #2522
Labels
duplicate
This issue or pull request already exists
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
When using generic react components a warning about the generic type is fired about dependency arrays. It only fires when the parser is a version 4 or higher - this did not occur with version 3.8
Expected Result
No warning
Actual Result
Additional Info
Versions
@typescript-eslint/eslint-plugin
4.1.0
@typescript-eslint/parser
4.1.0
TypeScript
4.0.2
ESLint
7.8.1
node
14.4.0
The text was updated successfully, but these errors were encountered: