prettier/editors/emacs
António Nuno Monteiro 2c9af5ffcc refmt -> prettier in emacs support (#1113) 2017-04-02 23:05:30 +01:00
..
README.md Fix up emacs typos 2017-01-11 13:36:09 +13:00
prettier-js.el refmt -> prettier in emacs support (#1113) 2017-04-02 23:05:30 +01:00

README.md

Add this to your init:

(require 'prettier-js)
(add-hook 'js-mode-hook
          (lambda ()
            (add-hook 'before-save-hook 'prettier-before-save)))