.rubocop.yml
require:
- rubocop-rake
- rubocop-rspec
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
Exclude:
- bin/*
- spec/**/*
Documentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Max: 12
Metrics/ModuleLength:
Max: 160
Metrics/ClassLength:
Max: 160
Layout/LineLength:
Enabled: false
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods
Layout/EmptyLines:
Enabled: false
Layout/EmptyLinesAroundClassBody:
Enabled: false
Layout/EmptyLinesAroundBlockBody:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/EmptyLineBetweenDefs:
Enabled: false
Layout/HashAlignment:
Enabled: false
Style/CommandLiteral:
EnforcedStyle: percent_x
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Naming/FileName:
Exclude:
- lib/ssh-tunnel.rb