diff options
-rw-r--r-- | emacs/.emacs.d/main.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index af828d9..65eae69 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") |