Skip to content

Instantly share code, notes, and snippets.

@ryz310
Last active March 25, 2016 00:33
Show Gist options
  • Save ryz310/ad49b4622bc18cd51ab4 to your computer and use it in GitHub Desktop.
Save ryz310/ad49b4622bc18cd51ab4 to your computer and use it in GitHub Desktop.
inherit_from: .rubocop_todo.yml
Rails:
Enabled: true
# for Rails 3.2
Rails/ActionFilter:
Enabled: false
# for Rails 3.2
Rails/FindBy:
Enabled: false
# for Rails 3.2
Rails/FindEach:
Enabled: false
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/AsciiComments:
Enabled: false
Style/BlockDelimiters:
EnforcedStyle: braces_for_chaining
Style/Lambda:
Enabled: false
Style/AndOr:
Enabled: false
Style/RedundantReturn:
AllowMultipleReturnValues: true
Style/MultilineMethodCallIndentation:
EnforcedStyle: indented
Style/RedundantSelf:
Exclude:
- app/models/*.rb
Style/Semicolon:
AllowAsExpressionSeparator: true
Style/SpaceInsideStringInterpolation:
EnforcedStyle: space
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: consistent_comma
# default: 15
Metrics/AbcSize:
Max: 30
Metrics/LineLength:
Max: 128
AllCops:
Exclude:
- app/views/*.haml
- db/schema.rb
- tmp/**/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment