Skip to content

Conversation

@beanieboi
Copy link
Member

@beanieboi beanieboi commented Sep 9, 2025

The problem is that RuboCop by default picked the inner most config file. This means that if we want to use RuboCop for Pliny itself with a .rubocop.yml config in the project root, we always need to append -c .rubocop.yml. If you don't do this you are greeted with a lot of errors. Which is especially annoying if you have RuboCop integrated in your editor. With this change it works out of the box. With a minimal trade-off by renaming the template.

@beanieboi beanieboi requested a review from tt September 9, 2025 12:03
The problem is that RuboCop by default picked the inner most config
file. This means that if we want to use RuboCop for Pliny itself with a
.rubocop.yml config in the project root, we always need to append `-c
.rubocop.yml`. If you don't do this you are greeted with a lot of
errors. Which is especially annoying if you have RuboCop integrated in
your editor. With this change it works out of the box. With a minimal
trade-off by renaming the template.
@beanieboi beanieboi force-pushed the bf/rubocop-config-fix branch from 2c47408 to 99376a3 Compare September 9, 2025 12:04
@beanieboi beanieboi merged commit e80d635 into main Sep 9, 2025
15 checks passed
@beanieboi beanieboi deleted the bf/rubocop-config-fix branch September 9, 2025 12:27
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