Sublime Forum

SublimeJavaScript

#1

This plugin will run JSBeautify and JSHint everytime you save the file. It will then highlight any lines a JSHint error occurs on and print it to the console. It works on Windows, Linux, and Mac, all you need to do is add Node to your path for JSHint, otherwise it will only Beautify when you save the file. More info on the GitHub.

GitHub
Project: github.com/pyparadigm/SublimeJavaScript
Direct Download: github.com/pyparadigm/SublimeJa … all/master

https://github.com/pyparadigm/SublimeJavaScript/raw/master/ss1.png

0 Likes

Plugin request: JavaScript Tidy
#2

Wow! I have been looking for something like this for days.

The only thing is, is that I have sublimelinter installed so does that conflict at all?

0 Likes

#3

Please add an option to turn off jshint, a lot of folks are already using SublimeLinter to do jshint.

0 Likes

#4

I would quite like it if it has node.js validation. Does it?

0 Likes

#5

If you need to disable the JSHint then comment out the line:

Line 68: self.jshint(view, new_source)

I haven’t really been paying attention to this much, its been working for my environment, but will monitor issues reported on GitHub and fix them.

0 Likes