Why ignoring casing on `jsx-no-duplicate-props`?
Created by: fbarbare
Is this a bug report?
No
jsx-no-duplicate-props
?
Why ignoring casing on 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