eslint-plugin-node
eslint-plugin-node copied to clipboard
ESLint 8.x regression: node/process-exit-as-throw no longer works
Is anything broken in the current release and needs fixing for ESLint 8?
Hi @voxpelli! I have one thing that is broken. The following file is currently not behaving correctly with Eslint version 8: https://github.com/adeira/universe/blob/8cff40fc01c2aca6ae01ec53cd8d1be07afd8c84/src/eslint-config-adeira/tests/fixtures/valid-eslint-examples/node/process-exit-as-throw.js
We created this file based on the official example because of some previous problems with this rule. Here is the error we are getting:
![Screen Shot 2021-10-26 at 9 06 31](https://user-images.githubusercontent.com/978368/138895855-713a59e8-e645-43a2-bff7-d5ff08fa2416.png)
Thanks for having a look!
Originally posted by @mrtnzlml in https://github.com/mysticatea/eslint-plugin-node/issues/294#issuecomment-951977713