.rubocop.yml
AllCops:
DisabledByDefault: false
NewCops: enable
TargetRubyVersion: 2.4
DisplayCopNames: true
Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
Layout/LineLength:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/EmptyBlock:
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/BlockLength:
Enabled: true
Exclude:
- spec/**/*
- integration/**/*
Style/AndOr:
Enabled: false
Style/BlockDelimiters:
EnforcedStyle: braces_for_chaining
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/DocumentDynamicEvalDefinition:
Enabled: false
Style/GuardClause:
Enabled: false
Style/HashSyntax:
Enabled: false
Style/ParallelAssignment:
Enabled: false
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: "()"
"%i": "[]"
"%I": "[]"
"%r": "{}"
"%w": "[]"
"%W": "[]"
Style/SignalException:
EnforcedStyle: semantic