Skip to content

Commit

Permalink
rubocop: set Exclude keys to merge
Browse files Browse the repository at this point in the history
When we added an AllCops.Exclude key in c673609 (rubocop: ignore
db/migrate/, 2022-10-05), that meant we stopped respecting the built-in
config. And that config contains vendor/**, among other things.

This wasn't a problem for me locally, because my bundled gems are found
elsewhere. But in our CI environment, they are in vendor/, which is what
caused all of the problems with out-dated rubocop config in gems.
Hopefully this fixes it.
  • Loading branch information
peff committed Oct 5, 2022
1 parent 6d1528a commit f84b7ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ require:
- rubocop-rails
- rubocop-performance

inherit_mode:
merge:
- Exclude

AllCops:
TargetRubyVersion: 3.1
Exclude:
Expand Down

0 comments on commit f84b7ca

Please sign in to comment.