Skip to content

Commit

Permalink
fix: make component definition match prior style (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihalgonsalves authored May 24, 2022
1 parent 6aebf4f commit c43253f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ module.exports = {
"import/no-default-export": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/function-component-definition": [
"error",
{
namedComponents: "arrow-function",
unnamedComponents: "arrow-function",
},
],

/**
* Disallow the use of console.
Expand Down

0 comments on commit c43253f

Please sign in to comment.