Skip to content

Commit 3fd6291

Browse files
committed
Add a rule
1 parent 43fe44c commit 3fd6291

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ export default [
799799
'n/prefer-promises/fs': 2,
800800
'n/prefer-promises/dns': 2,
801801
'promise/catch-or-return': 2,
802+
'promise/prefer-catch': 2,
802803
'promise/always-return': 2,
803804
'promise/param-names': 2,
804805
'promise/valid-params': 2,

0 commit comments

Comments
 (0)