Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/gem/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.0
Exclude:
- 'external/**/*'

# There is a difference in line endings between
# GitHub Actions and Bazel CI.
Expand Down
5 changes: 4 additions & 1 deletion examples/gem/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ rb_test(
name = "rubocop",
size = "small",
timeout = "moderate", # JRuby startup can be slow
data = [".rubocop.yml"],
data = [
".rubocop.yml",
"Gemfile",
],
main = "@bundle//bin:rubocop",
tags = ["no-sandbox"],
deps = [
Expand Down
Loading