From d4ddf836f4136c984f0b563b8e74905197fbcc09 Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Sat, 6 Jul 2019 17:17:39 +0200 Subject: [PATCH] Add catch-or-return Fixes #129 --- eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eslintrc.json b/eslintrc.json index 043c1c7f..550639d7 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -205,6 +205,7 @@ "node/no-deprecated-api": "error", "node/process-exit-as-throw": "error", + "promise/catch-or-return": "error", "promise/param-names": "error", "standard/no-callback-literal": "error"