Skip to content

Commit

Permalink
Eslint disable trailing comma on function args
Browse files Browse the repository at this point in the history
  • Loading branch information
bgonp committed Mar 18, 2021
1 parent 7bfbf74 commit 95b55a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
},
"plugins": ["react", "@typescript-eslint", "react-hooks"],
"rules": {
"comma-dangle": ["error", "always-multiline"],
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"react/prop-types": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
Expand Down

0 comments on commit 95b55a9

Please sign in to comment.