Skip to content

Commit c5c3044

Browse files
committed
fix: exclude external/ from rubocop
1 parent 85c9415 commit c5c3044

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

examples/gem/.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ AllCops:
22
NewCops: enable
33
SuggestExtensions: false
44
TargetRubyVersion: 3.0
5+
Exclude:
6+
- 'external/**/*'
57

68
# There is a difference in line endings between
79
# GitHub Actions and Bazel CI.

examples/gem/BUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ rb_test(
5151
name = "rubocop",
5252
size = "small",
5353
timeout = "moderate", # JRuby startup can be slow
54-
data = [".rubocop.yml"],
54+
data = [
55+
".rubocop.yml",
56+
"Gemfile",
57+
],
5558
main = "@bundle//bin:rubocop",
5659
tags = ["no-sandbox"],
5760
deps = [

0 commit comments

Comments
 (0)