Skip to content

Commit

Permalink
chore: require parentheses for arrow function arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
aoelen committed Feb 26, 2024
1 parent 000224d commit 288c455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"ignoreComments": true
}
],
"arrow-parens": [2, "as-needed"],
"arrow-parens": [1, "always"],
"no-param-reassign": [
1,
{
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"tabWidth": 4,
"endOfLine": "auto",
"trailingComma": "all",
"arrowParens": "avoid"
"arrowParens": "always"
}

0 comments on commit 288c455

Please sign in to comment.