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

Autocorrect rubocop Layout/BlockEndNewline cop #2063

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

sauloperez
Copy link
Contributor

@sauloperez sauloperez commented Feb 1, 2018

What? Why?

Autocorrects all the exclusions for the Layout/BlockEndNewline Rubocop cop, so that the .rubocop_todo.yml is now a little smaller.

  • Doc how to fix a single cop on the wiki

What should we test?

There's no behavior change.

@sauloperez
Copy link
Contributor Author

sauloperez commented Feb 2, 2018

I documented this process in https://github.com/openfoodfoundation/openfoodnetwork/wiki/Rubocop. My idea is to add more stuff related to the management of Rubocop, hence the title. Feel free to fix any typos/broken english.

@Matt-Yorkley
Copy link
Contributor

Is your idea to slowly autocorrect everything, one rule at a time?

@sauloperez
Copy link
Contributor Author

Yes, that is what I understood from our previous discussion on the topic.

@sauloperez sauloperez merged commit 9972945 into openfoodfoundation:master Feb 5, 2018
@sauloperez sauloperez deleted the autocorrect-cop branch February 5, 2018 07:51
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.

3 participants