Skip to content

joeldrapper/goodcop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Good Cop

Happy cartoon ruby character wearing a police hat

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.

Starting a new project?

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

Tabs

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"

Releases

No releases published

Packages

No packages published

Languages