Skip to content

Instantly share code, notes, and snippets.

@andrerpbts
Created February 16, 2016 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrerpbts/3adddbcba30cafb4c0e5 to your computer and use it in GitHub Desktop.
Save andrerpbts/3adddbcba30cafb4c0e5 to your computer and use it in GitHub Desktop.
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/**/*'
- !ruby/regexp /old_and_unused\.rb$/
Rails:
Enabled: true
Metrics/LineLength:
Max: 99
Metrics/MethodLength:
CountComments: false
Max: 25
Metrics/AbcSize:
Max: 25
Style/Semicolon:
AllowAsExpressionSeparator: true
Documentation:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/AndOr:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/EachWithObject:
Enabled: false
Style/ClassVars:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment