Skip to content

Instantly share code, notes, and snippets.

@dsaveliev
Last active August 29, 2015 14:23
Show Gist options
  • Save dsaveliev/9df2bdefac209bfa5f0c to your computer and use it in GitHub Desktop.
Save dsaveliev/9df2bdefac209bfa5f0c to your computer and use it in GitHub Desktop.
AllCops:
Exclude:
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'db/schema.rb'
Style/TrailingBlankLines:
Enabled: false
Style/AsciiIdentifiers:
Enabled: true
Exclude:
- 'features/**/*'
Style/AlignParameters:
Enabled: false
Lint/EndAlignment:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Style/IndentationConsistency:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: true
Exclude:
- 'lib/tasks/**/*.rake'
Style/AndOr:
Enabled: false
Metrics/AbcSize:
Max: 40
Metrics/ClassLength:
Max: 120
Metrics/LineLength:
Max: 130
Exclude:
- 'spec/**/*.rb'
- 'features/**/*.rb'
- 'config/initializers/secret_token.rb'
Metrics/MethodLength:
Max: 40
Style/AccessorMethodName:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/Blocks:
Enabled: true
Exclude:
- 'spec/**/*.rb'
Style/CaseIndentation:
Enabled: true
IndentOneStep: true
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/DotPosition:
Enabled: true
EnforcedStyle: trailing
Style/DoubleNegation:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/ElseAlignment:
Enabled: false
Style/GuardClause:
Enabled: false
Style/MultilineOperationIndentation:
Enabled: true
EnforcedStyle: indented
Style/NumericLiterals:
MinDigits: 9
Style/NumericLiterals:
Enabled: false
Style/PredicateName:
Enabled: false
Style/StringLiterals:
Enabled: true
Exclude:
- 'db/schema.rb'
Style/TrailingComma:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment