BeautifyRuby icon indicating copy to clipboard operation
BeautifyRuby copied to clipboard

Align parameters according to the standard and/or Rubocop

Open skozz opened this issue 8 years ago • 2 comments

Right now if I want to indent according to the standard of community I can't, i.e:

Correct way:

  validates :data_a, :data_b, 
            :data_c, :data_d, :data_e

But BeatifyRuby changes indention to:

  validates :data_a, :data_b,
    :data_c, :data_d, :data_e

Therefore, is not friendly with Rubocop:

Align the parameters of a method call if they span more than one line.

If you let me some clues about where is this part on the code I can try a PR if you want :D

skozz avatar Mar 18 '16 12:03 skozz

+1

CharlieIGG avatar Jul 04 '18 19:07 CharlieIGG

+1

gus4no avatar Feb 19 '19 17:02 gus4no