prettier/editors/emacs
Travis Jefferson 0af65c6bc9 Use `setq' instead of `infc' and `decf'
It's more prolific!
2017-01-11 19:44:24 -06:00
..
README.md Fix up emacs typos 2017-01-11 13:36:09 +13:00
prettier-js.el Use `setq' instead of `infc' and `decf' 2017-01-11 19:44:24 -06: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)))