Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 504 Bytes

File metadata and controls

25 lines (13 loc) · 504 Bytes

WizardHealth linters

Ruby

Extends rubocop linters with our prefered styles.

To install inside your app simply install the gem: gem "code-patrol", github: "WizardComputer/code-patrol", require: false

Create an empty rubocop.yml that inherits from code-patrol inherit_gem: { code-patrol: rubocop.yml }

If you want to override with app specific rules, they can follow/override after inheritance.

# rubocop.yml

inherit_gem: { code-patrol: rubocop.yml }

# your custom rules