summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-05-03 14:47:02 +0200
committerAlan Pearce2021-05-03 14:47:02 +0200
commit29fc059aed5e9d7f8508ad29d9a5214bd6826948 (patch)
treed914a3135396990fee32103f59a8739a30bf30af
parent51a63e8d903d735346cda3a5092a79b6be15850a (diff)
downloadnixfiles-29fc059aed5e9d7f8508ad29d9a5214bd6826948.tar.lz
nixfiles-29fc059aed5e9d7f8508ad29d9a5214bd6826948.tar.zst
nixfiles-29fc059aed5e9d7f8508ad29d9a5214bd6826948.zip
Emacs: run eslint after tide checks
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index a9c75021..9c5b1648 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -962,6 +962,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :ghook ('typescript-mode-hook #'tide-setup)
   :init (progn
           (setq tide-completion-setup-company-backend nil)
+          (flycheck-add-next-checker 'typescript-tide 'javascript-eslint)
           (company-set-secondary-backend-for-mode typescript-mode 'company-tide))
   :config (progn
             ;; loading this package has the annoying effect of breaking my company configuration