We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isRequired
I have the following:
const { func } = PropTypes; Component.propTypes = { prop: func.isRequired, }
The plugin is marking isRequired as invalid, saying
Typo in declared proptype: isRequired (react/no-typos)
Perhaps there's some regular expression thing that's checking after the first ., aka assuming it begins with PropTypes?
.
PropTypes
The text was updated successfully, but these errors were encountered:
Duplicate of #1389.
Sorry, something went wrong.
No branches or pull requests
I have the following:
The plugin is marking
isRequired
as invalid, sayingPerhaps there's some regular expression thing that's checking after the first
.
, aka assuming it begins withPropTypes
?The text was updated successfully, but these errors were encountered: