]> code.delx.au - dotemacs/commitdiff
disable js2-mode warnings, flycheck is better
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 14 Aug 2016 23:57:18 +0000 (09:57 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 14 Aug 2016 23:57:56 +0000 (09:57 +1000)
lisp/my-file-modes.el

index 31ae0bd9891d580fb2b3198e6236e00ca241f887..a055166eb12c9c778775166c866ad514afbb3e2e 100644 (file)
@@ -31,6 +31,8 @@
 (add-to-list 'interpreter-mode-alist '("node" . js2-mode))
 (setq js2-concat-multiline-strings 'eol)
 (setq js2-highlight-external-variables nil)
+(setq js2-mode-show-parse-errors nil)
+(setq js2-mode-show-strict-warnings nil)
 
 (require 'markdown-mode)
 (define-key markdown-mode-map (kbd "M-{") 'markdown-beginning-of-block)