Commit 615c37a
committed
Fix RuboCop to inherit default Exclude patterns
- Add `inherit_mode: { merge: [Exclude] }` to inherit default exclusion patterns
- Remove explicit `vendor/**/*` exclusion (now inherited from default config)
- Remove obsolete `gemfiles/**/*` exclusion (gemfiles directory was removed)
This ensures that `vendor/bundle` is properly excluded when using
`bundler-cache: true` in GitHub Actions workflow, preventing RuboCop
from inspecting gem files and loading their .rubocop.yml configurations.
Fixes the issue where RuboCop tried to require 'rubocop-rake' from
gems installed in vendor/bundle.1 parent 4013b4a commit 615c37a
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments