Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforce 2-space indent #3235

Merged
merged 1 commit into from Mar 12, 2019

Conversation

Projects
None yet
2 participants
@grosser
Copy link
Member

commented Mar 12, 2019

bad: (wasted whitespace + breaks code-flow + needs to be kept aligned with method length)

puts(foo: :bar,
     bar: :baz)

good:

puts(
  foo: :bar,
  bar: :baz
)

@zendesk/bre
/fyi @zendesk/compute

found via rubocop-hq/rubocop#1744

@grosser grosser requested review from zendesk/bre as code owners Mar 12, 2019

@grosser grosser force-pushed the grosser/2-space branch from 9435eac to 2431307 Mar 12, 2019

@grosser grosser merged commit 900afcf into master Mar 12, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@grosser grosser deleted the grosser/2-space branch Mar 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.