Skip to content

Hanging indent causes subsequent lines to indent incorrectly #492

Closed
@markrian

Description

@markrian

Using the latest commit on the develop branch (ea58033), hanging indents cause subsequent lines to be indented. That is, this happens:

expect(whatever).toBe(
    'some', 'parameters', 'here', 'whatever');
    expect(aThing).toHaveBeenCalledWith('foo');
    expect(anotherThing).toHaveBeenCalledWith('bar');

whereas I would expect this:

expect(whatever).toBe(
    'some', 'parameters', 'here', 'whatever');
expect(aThing).toHaveBeenCalledWith('foo');
expect(anotherThing).toHaveBeenCalledWith('bar');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions