tslint-fix-formatter

A tslint formatter which applies fixes and prints the result

Usage no npm install needed!

<script type="module">
  import tslintFixFormatter from 'https://cdn.skypack.dev/tslint-fix-formatter';
</script>

README

🔧 tslint-fix-formatter

npm version

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

  1. Install the package: yarn add --dev tslint-fix-formatter
  2. Run the linter: tslint -s node_modules/tslint-fix-formatter -t fix MyFile.ts