tslint-unix-formatter
v0.2.0
Published
A formatter with error output in UNIX style for tslint.
Downloads
90
Readme
UNIX Style Formatter for tslint Output
A simple formatter that produces error output in Unix style. This is similar to the --unix_mode option of gjslint. The mode is particularly useful for running inside Emacs.
Install as a node module using npm:
npm install tslint-unix-formatter
To use inside Emacs include the following code in your .emacs file.
(defun tslint-buffer ()
(interactive)
(compile (format "tslint -t unix -s ~/node_modules/tslint-unix-formatter/lib/ %s" (buffer-file-name)) nil)
)
Works with
"typescript": ">=1.7.5"
"tslint": ">=3.2.2"