Skip to content

Commit

Permalink
enable promise/always-return
Browse files Browse the repository at this point in the history
errors avoided by previously avoiding then/catch
  • Loading branch information
yaacovCR committed Dec 13, 2022
1 parent a5ed0f1 commit be839df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ rules:
# https://github.com/eslint-community/eslint-plugin-promise/blob/main/README.md
##############################################################################

promise/always-return: off
promise/always-return: error
promise/avoid-new: off
promise/catch-or-return: error
promise/no-callback-in-promise: error
Expand Down

0 comments on commit be839df

Please sign in to comment.