no-process-exit

- Disallow the use of process.exit()

This rule aims to prevent the use of process.exit() in Node.js JavaScript. As such, it warns whenever process.exit() is found in code.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.