Closed fregante closed 2 years ago
I think you should open an issue on the ESLint TypeScript project. Ideally, there should be an option called allowRethrowingUnknown
. I think allowing throwing unknown
in general is pretty unsafe, but I'm ok with allowing this for now.
This piece of configuration is currently blocking plain code like: