aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-31 13:58:38 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-31 13:58:38 -0400
commit534aed7f7cd700cc83a9d61f928bba6628e05c86 (patch)
tree66e8d883e78540151a1e2092f474c53b692af55e /package.json
parentedcc0dd0a9228192ff6c4f6d6797dd6238e98f92 (diff)
downloadtanzanite-534aed7f7cd700cc83a9d61f928bba6628e05c86.tar.gz
tanzanite-534aed7f7cd700cc83a9d61f928bba6628e05c86.tar.bz2
tanzanite-534aed7f7cd700cc83a9d61f928bba6628e05c86.zip
throw error objects instead of strings
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
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": {