[英]Angular best static code analysis tool with report
Looking for an Angular static analysis tool.正在寻找 Angular 静态分析工具。 Gone through one of the most popular tools codelyzer but I couldn't see the report option here.
使用了最流行的工具之一codelyzer,但我在这里看不到报告选项。
Can anyone suggest a better Angular static analysis tool or is there any option to generate reports using codelyzer .任何人都可以建议更好的 Angular 静态分析工具,或者是否有任何选项可以使用codelyzer生成报告。
Sonarqube has a plugin for typescript called SonarTs but it is not as good as codelyzer (yet). Sonarqube 有一个名为SonarTs 的打字稿插件,但它不如 codelyzer(目前)。
You may also try TSlint .您也可以尝试TSlint 。
But before all that I would try to fix codelyzer - what's your exact problem?但在此之前,我会尝试修复 codelyzer - 你的确切问题是什么? Did you follow the "how to use" guide ?
您是否遵循“如何使用”指南?
You are able to integrate a TSLint report plugin and visualize TSLint results by installing the tslint-html-report package and integrating it to your Angular project您可以通过安装 tslint-html-report 包并将其集成到您的 Angular 项目中来集成 TSLint 报告插件并可视化 TSLint 结果
For more info see: http://mowede.com/blog/angular-devops-series-2/有关更多信息,请参阅: http : //mowede.com/blog/angular-devops-series-2/
Angular 11+角 11+
You can use angular-eslint
: https://github.com/angular-eslint/angular-eslint您可以使用
angular-eslint
: https : //github.com/angular-eslint/angular-eslint
Monorepo for all the tooling which enables ESLint to lint Angular projects
Monorepo 用于所有使 ESLint 能够对 Angular 项目进行 lint 的工具
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.