Skip to content

"Displaying Lint Output in the Editor" instructions not working in VS Code #860

Closed
@martellaj

Description

@martellaj

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:

  1. npm ls react-scripts (if you haven’t ejected): This is coming back empty...
  2. node -v: 6.5.0
  3. npm -v: 3.10.3

Then, specify:

  1. Operating system: macOS
  2. Browser and version: N/A
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions