Skip to content

Commit 6685b92

Browse files
committed
enable promise/always-return
errors avoided by previously avoiding then/catch
1 parent 6b2b467 commit 6685b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ rules:
183183
# https://github.com/eslint-community/eslint-plugin-promise/blob/main/README.md
184184
##############################################################################
185185

186-
promise/always-return: off
186+
promise/always-return: error
187187
promise/avoid-new: off
188188
promise/catch-or-return: error
189189
promise/no-callback-in-promise: error

0 commit comments

Comments
 (0)