(require 'flycheck)
(add-hook 'js2-mode-hook
(lambda () (flycheck-mode t)))
Used this, to setup flycheck for javascript development. However, i noticed config changes in .jshintrc is not considered at all for error highlighting (setting asi
as true to suppress missing semicolons is one such case.)
Later, i saw that js2-mode
has inbuilt support for error highlighting. So, what set of rules js2-mode
and is it as customizable as flycheck-jshint
?