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

Remove project level rubocop.yml #1531

Merged
merged 1 commit into from Jan 24, 2020
Merged

Remove project level rubocop.yml #1531

merged 1 commit into from Jan 24, 2020

Conversation

nickcharlton
Copy link
Member

Rubocop brings with it a certain amount of maintenence burden and
keeping project level config files means they're always somewhat out of date.
Additionally, we already have thoughtbot/guides which is the
source of truth.

This removes that to see if we get the right outcome.

Rubocop brings with it a certain amount of maintenence burden and
keeping project level config files means they're always somewhat out of date.
Additionally, we already have [thoughtbot/guides][one] which is the
source of truth.

This removes that to see if we get the right outcome.

[one]: https://github.com/thoughtbot/guides/blob/master/style/ruby/.rubocop.yml
@nickcharlton nickcharlton added dependencies changes or issues relating to a dependency maintenance to keep up with changes around us labels Jan 17, 2020
@jmeinerz
Copy link
Contributor

@nickcharlton will this change mean hound won't be able to post suggestions to ruby code? Would that be a desirable outcome given that this project receives quite a lot of PRs?

@nickcharlton
Copy link
Member Author

Thankfully, no. Hound supports an organisation wide configuration:

Screenshot 2020-01-18 at 13 26 14

The one thing I did notice that we do do in our local .rubocop.yml is:

AllCops:
  Exclude:
    - spec/example_app/db/schema.rb

…which means that now we'd likely get complaints by Rubocop as it won't be ignored. But I think this is a small price to pay for not having another configuration file.

@jmeinerz
Copy link
Contributor

Thanks for the insight, that was a great explanation. I completely agree with you.

@nickcharlton nickcharlton merged commit e7a086a into master Jan 24, 2020
@nickcharlton nickcharlton deleted the nc-remove-rubocop branch January 24, 2020 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies changes or issues relating to a dependency maintenance to keep up with changes around us
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants