tslint-unix-formatter

0.2.0 • Public • Published

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"

Readme

Keywords

Package Sidebar

Install

npm i tslint-unix-formatter

Weekly Downloads

15

Version

0.2.0

License

Apache-2.0

Unpacked Size

13.7 kB

Total Files

6

Last publish

Collaborators

  • zorkow