Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit 08c647b

Browse files
committed
feat: add prefer-promise-reject-errors
BREAKING CHANGE: this requires all promises to be rejected with an error
1 parent 060194a commit 08c647b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = {
5454
'@typescript-eslint/prefer-nullish-coalescing': ['error'],
5555
'@typescript-eslint/prefer-optional-chain': ['error'],
5656
'@typescript-eslint/explicit-module-boundary-types': ['error'],
57+
'prefer-promise-reject-errors': ['error'],
5758
},
5859
env: {
5960
browser: true,

0 commit comments

Comments
 (0)