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

Resolve Layout/ElseAlignment Violations #871

Merged
merged 1 commit into from Feb 25, 2019

Conversation

jherdman
Copy link
Contributor

Description

Tick another box on #854

@technoweenie
Copy link
Member

Hi @jherdman, thanks for taking a look at this! This PR doesn't actually fix all of the Layout/ElseAlignment offenses though, just the ones not excused by the rubocop todo file.

This specific change fails on master because it looks like our CI process is not preventing merges properly. This PR fixes half of it, and #870 fixes the rest. I'd like to get our CI issues resolved before merging these though.

@jherdman
Copy link
Contributor Author

Ah, snap. I didn't realize that file was there. I'll take a look at those too.

@technoweenie
Copy link
Member

@jherdman I'm new to rubocop, so I'm trying to come up with a general workflow. I think it's:

  1. Remove exceptions from .rubocop_todo.yml
  2. Fix code
  3. Run bundle exec rubocop --auto-gen-config
  4. Commit, PR, Merge, Profit 🤘

Do you know if there's some way to run rubocop --only=Layout/BlockEndNewline while ignoring the todo file. I'm just trying to document the rubocop fix workflow.

@jherdman
Copy link
Contributor Author

Do you know if there's some way to run rubocop --only=Layout/BlockEndNewline while ignoring the todo file. I'm just trying to document the rubocop fix workflow

Sadly, no. I'm in the same boat as you w.r.t RuboCop.

I went back, though, and resolved the remaining ElseAlignment problems.

@olleolleolle olleolleolle mentioned this pull request Feb 25, 2019
@technoweenie technoweenie merged commit 39dd954 into lostisland:master Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants