Enable eslint and eslint-plugin-react-hooks in TSX files

I'm able to get eslint-plugin-react-hooks working with Webstorm in JSX, but not TSX.    How can I enable it for TSX files?  Actually it doesn't appear that ESLint is working for me at all in TSX files.  Thanks.

0
2 comments

Edit: my mistake.  ESLint does work in TSX files, but only in some files.  In others, there is no ESLint.

What could be going on there?

0

make sure that these files are not in .eslintignore; if it's not the case, please share a project the issue can be reproduced with

0

Please sign in to leave a comment.