如何在 ubuntu 11.10 上安装适用于 Rhino 和 vim 的 JsHint
如何在 Ubuntu 11.10 上安装 JSHint?
我正在阅读有关如何为 javascript 设置 vim 的指南。我想使用 rhino 和 vim。
我已经使用 vundle 来安装 jshint.vim。我正在使用的资源:
Vim 作为 Javascript Ide 和 JSHint
我还安装了 syntastic Syntastic Github
How do I install JSHint on Ubuntu 11.10?
I am reading guides on how to setup vim for javascript. I want to use rhino and vim.
I have used vundle to install jshint.vim. The resources I am using:
Vim as a Javascript Ide
and JSHint
I have also installed syntastic Syntastic Github
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用node/npm安装jshint会更容易:
sudo nave使用main最新
It would be more easier to use node/npm to install jshint:
sudo nave usemain latest
强烈建议全局安装 jshint:
以 root 身份登录:
或使用 sudo:
这使得其他程序可以使用它(例如编辑器)。
jshint is strongly recommended to be installed globally:
Logged in as root:
or with sudo:
This enables other programs to use it (like editors).
如何在 Ubuntu 12.10 上安装 JSHint
安装 nodejs、npm 和 jshint:
然后在命令行上运行它:
打印内容:
准备好让你的感情受到伤害因为你的 javascript 文件有数百个错误。
How to install JSHint on Ubuntu 12.10
Install nodejs, npm and jshint:
Then run it on commandline:
Which prints:
Prepare to get your feelings hurt because your javascript file has hundreds of things wrong with it.