包详细信息

tslint-unix-formatter

zorkow86Apache-2.00.2.0

A formatter with error output in UNIX style for tslint.

tslint, formatter

自述文件

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"