Closed raghuveerp closed 8 years ago
@raghuveerp try setting the "jslint_happy"
option to true; it's disabled by default. Warning: I don't remember what else is potentially affected by that setting.
In the next version of js-beatifier, we will likely have a setting for this specifically, with no other side-effects. see https://github.com/beautify-web/js-beautify/pull/474
http://stackoverflow.com/questions/11248071/how-do-i-get-jsformat-to-preserve-whitespaces-that-pad-the-inside-of-my-function
When I run JSFormat, it turns:
function( stuff ) { into
function(stuff) { How do I prevent this behavior?