From bf08f999bbf57dcfc3c343b8e85885841e4dbcd7 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 15 Aug 2016 09:57:18 +1000 Subject: [PATCH] disable js2-mode warnings, flycheck is better --- lisp/my-file-modes.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/my-file-modes.el b/lisp/my-file-modes.el index 31ae0bd..a055166 100644 --- a/lisp/my-file-modes.el +++ b/lisp/my-file-modes.el @@ -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) -- 2.39.2