[Bug]: change default option for functions
option in react/require-default-props
rule
#3543
Closed
2 tasks done
Labels
Is there an existing issue for this?
Description Overview
According to this
issue
, in future version usingdefaultProps
will be deprecated for functions components and not recommended for function components.However, according the
documentation
, function components still relies ondefaultProps
.Expected Behavior
Change the default value of the rule option to be
defaultArguments
instead ofdefaultProps
eslint-plugin-react version
v7.31.11
eslint version
v8.31.0
node version
v18.12.1
The text was updated successfully, but these errors were encountered: