Can tslint auto fix code?

Hello,

I have made tslint.json configuration in my PhpStorm, it works. Can tslint automatically help me fix code when it doesn't match the standard?

 

4 comments
Comment actions Permalink
Official comment

Hello,

Please install "NodeJS" plugin via Settings | Plugins | Install JetBrains Plugins and TSLint integration will appear in Settings | Languages & Frameworks | TypeScript | TSLint.

Comment actions Permalink

I already has TSLint and tslint.json in my PHpStorm, it reminds me of the code error based on the rule, for example, I made a rule of using double quote, it points out all the code that use single quote. My question is: can tslint automatically help correct these errors instead of manually correct one by one?

1
Comment actions Permalink

Is there any news on this? We'd like to have the code formatter and rules of TSLint to be in sync.

1

Please sign in to leave a comment.