Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-05 17:46:40 +0300
committerJeff King <peff@peff.net>2022-10-05 17:49:23 +0300
commitf84b7cabed5c587ae2e9eb0ace3558ad78af1b01 (patch)
tree89cbd8fe35d0e874be5643ce06ede6ea2c6479aa
parent6d1528a52ad17f07a70b05ce7729652808388033 (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.yml4
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: