diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 1b448cca23..6ca13bce31 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -55,6 +55,7 @@ Homebrew/Blank: Exclude: # Core extensions are not available here: - "Homebrew/rubocops/**/*" + - "Homebrew/startup/bootsnap.rb" # only used internally Homebrew/MoveToExtendOS: diff --git a/Library/Homebrew/startup/bootsnap.rb b/Library/Homebrew/startup/bootsnap.rb index d8879e3c1c..8bd7f23083 100644 --- a/Library/Homebrew/startup/bootsnap.rb +++ b/Library/Homebrew/startup/bootsnap.rb @@ -1,8 +1,6 @@ # typed: true # frozen_string_literal: true -# Disable Rails cops, as we haven't required active_support yet. -# rubocop:disable Rails, Homebrew/Blank homebrew_bootsnap_enabled = ENV["HOMEBREW_NO_BOOTSNAP"].nil? && !ENV["HOMEBREW_BOOTSNAP"].nil? # we need some development tools to build bootsnap native code @@ -49,4 +47,3 @@ if homebrew_bootsnap_enabled $stderr.puts "Error: HOMEBREW_BOOTSNAP could not `require \"bootsnap\"`!\n\n" end end -# rubocop:enable Rails, Homebrew/Blank