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

Include standardrb's config in rubocop.yml #66

Merged
merged 4 commits into from Oct 10, 2023
Merged

Conversation

arielj
Copy link
Contributor

@arielj arielj commented Oct 10, 2023

  • Add an entry to CHANGELOG.md that links to this PR under the "main (unreleased)" heading.

Description:

The project uses StandardRB as the linter in CI. When using the RuboCop extension in code editors it was using RuboCop's defaults instead of Standard's defaults, leading to confusing offenses locally compared to the ones we check in CI.

This PR fixes that by making rubocop.yml inherit from standard, that way both the standardrb and rubocop commands have the same output.

Then the rubocop_todo.yml file is not needed, it uses .standard_todo.yml instead.

I will abide by the code of conduct.

Copy link
Member

@etagwerker etagwerker left a comment

Choose a reason for hiding this comment

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

@arielj Looks good, thanks

@etagwerker etagwerker merged commit afab984 into main Oct 10, 2023
11 checks passed
@etagwerker etagwerker deleted the fix-rubocop-config branch October 10, 2023 13:34
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.

None yet

2 participants