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
I am using React Router, which has a ReactRouterPropTypes package for defining prop types. When using it like:
User.propTypes = { match: ReactRouterPropTypes.match.isRequired, history: ReactRouterPropTypes.history.isRequired,
I get these errors:
493:33 error Typo in declared prop type: history react/no-typos 494:31 error Typo in declared prop type: match react/no-typos
Dependencies:
"eslint": "4.19.0", "eslint-config-airbnb": "16.1.0", "eslint-config-airbnb-base": "12.1.0", "eslint-plugin-import": "2.11.0", "eslint-plugin-jsx-a11y": "6.0.3", "eslint-plugin-react": "7.7.0",
The text was updated successfully, but these errors were encountered:
Indeed; typos should only be checked on React.PropTypes and the prop-types package.
Sorry, something went wrong.
I believe this was fixed in v7.8.0 with #1671. I would suggest upgrading and re-verifying.
Closing, but will reopen if it’s still an issue.
No branches or pull requests
I am using React Router, which has a ReactRouterPropTypes package for defining prop types. When using it like:
User.propTypes = {
match: ReactRouterPropTypes.match.isRequired,
history: ReactRouterPropTypes.history.isRequired,
I get these errors:
Dependencies:
The text was updated successfully, but these errors were encountered: