简体   繁体   English

Moo 工具 JS 皮棉

[英]Moo Tools JS lint

I am looking for instructions on setting up JS lint to work with moo tools from Debian Ubuntu command line.我正在寻找有关设置 JS lint 以使用来自 Debian Ubuntu 命令行的 moo 工具的说明。
Is there a package for this or instructions that some one can $point me at.是否有 package 或有人可以指向我的说明。 If there where instructions I would be happy to make the package!如果那里有说明,我很乐意制作包裹!

Support for this functionality can be found here.可以在此处找到对此功能的支持。 It uses NODE JS to run lint from the command line.它使用 NODE JS 从命令行运行 lint。
https://github.com/as-jpolo/node-lint https://github.com/as-jpolo/node-lint
I also found this tutorial that proved to be useful not only helping me set up cmd line lint but letting me run it on the fly in VIM is super useful.我还发现本教程被证明非常有用,它不仅可以帮助我设置 cmd 线棉绒,而且让我在 VIM 中即时运行它非常有用。
http://technotales.wordpress.com/2011/05/21/node-jslint-and-vim/ http://technotales.wordpress.com/2011/05/21/node-jslint-and-vim/
One thing that I did not get working yet is configure Lint to parse Mootools with out throwing warnings that are expected.我还没有开始工作的一件事是配置 Lint 以解析 Mootools 而不会抛出预期的警告。 When I do figure out how to start to configure Lint I will make sure I post that to.当我弄清楚如何开始配置 Lint 时,我会确保将其发布到。

If you're OK with a java dependency, jslint4java makes this easy:如果您对 java 依赖项感到满意,那么 jslint4java让这变得简单:

java -jar jslint4java.jar myproject/*.js

Disclaimer: I'm the author of the jslint4java wrapper.免责声明:我是 jslint4java 包装器的作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM