gem install rubocop_default_config
Run rubocop-config
Note
This gem will generates .rubocop.yml & .rubocop_todo.yml config automatically. So, you do not need to run rubocop --auto-gen-config
.
Just run rubocop_gen_common
if you want to generate Rubocop popular config. Then you can edit it to match your style.
The gem is available as open source under the terms of the MIT License.