Reputation: 118
When using the package: https://www.npmjs.com/package/eslint-plugin-react-hooks Is it supposed to add visual yellow underline warnings on react component while using vscode? Or that just add the warnings when you are running the app on the terminal log?
Mine only display those hook warnings on the log and I am wondering how to enable that in the code itself
Upvotes: 0
Views: 327
Reputation: 34
That won't work in vscode however, if you add a linter extension it should do the job you want to do.
I couldn't suggest one as I don't use one but have a search in the extensions tab of vscode, there's bound to be something that suits.
Upvotes: 1