.rubocop.yml
---
require:
- rubocop-rake
- rubocop-rspec
- rubocop-performance
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Style/Documentation:
Enabled: false
Metrics/BlockLength:
AllowedMethods:
- context
- describe
- task
Metrics/ClassLength:
Exclude:
- lib/telegram/bot/api/endpoints.rb
Metrics/MethodLength:
Exclude:
- spec/**/*
Layout/LineLength:
Max: 120
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NestedGroups:
Enabled: false