Skip to content

Commit

Permalink
meta: ignore require-default-props lint rule for function components (
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jun 17, 2024
1 parent 2ba00ec commit 287764f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = {
'react/prefer-stateless-function': 'error',
'react/require-default-props': ['error', {
forbidDefaultForRequired: true,
functions: 'defaultArguments',
functions: 'ignore',
}],
'react/sort-comp': 'error',
'react/static-property-placement': 'off',
Expand Down

0 comments on commit 287764f

Please sign in to comment.