summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-03-06 13:32:49 +0100
committerAlan Pearce2018-03-06 13:32:49 +0100
commit075223102a057a4215b9caaa51b1fc9217875044 (patch)
treea239c9aef4df0f69cd91a008bc6ffbd92815e0a9 /emacs
parent113d47cdde4a3cd152322dc6edddb2ddf40d0614 (diff)
downloadnixfiles-075223102a057a4215b9caaa51b1fc9217875044.tar.lz
nixfiles-075223102a057a4215b9caaa51b1fc9217875044.tar.zst
nixfiles-075223102a057a4215b9caaa51b1fc9217875044.zip
Emacs: Don't warn on inconsistent js return statements
Diffstat (limited to 'emacs')
-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 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