all repos — archive/dotfiles @ 075223102a057a4215b9caaa51b1fc9217875044

Superseded by nixfiles

Emacs: Don't warn on inconsistent js return statements
Alan Pearce alan@alanpearce.eu
Tue, 06 Mar 2018 13:32:49 +0100
commit

075223102a057a4215b9caaa51b1fc9217875044

parent

113d47cdde4a3cd152322dc6edddb2ddf40d0614

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2127,7 +2127,8 @@ (setq js2-basic-offset 2                   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