Simple ruby styling: standardrb plus anything rubocop recommends.
Add to your Gemfile:
group :development, :test do
gem "rubocop-lazy-config",
github: "jethrodaniel/rubocop-lazy-config",
require: false
endAdd the following to your config (e.g, .rubocop.yml):
inherit_gem:
rubocop-lazy-config: rubocop.ymlThis gem ignores several auto-generated Rails files in AllCops, so if you
want to add your own file paths to ignore, you'll need to merge the Exclude
so your changes don't overwrite ours - e.g:
inherit_gem:
rubocop-lazy-config: rubocop.yml
inherit_mode:
merge:
- Exclude
AllCops:
Exclude:
# https://github.com/glebm/i18n-tasks#installation
- test/i18n_test.rbThe gem is available as open source under the terms of the MIT License.