Skip to content

Commit

Permalink
Allow Promise reject in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy committed Sep 29, 2024
1 parent 893b968 commit 40aab7e
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 40aab7e

Please sign in to comment.