.rubocop.yml
AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Layout/FirstArrayElementIndentation:
Enabled: false
Layout/LineLength:
Max: 82
Layout/SpaceAroundOperators:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Metrics/AbcSize:
Max: 30
Metrics/BlockLength:
CountComments: true
Max: 25
IgnoredMethods: []
Exclude:
- "spec/**/*"
Metrics/ClassLength:
Max: 1500
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Max: 20
Naming/BinaryOperatorParameterName:
Enabled: false
Naming/RescuedExceptionsVariableName:
Enabled: false
Style/AccessorGrouping:
Enabled: false
Style/AccessModifierDeclarations:
Enabled: false
Style/AsciiComments:
Enabled: false
# { ... } for multi-line blocks is okay
Style/BlockDelimiters:
Enabled: false
Style/CommentedKeyword:
Enabled: false
Style/StringConcatenation:
Enabled: false
Style/LambdaCall:
SupportedStyles:
- call
- braces
Style/MultipleComparison:
Enabled: false
Style/ParallelAssignment:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrivialAccessors:
Enabled: false