Emacs: setup tslint automatically
1 file changed, 2 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -2015,6 +2015,8 @@ :hooks (js2-mode-hook 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")