Skip to content

False positive: react/no-multi-comp #3412

Closed
@boonya

Description

@boonya

I use eslint-plugin-react@7.29.4 & prop-types in my project. Everything fine. But once I update eslint-plugin-react to 7.31.x even to the latest one which is 7.31.6 currently. I have a false positive error Declare only one React component per file react/no-multi-com issue reported.

MenuList js — tp (Workspace) 2022-09-05 20-15-33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions