diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 21fc551875..d6442a32c0 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -6,10 +6,11 @@ plugins: plugin_class_name: RuboCop::Performance::Plugin - rubocop-rspec: plugin_class_name: RuboCop::RSpec::Plugin + - rubocop-sorbet: + plugin_class_name: RuboCop::Sorbet::Plugin require: - ./Homebrew/rubocops.rb - - rubocop-sorbet inherit_mode: merge: diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index e2535d2356..e6d0af9f93 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -101,8 +101,7 @@ GEM rubocop-rspec (3.5.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-sorbet (0.9.0) - lint_roller (~> 1.1) + rubocop-sorbet (0.10.0) rubocop (>= 1) ruby-lsp (0.23.13) language_server-protocol (~> 3.17.0) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 1115085bd9..cc1587dae1 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -98,7 +98,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.25.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.9.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.13/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1")