Hacker News new | past | comments | ask | show | jobs | submit login
JSLintMate - JSLint and JSHint in TextMate. (rondevera.github.com)
18 points by maccman on March 6, 2012 | hide | past | favorite | 11 comments



I use this all the time at work. It's really helpful. It's be nice if the options had a GUI, but it's great.


I prefer subtleGradient's Javascript Tools bundle, which also checks with JSLint on save: https://github.com/subtleGradient/javascript-tools.tmbundle


JSLintMate has two modes: JSLint/JSHint on save (command-S), and full mode (control-L for JSLint, control-shift-L for JSHint). You can use options files in both modes, which means you can share settings no matter how you want to use it.


I have a pep8 TextMate bundle that does the same type thing. It's cool to see all of your mistakes on save. pep8 seems a lot stricter than jsLint, both will drive you crazy


i built a textmate plugin that runs your js through jsl, based on jsLint, on save: https://github.com/sxtxixtxcxh/validate-on-save.tmbundle

JSLintMate looks much nicer


Been using the VOS bundle for the past year & it lints much more than just js. Def worth checking out.


Will this work in Sublime Text as is?


Check out the Sublime V8 package. It comes with a JavaScript console and JSHint support.

https://github.com/akira-cn/sublime-v8


Another option for Sublime: https://github.com/fbzhong/sublime-jslint


I use SublimeLinter with JSHint: https://github.com/Kronuz/SublimeLinter


And the easiest way to get setup with SublimeLinter and other packages is to use Sublime Package Control (http://wbond.net/sublime_packages/package_control).

Then, to install a package, you hit: 1) ctrl+shift+p 2) type "install" and select the package installation option 3) search for "SublimeLinter" and hit enter to intstall it

You're done! I've even discovered many new packages right through Package Control, such as Clipboard History.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: