Closed
Description
Description
The "Displaying Lint Output in the Editor" instructions do not work for VS Code.
Expected behavior
I expect my editor to show linting warnings and errors.
Actual behavior
ESLint is unable to load.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected): This is coming back empty...node -v
: 6.5.0npm -v
: 3.10.3
Then, specify:
- Operating system: macOS
- Browser and version: N/A
- VS Code version: 1.5.3
Reproducible Demo
My working version of @wesbos's React for Beginners project. I did change the value of eslintConfig.extends
in package.json
like the instructions state. Pull from c55d10ae48718695a0fca61b0981c8a4974ea92f
to get a state where ESLint didn't work.
Workaround
I got ESLint to work in VS Code by adding all of the dependencies (including [email protected]) as local dev dependencies to my project.