Skip to content

Config fix for eslint react/jsx-no-duplicate-props #7054

Closed
@rommguy

Description

@rommguy

First - thanks for this amazing tool, it's one of the best tools I've used

Bug report -
The eslint rules here have a config problem with react/jsx-no-duplicate-props - ignoreCase param should be false.
Some APIs like Material UI TextField allow different props with case differences only. In the Material UI example a TextField can get inputProps for the input dom node, and InputProps for the Input component.
So the config for this rule should have ignoreCase: false

I'll be happy to create a PR for this
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