You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, since PropTypes.object is forbidden, there's no way to get around jsx-eslint/eslint-plugin-react#833 (using PropTypes.shape) without disabling one of the two rules.
Would you consider disabling the rule until its kinks are ironed out?
The text was updated successfully, but these errors were encountered:
The react/no-unused-prop-types rule is currently quite buggy. In combination with the recently-enabled (here) react/forbid-prop-types, it makes writing propTypes for objects tricky.
For example, since
PropTypes.object
is forbidden, there's no way to get around jsx-eslint/eslint-plugin-react#833 (usingPropTypes.shape
) without disabling one of the two rules.Would you consider disabling the rule until its kinks are ironed out?
The text was updated successfully, but these errors were encountered: