When requiring both rubocop-rails and rubocop-performance no warnings are thrown
When running rubocop a warning is thrown .rubocop.yml:2: require is concealed by line 3
If you require both rubocop-rails and rubocop-performance in .rubocop.yml like this
require: rubocop-rails
require: rubocop-performance
It will throw a warning .rubocop.yml:2: require is concealed by line 3
0.71.0
$ [bundle exec] rubocop -V
0.71.0 (using Parser 2.6.3.0, running on ruby 2.5.5 x86_64-linux)
Not sure if we should ignore the warning or update the config_loader.rb to ignore the require field on the .rubocop.yml
Please use the YAML's array notation.
require:
- rubocop-performance
- rubocop-rails
https://github.com/rubocop-hq/rubocop/blob/v0.71.0/.rubocop.yml#L4-L7
oh right sorry, thanks!
Most helpful comment
Please use the YAML's array notation.
https://github.com/rubocop-hq/rubocop/blob/v0.71.0/.rubocop.yml#L4-L7