Skip to content

Any way to get this working with .jsm files #31

@MikeRatcliffe

Description

@MikeRatcliffe

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions