Skip to content

Instantly share code, notes, and snippets.

@adarsh
Forked from 164c/gist:9e4a6ed3bf6b20b873cf
Last active August 29, 2015 14:09
Show Gist options
  • Save adarsh/46679c2f5813496705fe to your computer and use it in GitHub Desktop.
Save adarsh/46679c2f5813496705fe to your computer and use it in GitHub Desktop.
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