Kronuz/SublimeLinter — Issue #65: JSHint: laxbreak option not being respected
Author: spadgos
Created: 2011-12-15 11:00:32+00:00
State: open

Today I noticed that laxbreak errors were appearing in my javascript files where they previously hadn't been reported.

Snippet from my Base File config:

{
"jshint_options": {
"laxbreak": true
}
}

Code which is being marked as an error:

var foo = "blah blah"
+ "blah blah"; // this line

Message:

>Bad line breaking before '+'

And here's the relevant part of JSHint: http://github.com/jshint/jshint/blob/master/jshint.js#L1994