Skip to content

Rubocop config file now includes in execution#28

Open
jherrlin wants to merge 1 commit intorubocop:masterfrom
jherrlin:feature/config-file
Open

Rubocop config file now includes in execution#28
jherrlin wants to merge 1 commit intorubocop:masterfrom
jherrlin:feature/config-file

Conversation

@jherrlin
Copy link
Copy Markdown

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
Comment thread rubocop.el
:type 'string)

(defcustom rubocop-config-file-names
'(".rubycop.yml" ".rubycop" "rubocop.yml" ".rubocop")
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Collaborator

bbatsov commented Oct 29, 2018

Yep.

@bbatsov
Copy link
Copy Markdown
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
Copy Markdown
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