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
When using the rule react/sort-prop-types with callbacksLast set to true, it sometimes returns the same error multiple times instead of showing different errors. For example with this code:
3:5 error Callback prop types must be listed after all other prop types react/sort-prop-types
3:5 error Callback prop types must be listed after all other prop types react/sort-prop-types
3:5 error Callback prop types must be listed after all other prop types react/sort-prop-types
The error for the position of onChange should only be printed once, and it should report that b or c is at the wrong position.
The text was updated successfully, but these errors were encountered:
When using the rule
react/sort-prop-types
withcallbacksLast
set totrue
, it sometimes returns the same error multiple times instead of showing different errors. For example with this code:It gives this output:
The error for the position of
onChange
should only be printed once, and it should report thatb
orc
is at the wrong position.The text was updated successfully, but these errors were encountered: