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

Error while using Control.text from 'react-redux-form' #2932

Closed
JotSinghChawla opened this issue Feb 24, 2021 · 1 comment
Closed

Error while using Control.text from 'react-redux-form' #2932

JotSinghChawla opened this issue Feb 24, 2021 · 1 comment

Comments

@JotSinghChawla
Copy link

Hey, I am using Control.text from 'react-redux-form'
And I am getting an error
Imported JSX component select must be in PascalCase or SCREAMING_SNAKE_CASE

Can someone please help me resolve this issue?
I referred to this https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.md but it doesn't help
I know the issue is in the naming convention of 'Control.text' but there isn't any solution in the official document of Redux.

@ljharb
Copy link
Member

ljharb commented Feb 24, 2021

This is intentional, but the recently merged and unreleased #2917 will provide you with an option that allows it.

Thus, this is a duplicate of #2914.

@ljharb ljharb closed this as completed Feb 24, 2021
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