tslint-fix

tslint-fix takes output of tslint and fixes the errors.

Usage no npm install needed!

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

README

tslint-fix

Usage

npm install -g tslint-fix
tslint -c tslint.json src/**/*.ts > tslintout.txt
tslint-fix tslintout.txt

NOTE:

tslint 4.0 now includes a tslint --fix option so this package may be the latest and greatest.

Use tslint-fix as you see fit. It helped me solve my problems, may be it can help solve yours too!

Its a simple one file, ~200 line js file package. Viewing the source is very much encouraged.