JavaScript Coding Formatting Issue

So if I have this code:

var data [{
  display: "Configuration",
  value: 'config'

and I run the code formatter, it turns into this:

var data = [
    display: "Configuration",
    value: 'config'

I tried looking at the javascript coding style for wrapping and braces but I can't seem to find anything that would be causing this.

Is there any configuration I can set to prevent this from happening and to keep the original code intact?

1 comment
Comment actions Permalink

There is no way to do this currently. Please vote for


Please sign in to leave a comment.