Skip to content

"ESLint: Error while loading rule 'react/display-name': Cannot find module 'react' from '/home/...'. #2346

Closed
@sgehrman

Description

@sgehrman

This version works:
"eslint-plugin-react": "7.11.1",

But new versions are broken. My project is a bit non standard. We have the package.json inside the source folder, so it seems the new versions don't find it in this case, but it has worked fine when using 7.11.1

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