Closed
Description
Is this a bug report?
No
Why ignoring casing on jsx-no-duplicate-props
?
When using Material-UI, you have components that can have different props with different casing as: inputProps
and InputProps
, input
referring to the rendered DOM element and Input
relating to the React Component.
Is there a specific reason on why CRA specifically ignores the casing instead of just going with the default which is "letting the casing be"? Could we change this rule as it wouldn't be a breaking change (I'm happy to make the PR)?
It's right on this line: https://github.com/facebook/create-react-app/blob/master/packages/eslint-config-react-app/index.js#L232
Thanks for your time,
Florian
Metadata
Metadata
Assignees
Labels
No labels