From e5cf63a6c336c51868920f91d376aa4ae55d200e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 2 Mar 2017 00:53:27 -0800 Subject: [PATCH] Treat process.exit() the same as throw in code path analysis rules (node/process-exit-as-throw) Fixes: https://github.com/feross/standard/issues/699 --- eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eslintrc.json b/eslintrc.json index 7b5de8e8..893be93a 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -181,6 +181,7 @@ "import/no-webpack-loader-syntax": "error", "node/no-deprecated-api": "error", + "node/process-exit-as-throw": "error", "promise/param-names": "error",