Skip to content
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

False positive with jsx-pascal-case #2683

Closed
Hypnosphi opened this issue Jun 29, 2020 · 3 comments
Closed

False positive with jsx-pascal-case #2683

Hypnosphi opened this issue Jun 29, 2020 · 3 comments

Comments

@Hypnosphi
Copy link
Contributor

<H1>Hello!</H1>

// error  Imported JSX component H1 must be in PascalCase  react/jsx-pascal-case

Introduced in 7.20.1, probably caused by #2636

Workaround: use allowAllCaps or ignore option

@ljharb
Copy link
Member

ljharb commented Jun 29, 2020

cc @yacinehmito

I'll have a fix ready shortly.

@ljharb ljharb closed this as completed in c65b79e Jun 29, 2020
@ljharb
Copy link
Member

ljharb commented Jun 29, 2020

Thanks for the repro; I'll have the fix released later today.

@ljharb
Copy link
Member

ljharb commented Jun 29, 2020

v7.20.2 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants