Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress redundant configuration logging for rubocop-performace
`rubocop-performance-1.23.1/config/default.yml` is being output twice: ```console $ bundle exec rubocop -d path/to/example.rb (snip) For /Users/koic/src/github.com/rubocop/rubocop-rails: configuration from /Users/koic/src/github.com/rubocop/rubocop-rails/.rubocop.yml configuration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml configuration from /Users/koic/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/bundler/gems/rubocop-da31e5acaa98/config/internal_affairs.yml configuration from /Users/koic/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/bundler/gems/rubocop-da31e5acaa98/config/internal_affairs.yml Default configuration from /Users/koic/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/bundler/gems/rubocop-da31e5acaa98/config/default.yml configuration from /Users/koic/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rubocop-performance-1.23.1/config/default.yml configuration from /Users/koic/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rubocop-performance-1.23.1/config/default.yml ``` Since it is already logged by `ConfigLoader.load_yaml_configuration`: https://github.com/rubocop/rubocop/blob/v1.71.2/lib/rubocop/config_loader.rb#L71-L82 The unnecessary code on the caller side will be removed.
- Loading branch information