jsx-eslint / eslint-plugin-react

React-specific linting rules for ESLint
MIT License
8.86k stars 2.75k forks source link

[Fix] `no-object-type-as-default-prop`: enable rule when multiple parameters #3768

Closed JulienR1 closed 2 weeks ago

JulienR1 commented 2 weeks ago

Fixes #3767 by allowing components with more than one parameter to be checked by no-object-type-as-default-prop.