ESLint is not running because the deprecated setting 'eslint.enable' is set to false. Remove the setting and use the extension disablement feature

Viewed 1067

ESLint is not working on my React project, and it keep showing below error even I reinstall vs code(version:1.52.1)

But I have another computer without any problem.

enter image description here

I was wondering if there are any extensions interfere with each other,

so I removed some extensions and still not working.

Here are the rest.

enter image description here

2 Answers

My issue was that the settings file of the project itself (.vscode/settings.json) had the setting "eslint.enable": false, in it, for some reason. Removing that fixed the issue for me.

Open Code > Preferences > Settings

enter image description here

Search keyword "eslint", and enable "Always show the ESlint status bar item."

enter image description here

And make sure ESlint is running at bottom right.

enter image description here

Related