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
962 :ghook ('typescript-mode-hook #'tide-setup) 962 :ghook ('typescript-mode-hook #'tide-setup)
963 :init (progn 963 :init (progn
964 (setq tide-completion-setup-company-backend nil) 964 (setq tide-completion-setup-company-backend nil)
965 (flycheck-add-next-checker 'typescript-tide 'javascript-eslint)
965 (company-set-secondary-backend-for-mode typescript-mode 'company-tide)) 966 (company-set-secondary-backend-for-mode typescript-mode 'company-tide))
966 :config (progn 967 :config (progn
967 ;; loading this package has the annoying effect of breaking my company configuration 968 ;; loading this package has the annoying effect of breaking my company configuration