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

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

0

Please sign in to leave a comment.