简体   繁体   English

带报告的 Angular 最佳静态代码分析工具

[英]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-eslinthttps : //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.

相关问题 有没有办法为 Angular 内存泄漏执行静态代码分析/linting? - Is there a way to perform static code analysis/linting for Angular memory leak? 如何在 Jenkins 中对 Angular 进行代码质量分析? - How to have code quality analysis for Angular in Jenkins? Angular 9 / TypeScript Static 代码分析器 - Angular 9 / TypeScript Static Code Analyzers Angular 未生成业力代码覆盖率报告文件夹 - Angular karma code coverage report folder not generated Angular CLI同时运行测试报告和代码覆盖率报告 - Angular CLI run both test report and code coverage report 在声纳代码覆盖率分析测试中排除文件 - Angular 7 - Exclude files in Sonar Code Coverage Analysis Test - Angular 7 在Angular项目中使用自定义第三方组件时的静态分析错误 - Static analysis error when using custom 3rd party component in Angular project 有没有工具可以将angularjs / ionic1代码转换为ionic2 / angular 2? - Is there a tool to convert angularjs/ionic1 code to ionic2/angular 2? Angular映射对象,类或服务或静态函数的最佳解决方案 - Angular the best solution for mapping objects, Class or service or static functions 在 Angular 中分离动态和 static 枚举的最佳方法是什么? - what is the best way to seperate dynamic and static enums in Angular?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM