Skip to content

Problem with indentation of Promises #105

Closed
@JuanLucha

Description

@JuanLucha

I'm using Promises and usually put the .then() and the .catch() in different lines than the invocation of the method returning the Promise. But the plugin is not indenting it correctly.

It should be:

this.aService.getAll()
  .then()
  .catch()

But actually it is:

this.aService.getAll()
.then()
.catch()

Thanks for the awesome plugin.

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