How can I TSLint on save in WebStorm?

Viewed 6331

How can I fix my .ts files everytime I save a file in WebStorm?

I know that I can run tslint --fix after saving. I also know that I can ⌥⏎ + on the current error in the file and that error will be resolved. But I am used to a different styleguide and it would save me a lot of time to have these style lint errors to be auto fixed:

tslint error

I cannot find the relevant settings in WebStorm:

WebStorm settings

I would also be completely willing to use a different cli tool to achieve auto tslinting on save.

1 Answers
Related