Disable 'throw' of exception caught locally in Webstorm
Hello,
I would like to disable the following hints in JetBrains Webstorm:
'throw' of exception caught locally
Description of the hint:
Inspection info: Reports a throw statement whose exceptions are always caught by the containing try statement. Using throw statements as a goto to change the local flow of control is confusing.
Is there an option, to disable this throwing a warning?
Thank you!
请先登录再写评论。
Did you try disabling JavaScript and TypeScript | Try statement issues | Exception used for local control-flow inspection in Settings | Editor | Inspections?
Hi Elena,
Many thanks. This is exactly the option I was looking for!