Good Cop is a configuration for RuboCop that’s been known to be a little more lenient and agreeable than other cops. Just add this line to the top of your RuboCop config file to start using it today.
inherit_from: "https://www.goodcop.style/base.yml"
If Good Cop goes goblin mode on your code, please open an issue and let me know.
Copy the folliowing into your .rubocop.yml
file to get started with a good base configuration.
inherit_from:
- "https://www.goodcop.style/base.yml"
AllCops:
TargetRubyVersion: 3.3
By default, spaces are used for indentation since that’s pretty standard for Ruby. However, I recommend using tabs for better accessibility. If you like tabs, you can inherit form this configuration instead.
inherit_from:
- "https://www.goodcop.style/tabs.yml"