Javascript code style setting?

I have an annoying case I'm trying to figure out. I need to use the following convention where the dependancies array in the module declaration needs to break onto a new line even when empty. Any idea how I can force auto format to leave it?

export default angular.module('namehere', [
.component('blah', blah)

It keeps turning it into:

export default angular.module('name', [])
.component('blah', blah)
1 comment
Comment actions Permalink

Currently there are no such formatter settings. Please feel free to submit a feature request in our bug-tracker:


Please sign in to leave a comment.