Include node externs and don't warn about semicolons
This commit is contained in:
parent
74052aa9ec
commit
4b9fecb6f4
1 changed files with 2 additions and 0 deletions
|
@ -27,7 +27,9 @@
|
||||||
(require 'js2-mode)
|
(require 'js2-mode)
|
||||||
(require 'js2-refactor)
|
(require 'js2-refactor)
|
||||||
|
|
||||||
|
(setq js2-include-node-externs t)
|
||||||
(setq js2-strict-trailing-comma-warning nil)
|
(setq js2-strict-trailing-comma-warning nil)
|
||||||
|
(setq js2-strict-missing-semi-warning nil)
|
||||||
(setq js2-basic-offset 2)
|
(setq js2-basic-offset 2)
|
||||||
|
|
||||||
(add-hook 'js2-mode-hook 'subword-mode)
|
(add-hook 'js2-mode-hook 'subword-mode)
|
||||||
|
|
Loading…
Reference in a new issue