ESLint VSCode plugin not working with eslint.config.mjs
I have an Express.js API, and I’m using the latest version of ESLint (9.10.0). I’ve been trying to enable code warnings and errors in VS Code, but when I run npx eslint --init
, ESLint creates an eslint.config.mjs file instead of a .eslintrc file, even though the ESLint plugin documentation mentions that it works with .eslintrc.
ESLint VSCode plugin not working with eslint.config.mjs
I have an Express.js API, and I’m using the latest version of ESLint (9.10.0). I’ve been trying to enable code warnings and errors in VS Code, but when I run npx eslint --init
, ESLint creates an eslint.config.mjs file instead of a .eslintrc file, even though the ESLint plugin documentation mentions that it works with .eslintrc.
ESLint VSCode plugin not working with eslint.config.mjs
I have an Express.js API, and I’m using the latest version of ESLint (9.10.0). I’ve been trying to enable code warnings and errors in VS Code, but when I run npx eslint --init
, ESLint creates an eslint.config.mjs file instead of a .eslintrc file, even though the ESLint plugin documentation mentions that it works with .eslintrc.
Visual Studio Code does not highlight JavaScript code problems like other IDEs
The following lines have an obvious error:
How do I configure ESLint in VS Code for JS module script
I am using VS Code to work on a web page (using Leaflet). In my index.html I run the JS with: