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

Revert "Add $LOAD_PATH for RuboCop cops." #4798

Merged
merged 1 commit into from Sep 2, 2018

Conversation

MikeMcQuaid
Copy link
Member

Reverts #4771

@reitermarkus Sorry, I didn't think about this before but this breaks one of the primary use-cases of our rubocop integration: being able to work with just rubocop loading just the cops outside of a brew command. A plain rubocop outside of Homebrew should work on Homebrew formulae inside the taps directory without brew style. I'm open to having a test added for this; I'm not quite sure what it would look like.

@ghost ghost assigned MikeMcQuaid Sep 2, 2018
@ghost ghost added the in progress Maintainers are working on this label Sep 2, 2018
@MikeMcQuaid MikeMcQuaid merged commit bfb2d53 into master Sep 2, 2018
@ghost ghost removed the in progress Maintainers are working on this label Sep 2, 2018
@MikeMcQuaid MikeMcQuaid deleted the revert-4771-rubocop-path branch September 2, 2018 20:12
@reitermarkus
Copy link
Member

being able to work with just rubocop loading just the cops outside of a brew command.

What? Can you give an example of what exactly should work?

@MikeMcQuaid
Copy link
Member Author

Install rubocop outside of Homebrew and run it on a formula.

@lock lock bot added the outdated PR was locked due to age label Oct 2, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants