-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[jsx-pascal-case] label variable fail #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you give me a code sample that trigger that invalid lint errors ? |
I ran into same problem today with this code, render() {
const {label} = this.props;
return <label className="...">{label}</label>;
} From my perspective it happens, cause ESLint seeing defined ps. I fixed the error with |
@yannickcr yep the same here |
Seems to be a duplicate of #329 |
The label tag is failing on this rule
Imported JSX component label must be in PascalCase
react/jsx-pascal-case
The text was updated successfully, but these errors were encountered: