remimarsal/prettier-now-vscode

auto-save brings inconveniences with JS

Opened this issue · 0 comments

Hi,

I'm wondering if there is a built-in feature which would allow for a function's methods to stay aligned on separate lines instead of going back to a single line:

gulp.task('cssInject', ['styles'], function() {
return gulp
.src('./app/parsed/styles/styles.css')
.pipe(browserSync.stream());

});

after I save the code goes back to a single line which is what I'm trying to avoid:

gulp.task('cssInject', ['styles'], function() {
return gulp.src('./app/parsed/styles/styles.css').pipe(browserSync.stream());
});

Thanks.