From 075223102a057a4215b9caaa51b1fc9217875044 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 6 Mar 2018 13:32:49 +0100 Subject: Emacs: Don't warn on inconsistent js return statements --- emacs/.emacs.d/main.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 0f8c6871..3689a33b 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -2127,7 +2127,8 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer." js-switch-indent-offset 2 js2-include-node-externs t js2-highlight-level 1 - js2-strict-missing-semi-warning nil))) + js2-strict-missing-semi-warning nil + js2-strict-inconsistent-return-warning nil))) ;;;;;;; rjsx-mode -- cgit 1.4.1