From b0f6ef585f40d52676b0ae7f57f0c3892acd65f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Thu, 8 Feb 2024 22:53:25 +0100 Subject: [PATCH] feat: add `@typescript-eslint/prefer-promise-reject-errors` BREAKING CHANGE: New rule introduced --- .eslintrc.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index acf50c1..ae00529 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -338,6 +338,8 @@ "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-ts-expect-error": "error", "@typescript-eslint/promise-function-async": "error", + "prefer-promise-reject-errors": "off", + "@typescript-eslint/prefer-promise-reject-errors": "error", "@typescript-eslint/require-array-sort-compare": [ "error", { "ignoreStringArrays": true }