It\'s giving me the error \"Bad line breaking before \',\'\" because I have code like the following
var one = 1 , two = 2 , three = 3 ;
I
As mentioned in the comments of the laxbreak answer, laxcomma option should actually be used for this particular situation (it has been implemented in the meantime). See http://jshint.com/docs/options/ for details.
laxbreak
laxcomma