.rubocop.yml
Style/PercentLiteralDelimiters:
PreferredDelimiters:
"%w": "()"
LineLength:
Description: 'Limit lines to 100 characters.'
Max: 100
Enabled: true
StringLiterals:
EnforcedStyle: double_quotes
Enabled: true
Style/DotPosition:
EnforcedStyle: trailing
Enabled: true
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 20
Metrics/AbcSize:
Max: 20
Metrics/BlockLength:
Max: 35
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Enabled: false
Style/SymbolArray:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
# By default, the rails cops are not run. Override in project or home
# directory .rubocop.yml files, or by giving the -R/--rails option.
Rails:
Enabled: false
# Disabled cops
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Style/EachWithObject:
Enabled: false
Style/AccessorMethodName:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false