Skip to content

eslint-config-react-app doesn't show unused vars when destructuring at least in stateless components #4186

Closed
@goncy

Description

@goncy

Current configuration:
image

Use case, check onEdit prop:
image

Changing no-unused-vars args prop to all:
image

Result:
image

[eslint] 'onEdit' is defined but never used. (no-unused-vars)

I can create a PR for this if needed, just wanted to know if this was intentional and why, thanks!

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