tslint-fix-formatter
v1.0.5
Published
A tslint formatter which applies fixes and prints the result
Downloads
7
Readme
🔧 tslint-fix-formatter
A formatter for tslint which applies fixes to a file, and prints the new contents to stdout. This is useful for certain editor plugins (i.e. neoformat) which prefer to have the changed contents of a file, instead of overwriting the file.
Usage
- Install the package:
yarn add --dev tslint-fix-formatter
- Run the linter:
tslint -s node_modules/tslint-fix-formatter -t fix MyFile.ts