Skip to content

Arrow functions in object literals #330

@ksmithbaylor

Description

@ksmithbaylor

Currently, if an object literal contains an arrow function as one of its values, the next line is indented one level too much:

{
  one: () => 123,
    two: () => 'two',
      three: () => 'four'
}

It should be:

{
  one: () => 123,
  two: () => 'two',
  three: () => 'four'
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions