简体   繁体   English

PhpStorm:tslint自动修复

[英]PhpStorm: tslint for automatically fix

phpstorm中的tslint可以自动为我修复代码吗?

Yes tslint can now autofix some errors. 是的tslint现在可以自动修复一些错误。 Run this at the root of your code: 在代码的根目录运行此命令:

tslint src/**/*.ts --fix

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM