diff options
author | Jeff King <peff@peff.net> | 2022-10-05 17:46:40 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 17:49:23 +0300 |
commit | f84b7cabed5c587ae2e9eb0ace3558ad78af1b01 (patch) | |
tree | 89cbd8fe35d0e874be5643ce06ede6ea2c6479aa | |
parent | 6d1528a52ad17f07a70b05ce7729652808388033 (diff) |
rubocop: set Exclude keys to merge
When we added an AllCops.Exclude key in c6736094 (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.
-rw-r--r-- | .rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index b0e6ea31..ec1ae45b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,6 +2,10 @@ require: - rubocop-rails - rubocop-performance +inherit_mode: + merge: + - Exclude + AllCops: TargetRubyVersion: 3.1 Exclude: |