Skip to content

Commit

Permalink
Allow Promise reject in tests (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Sep 29, 2024
1 parent 893b968 commit 3ee31b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-skuba/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ module.exports = [

// Allow edge-case error handling tests, including from skuba's templates
'@typescript-eslint/only-throw-error': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'off',

// Allow potential floating promises in tests only for Koa compatibility
// https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.md#checksvoidreturn
Expand Down

0 comments on commit 3ee31b9

Please sign in to comment.