Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it possible to disable warning for functions that not always return value in js2-mode?
The variable responsible for this is js2-strict-inconsistent-return-warning. Just set it to nil.
Required, but never shown