Skip to content

Commit

Permalink
Ignore the js2 warning
Browse files Browse the repository at this point in the history
For more info
* See `js2-message-table` variable for all error messages
(C-h v js2-message-table).
* PR: mooz/js2-mode#404
  • Loading branch information
tejasbubane committed May 8, 2017
1 parent 667e78a commit 0d6352c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions myconfig/20_js2_mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

(add-hook 'js2-mode-hook (lambda () (electric-pair-mode 1)))

(setq-default
js2-ignored-warnings
'("msg.no.side.effects"))

;; Tern.JS
;; (add-to-list 'load-path "~/tern/emacs/")
;; (autoload 'tern-mode "tern.el" nil t)
Expand Down

0 comments on commit 0d6352c

Please sign in to comment.