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

Rubocop config file now includes in execution #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rubocop config file now includes in execution #28

wants to merge 1 commit into from

Conversation

jherrlin
Copy link

This will look for a config file in the project root and include it in the execution if found.

@jherrlin jherrlin mentioned this pull request Feb 25, 2018
@@ -58,6 +58,11 @@
"The command used to run RuboCop's autocorrection."
:type 'string)

(defcustom rubocop-config-file-names
'(".rubycop.yml" ".rubycop" "rubocop.yml" ".rubocop")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubycop? I've never seen such a config file for RuboCop. The only valid name is .rubocop.yml. I should now. :-)

@MoskitoHero
Copy link

Is there any reason why this request doesn't get merged? Is it related to the naming of the rules file mentioned by @bbatsov ?

@bbatsov
Copy link
Collaborator

bbatsov commented Oct 29, 2018

Yep.

@bbatsov
Copy link
Collaborator

bbatsov commented Oct 29, 2018

There's also the fact that RuboCop would normally pick up the right configuration file anyways, as we're running it after cding to the appropriate directory. Generally I'm not quite certain what this PR was supposed to fix.

@jherrlin
Copy link
Author

Guess that I didn't know that RuboCop picked up the configuration file or if I could not spell the config file name, dont remember. Should I close the PR?

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