Skip to content

Commit

Permalink
sorbet/config: handle some homebrew-bundle cases.
Browse files Browse the repository at this point in the history
- need to ignore `vendor/ruby` because there can be gems in there
- need to ignore `spec/stub` because it's defining RSpec-only stub
  methods that aren't used outside of RSpec and don't have the same
  e.g. signatures.
  • Loading branch information
MikeMcQuaid committed Jan 8, 2025
1 parent 4f0f591 commit 87986d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/sorbet/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
--enable-experimental-requires-ancestor
--ignore=/vendor/bundle
--ignore=/vendor/gems
--ignore=/vendor/ruby
--ignore=/vendor/portable-ruby
--ignore=/test/.gem
--ignore=/spec/stub
--ignore=Formula
--ignore=Casks
--suppress-error-code=7019

0 comments on commit 87986d9

Please sign in to comment.