Skip to content

Instantly share code, notes, and snippets.

@164c
Created November 12, 2014 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save 164c/9e4a6ed3bf6b20b873cf to your computer and use it in GitHub Desktop.
Save 164c/9e4a6ed3bf6b20b873cf to your computer and use it in GitHub Desktop.
.rubocop.yml
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/**/*'
- 'vendor/bundle/**/*'
- !ruby/regexp /old_and_unused\.rb$/
RunRailsCops: true
CaseIndentation:
# Valid values are: case, end
IndentWhenRelativeTo: case
IndentOneStep: true
Metrics/LineLength:
Enabled: false
Style/Documentation:
Enabled: false
Style/AsciiComments:
Enabled: false
Metrics/MethodLength:
Enabled: false
Style/SignalException:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Style/RedundantSelf:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment