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.
请先登录再写评论。
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?
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