Ruby Consistent 2-space Indent with Rubocop

Rubocop comes with rules to enforce consistent 2-space indentation, they just need to be enabled!

see rubocop issue and example PR

Layout/FirstHashElementLineBreak:
  Enabled: true

Layout/FirstMethodArgumentLineBreak:
  Enabled: true

Layout/FirstMethodParameterLineBreak:
  Enabled: true

Leave a comment