summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-03-06 13:32:49 +0100
committerAlan Pearce2018-03-06 13:32:49 +0100
commit075223102a057a4215b9caaa51b1fc9217875044 (patch)
treea239c9aef4df0f69cd91a008bc6ffbd92815e0a9
parent113d47cdde4a3cd152322dc6edddb2ddf40d0614 (diff)
downloaddotfiles-075223102a057a4215b9caaa51b1fc9217875044.tar.lz
dotfiles-075223102a057a4215b9caaa51b1fc9217875044.tar.zst
dotfiles-075223102a057a4215b9caaa51b1fc9217875044.zip
Emacs: Don't warn on inconsistent js return statements
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 0f8c687..3689a33 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