.rubocop.yml in telegram-bot-ruby-1.0.0 vs .rubocop.yml in telegram-bot-ruby-2.0.0
- old
+ new
@@ -1,27 +1,32 @@
---
require:
- rubocop-rake
- rubocop-rspec
+ - rubocop-performance
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Style/Documentation:
Enabled: false
-Style/FrozenStringLiteralComment:
- Exclude:
- - bin/console
-
Metrics/BlockLength:
AllowedMethods:
- context
- describe
- task
+Metrics/ClassLength:
+ Exclude:
+ - lib/telegram/bot/api/endpoints.rb
+Metrics/MethodLength:
+ Exclude:
+ - spec/**/*
Layout/LineLength:
Max: 120
- Exclude:
- - telegram-bot-ruby.gemspec
- - examples/*.rb
+
+RSpec/MultipleMemoizedHelpers:
+ Enabled: false
+RSpec/NestedGroups:
+ Enabled: false