Skip to content

Instantly share code, notes, and snippets.

@lclemence
Created April 7, 2017 19:30
Show Gist options
  • Save lclemence/d522d4d02b1f56c0486e66cecf74a077 to your computer and use it in GitHub Desktop.
Save lclemence/d522d4d02b1f56c0486e66cecf74a077 to your computer and use it in GitHub Desktop.
rubocop config
AllCops:
Exclude:
- 'db/**/*'
- 'doc/**/*'
- 'log/**/*'
- 'node_modules/**/*'
- 'public/**/*'
- 'tmp/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/**/*'
- 'app/assets/**/*'
- 'Gemfile'
TargetRubyVersion: 2.2
Metrics/LineLength:
Max: 120
Metrics/BlockLength:
Severity: warning
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/StructInheritance:
Exclude:
- 'app/jobs/**/*'
Metrics/ClassLength:
Max: 200
Severity: warning
Rails:
Enabled: true
HttpPositionalArguments:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment