It looks like false negatives for react/no-unused-prop-types is a known issue: github.com/jsx-eslint/eslint-plugi.... Given that it doesn't work with React.FC types anyway, I'm considering disabling this in my rule set, though it is useful at times.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you! It really helps!
I also applied the rules in github.com/dooboolab-community/esl...
The only difference is that I prefer
function-declarationin react/function-component-definition.Also, I found a bug in react/no-unused-prop-types.
You can see the
falsenegative in above screenshot 🤔It looks like false negatives for
react/no-unused-prop-typesis a known issue: github.com/jsx-eslint/eslint-plugi.... Given that it doesn't work withReact.FCtypes anyway, I'm considering disabling this in my rule set, though it is useful at times.