Skip to content

Commit

Permalink
disable reacts require default props
Browse files Browse the repository at this point in the history
  • Loading branch information
GRBurst committed Jun 19, 2024
1 parent ea7ecb4 commit 4aef943
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
'react/require-default-props': [
'error',
{
forbidDefaultForRequired: true,
ignoreFunctionalComponents: true,
},
],
},
}

0 comments on commit 4aef943

Please sign in to comment.