Prefer `it` default params to numbered default params by dduugg · Pull Request #21330 · Homebrew/brew
Library/.rubocop.yml
Updates Style/ItBlockParameter configuration and removes Layout/EmptyLinesAfterModuleInclusion rule
Library/Homebrew/rubocops/cask/mixin/cask_help.rb
Adds on_itblock alias to support itblock AST nodes
Library/Homebrew/test/rubocops/cask/no_overrides_spec.rb
Adds test cases for itblock syntax in cask cop tests
Library/Homebrew/test/tab_spec.rb
Converts _1 to it in Pathname.new calls
Library/Homebrew/test/cask/list_spec.rb
Converts _1 to it in InstallHelper call
Library/Homebrew/tap.rb
Converts _1 to it in formula_file_to_name and from_path calls
Library/Homebrew/tab.rb
Converts _1 to it in Version.new calls
Library/Homebrew/system_command.rb
Converts _1 to it in write operation
Library/Homebrew/style.rb
Converts _1 to it in Pathname call
Library/Homebrew/sorbet/tapioca/utils.rb
Converts _1 to it in method reflection calls
Library/Homebrew/sorbet/tapioca/require.rb
Converts _1 to it in require call
Library/Homebrew/sorbet/tapioca/compilers/args.rb
Converts _1 to it in option_to_name and require calls
Library/Homebrew/service.rb
Converts _1 to it in replace_placeholders calls
Library/Homebrew/os/mac/mach.rb
Converts _1 to it in resolve_variable_name call
Library/Homebrew/manpages.rb
Converts _1 to it in sort_key_for_path call
Library/Homebrew/livecheck/livecheck.rb
Converts _1 to it in require call
Library/Homebrew/keg_relocate.rb
Converts _1 to it in path.join call
Library/Homebrew/formula_installer.rb
Converts _1 to it in Formatter.identifier and install/fetch_dependency calls
Library/Homebrew/formula.rb
Converts _1 to it in split call
Library/Homebrew/extend/os/linux/extend/ENV/super.rb
Converts _1 to it in dependency check
Library/Homebrew/diagnostic.rb
Converts _1 to it in user_tilde call
Library/Homebrew/dev-cmd/formula.rb
Converts _1 to it in puts call
Library/Homebrew/dev-cmd/extract.rb
Converts _1 to it in Tap.with_formula_name call
Library/Homebrew/dev-cmd/edit.rb
Converts _1 to it in puts call
Library/Homebrew/dev-cmd/bump.rb
Converts _1 to it in drop call
Library/Homebrew/description_cache_store.rb
Converts _1 to it in delete! call
Library/Homebrew/cmd/install.rb
Converts _1 to it in is_a? check
Library/Homebrew/cli/parser.rb
Converts _1 to it in name_to_option and disable_switch calls
Library/Homebrew/cli/error.rb
Converts _1 to it in Formatter.option call
Library/Homebrew/cli/args.rb
Converts _1 to it in start_with? checks
Library/Homebrew/cleanup.rb
Converts _1 to it in T.cast and skip_clean_formula? calls
Library/Homebrew/cask/pkg.rb
Converts _1 to it in special? check
Library/Homebrew/cask/list.rb
Converts _1 to it in format_versioned and list_artifacts calls
Library/Homebrew/cask/dsl/version.rb
Converts _1 to it in Version constructor
Library/Homebrew/cask/artifact/app.rb
Converts _1 to it in OS::Mac.system_dir? check
Library/Homebrew/bundle/formula_dumper.rb
Converts _1 to it in add_formula call
Library/Homebrew/bundle/commands/cleanup.rb
Converts _1 to it in lookup_formula call
Library/Homebrew/abstract_command.rb
Converts _1 to it in command_name comparison
Library/Homebrew/PATH.rb
Converts _1 to it in File.directory? check