From e1834dda554a1f108d7a17588571191417f7d15e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 7 Sep 2018 17:09:45 +0200 Subject: Emacs: setup tslint automatically --- emacs/.emacs.d/main.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index af828d99..65eae69a 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -2015,6 +2015,8 @@ With two prefix arguments, write out the day and month name." typescript-mode-hook) :name node-modules-flycheck (add-node-modules-path) + (when (executable-find "tslint") + (setq-local flycheck-typescript-tslint-executable (executable-find "tslint"))) (when (executable-find "eslint") (setq-local flycheck-javascript-eslint-executable (executable-find "eslint"))) (when (executable-find "prettier-standard") -- cgit 1.4.1