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
{{ message }}
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
[eslint] 'links.*.url' PropType is defined but prop is never used (react/no-unused-prop-types)
I think we should set skipShapeProps to true. Or am I missing something? I found the similar issue that describes the problem more for example here jsx-eslint/eslint-plugin-react#819.
The text was updated successfully, but these errors were encountered:
@dannytce indeed, why? I thought skipping any type of props validation is not a good thing but if you guys have valid reasons to turn that option off I'm okay with it.
@robertrossmann Rule react/no-unused-prop-types is broken. It should be set to only warning level with skipShapeProps: true as it is causing a lot of false positives.
Why do we have
skipShapeProps: false
for this rule?Let's say I have:
Then I get
I think we should set
skipShapeProps
totrue
. Or am I missing something? I found the similar issue that describes the problem more for example here jsx-eslint/eslint-plugin-react#819.The text was updated successfully, but these errors were encountered: