Skip to content

Commit 46c53e4

Browse files
authored
Explicitly exclude sample projects from Rubocop tests
Running a `bundle install` locally in one of the sample projects can leave behind a vendor bundle that the top-level Rubocop will try to inspect. This explicitly ignores those.
1 parent bff396c commit 46c53e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.rubocop.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ AllCops:
44
- 'spec/*.rb'
55
- '**/generated_parser/*'
66
- './vendor/**/*'
7-
8-
# inherit_from: .rubocop_todo.yml
7+
- 'SampleProjects/**/vendor/**/*'
98

109
# TODO: stuff I actually want to fix
1110
Style/RescueStandardError:

0 commit comments

Comments
 (0)