all repos — nixfiles @ e1834dda554a1f108d7a17588571191417f7d15e

System and user configuration, managed by nix and home-manager

Emacs: setup tslint automatically

Alan Pearce
commit

e1834dda554a1f108d7a17588571191417f7d15e

parent

72595feb0fa80ec45488cb7a49cdc8a3eb1e38c2

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.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")