VSCode & ESLint - Not displaying errors but giving ESLint errors

82 views Asked by At

I have a .eslintrc.js configuration file in my workspace; when I break a rule enforced by ESLint, my React application gives the errors and it works as expected.

enter image description here

What I'd like to see is the linting in VSCode telling me what is wrong however, there are none.

enter image description here

I've used it previously where it tells you what is wrong and gives options to resolve, even if it's an // eslint-disable-next-line no-console for example.

I've been through workspace/user settings and compared with my old machine and they all appear to be the same (with thanks to settings sync) but recently, it's stopped working on my old machine (I guess, with thanks to settings sync).

Am I missing something simple?

In the ESLint console, there are some complaints that it can't find the config file

enter image description here

0

There are 0 answers