Open MikeRatcliffe opened 9 years ago
This is the relevant stuff from my .emacs:
;; jshint (add-to-list 'load-path "~/.emacs.d/jshint-mode") (require 'flymake-jshint) (setq jshint-mode-jshintrc "~/.jshintrc") (add-hook 'js3-mode-hook (lambda () (flymake-mode t))) ;; Turns on flymake for all files which have a flymake mode (add-hook 'find-file-hook 'flymake-find-file-hook) ;; Set up JS3 mode (add-to-list 'auto-mode-alist '("\\.js$" . js3-mode)); (add-to-list 'auto-mode-alist '("\\.jsm$" . js3-mode));
This is the relevant stuff from my .emacs: