From 6e7a4b8d3d2bcca0310c2a7b1e264a5b07ee8696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kiss=20R=C3=B3bert?= Date: Wed, 5 Aug 2026 19:50:17 +0200 Subject: [PATCH] style: allow @typescript-eslint/prefer-promise-reject-errors rule --- eslint.config.mjs | 1 - packages/uhk-usb/src/utils/get-package-json-from-path-async.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index fab49434f08..1ace33295af 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -23,7 +23,6 @@ export const typescriptRules = { '@typescript-eslint/no-wrapper-object-types': 'off', '@typescript-eslint/only-throw-error': 'off', '@typescript-eslint/require-await': 'off', - '@typescript-eslint/prefer-promise-reject-errors': 'off', '@typescript-eslint/restrict-template-expressions': 'off', '@typescript-eslint/unbound-method': 'off', 'no-prototype-builtins': 'off', diff --git a/packages/uhk-usb/src/utils/get-package-json-from-path-async.ts b/packages/uhk-usb/src/utils/get-package-json-from-path-async.ts index 35b5cd6cc79..66ed41e07af 100644 --- a/packages/uhk-usb/src/utils/get-package-json-from-path-async.ts +++ b/packages/uhk-usb/src/utils/get-package-json-from-path-async.ts @@ -13,7 +13,7 @@ export const getPackageJsonFromPathAsync = async (filePath: string): Promise