Is it possible to disable warning for functions that not always return value in js2-mode?
1 Answer
The variable responsible for this is js2-strict-inconsistent-return-warning
. Just set it to nil
.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityThe variable responsible for this is js2-strict-inconsistent-return-warning
. Just set it to nil
.
js2-ingored-warnings
variablejs2-mode
. Open a.js
file and search for a variable after opening that filejs2-ignored-warnings
.js2-strict-inconsistent-return-warning
? Also most people disable js2-mode warnings and useflycheck
with some linter.