JavaScript formatting/indenting in object literal

var something = {
  whatever: 'ya',
    another: 'yep'

While I'm entering this type of JavaScript code, when I press enter after the comma on the 2nd line,
it automatically indents the next line (like above) for some reason and It's driving me nuts..

If I disable ReSharper, it stops doing it.. so it doesn't appear to be Visual Studio's JScript editor settings.

I've tried to find the Resharper option that is making it happen and have been unsuccessful... does anyone please have a suggestion where to look/fix?

Please sign in to leave a comment.