Auto fix TSLint Warnings
You can use the –fix option of TSLint to automatically fix most warnings. This might look something like this in a common use case: tslint –fix -c ./config/tslint.json ‘src/**/*{.ts,.tsx}’ Keep in mind that this will overwrite your source code. While this is safe 99.9% of the time, I recommend the following workflow: Commit the changes … Read more