You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feross
changed the title
Make the same code path as throw at process.exit() (process-exit-as-throw)
Make the same code path as throw at process.exit() (node/process-exit-as-throw)
Mar 2, 2017
feross
changed the title
Make the same code path as throw at process.exit() (node/process-exit-as-throw)
Treat process.exit() the same as throw in code path analysis rules (node/process-exit-as-throw)
Mar 2, 2017
This rule makes
process.exit()
get treated like athrow
, which makes other eslint rules work better.https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/process-exit-as-throw.md
(This rule depends on
eslint-plugin-node
, so we should only add it if we're already depending on the plugin due to #693)The text was updated successfully, but these errors were encountered: