From 87986d9dca75826b95ce808a9b7bfe6a3a6b349c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 8 Jan 2025 15:56:30 +0000 Subject: [PATCH] sorbet/config: handle some homebrew-bundle cases. - 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. --- Library/Homebrew/sorbet/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/sorbet/config b/Library/Homebrew/sorbet/config index a55c8dfed4c73..5ba90026b227e 100644 --- a/Library/Homebrew/sorbet/config +++ b/Library/Homebrew/sorbet/config @@ -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