JavaScript源代码分析器 [英] JavaScript Source Code Analyzer

查看:186
本文介绍了JavaScript源代码分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道检查JavaScript文件的优秀,可扩展的源代码分析器?

Does anyone know of a good, extensible source code analyzer that examines JavaScript files?

推荐答案

为了使这个问题保持最新,有一个名为JSHint 。有关创建JSHint的原因的解释可以在这里找到。 ,但总结一下:

In the interest of keeping this question up-to-date, there is a fork of JSLint called JSHint. An explanation of why JSHint was created can be found here, but to summarize:


JSHint是JSLint的一个分支,由Douglas编写和维护的工具

Crockford 。 JSLint在很长一段时间内以低于b $ b的价格为我提供了很好的服务,但在过去几个月的b $ b个月里,它已经让人感到不安,因为你的
代码存在贬义。它正在迅速从帮助开发人员的
a工具转变为
防止错误到一个工具,确保你编写代码的
像Douglas
Crockford。

JSHint is a fork of JSLint, the tool written and maintained by Douglas Crockford. JSLint served me well for quite some time but in the past few months it has gotten uncomfortably opinionated and hostile towards your code. It is quickly transforming from a tool that helps developers to prevent bugs to a tool that makes sure you write your code like Douglas Crockford.

这篇关于JavaScript源代码分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆