sbdchd / eslint-plugin-cake

:cake: Sweet rules for ESLint
MIT License
1 stars 0 forks source link

ref(rule): no-partial-arg-destructure #19

Closed sbdchd closed 3 years ago

sbdchd commented 3 years ago

Allow some props so react-router types work.

Using Pick with RouteComponentsProps causes withRouter not to work since withRouter requires the component props extend RouteComponentProps.

Otherwise we'd need to refactor the components to not use withRouter.