简体   繁体   中英

Moo Tools JS lint

I am looking for instructions on setting up JS lint to work with moo tools from Debian Ubuntu command line.
Is there a package for this or instructions that some one can $point me at. 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.
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.
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. When I do figure out how to start to configure Lint I will make sure I post that to.

If you're OK with a java dependency, jslint4java makes this easy:

java -jar jslint4java.jar myproject/*.js

Disclaimer: I'm the author of the jslint4java wrapper.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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