.rubocop.yml
AllCops:
NewCops: enable
TargetRubyVersion: 2.0
Layout/LineLength:
Max: 80
Lint/AssignmentInCondition:
Enabled: false
Metrics/AbcSize:
Max: 30
Metrics/BlockLength:
Exclude:
- "spec/**/*"
- "*.gemspec"
Metrics/ClassLength:
Max: 1500
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Max: 20
Naming/BinaryOperatorParameterName:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 2
Style/AsciiComments:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/CommentedKeyword:
Enabled: false
Style/LambdaCall:
SupportedStyles:
- call
- braces
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrivialAccessors:
Enabled: false