Skip to content

Commit e5cf63a

Browse files
committed
Treat process.exit() the same as throw in code path analysis rules (node/process-exit-as-throw)
Fixes: standard/standard#699
1 parent 62fd746 commit e5cf63a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
"import/no-webpack-loader-syntax": "error",
182182

183183
"node/no-deprecated-api": "error",
184+
"node/process-exit-as-throw": "error",
184185

185186
"promise/param-names": "error",
186187

0 commit comments

Comments
 (0)