From 534aed7f7cd700cc83a9d61f928bba6628e05c86 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 31 Jul 2021 13:58:38 -0400 Subject: throw error objects instead of strings --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index ce38925..d709a3f 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,9 @@ "minimumDescriptionLength": 5 } ], - "@typescript-eslint/no-floating-promises": "warn" + "@typescript-eslint/no-floating-promises": "warn", + "prefer-promise-reject-errors": "warn", + "no-throw-literal": "warn" } }, "prettier": { -- cgit