General minor refactor & docstring fixes

This commit is contained in:
Henrik Lissner 2018-05-14 20:55:55 +02:00
parent 67dab98859
commit bb88411cc9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
9 changed files with 27 additions and 28 deletions

View file

@ -183,8 +183,9 @@
(def-package! eslintd-fix
:commands (eslintd-fix-mode eslintd-fix)
:config
(add-hook! 'eslintd-fix-mode-hook
(setq flycheck-javascript-eslint-executable eslintd-fix-executable)))
(defun +javascript|set-flycheck-executable-to-eslint ()
(setq flycheck-javascript-eslint-executable eslintd-fix-executable))
(add-hook 'eslintd-fix-mode-hook #'+javascript|set-flycheck-executable-to-eslint))
(def-package! skewer-mode