Skip to content

Instantly share code, notes, and snippets.

@cpruitt
Created April 8, 2016 15:43
Show Gist options
  • Select an option

  • Save cpruitt/73b1c6ec2db611a484749451dcb34033 to your computer and use it in GitHub Desktop.

Select an option

Save cpruitt/73b1c6ec2db611a484749451dcb34033 to your computer and use it in GitHub Desktop.
Evolving Rubocop config file for Inspyre projects.
# WIP
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'bin/**/*'
- 'config/**/*'
- 'script/**/*'
- !ruby/regexp /old_and_unused\.rb$/
Metrics/LineLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Style/RaiseArgs:
EnforcedStyle: compact
Style/BracesAroundHashParameters:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment