You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments