Skip to content

Commit 54887d8

Browse files
committed
Ignore generated directories in RuboCop
Exclude pkg and vendor directories from RuboCop inspection to focus linting on source and test files.
1 parent 9b92173 commit 54887d8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.rubocop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ inherit_from: .rubocop_todo.yml
55

66
AllCops:
77
NewCops: enable
8-
TargetRubyVersion: 2.7
8+
TargetRubyVersion: 3.1
9+
Exclude:
10+
- 'pkg/**/*'
11+
- 'vendor/**/*'
912

1013
Lint/UselessAssignment:
1114
Exclude:

0 commit comments

Comments
 (0)