Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

String/Symbol arrays not correctly formatted when indentation present #6

Description

@AlanFoster

Raising this is as a separate issue to keep track of it:

#4 (comment)

Input

def symbols
  %i(
    a
    b
    c
    d
  )
end

symbols

Current output

def symbols
  ['    a', '    b', '    c', '    d']
end

symbols

Expected Output

  • Output should equal input still
  • Or, formated with array syntax with without the extra whitespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    requires tokensA specific label showing dependency on https://github.com/iamsolankiamit/prettier-ruby/issues/50

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions