只需要在tslint.config里配置一行 "defaultSeverity": "none", 转载于:https://www.cnblogs.com/piaobodewu/p/10574155.html