.rubocop.yml in yookassa-0.1.0 vs .rubocop.yml in yookassa-0.2.0
- old
+ new
@@ -1,13 +1,20 @@
AllCops:
- TargetRubyVersion: 2.5
+ TargetRubyVersion: 2.6
+ NewCops: enable
-Metrics/BlockLength:
- Exclude:
- - 'spec/**/*.rb'
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: double_quotes
-Metrics/LineLength:
- Max: 100
+Style/StringLiteralsInInterpolation:
+ Enabled: true
+ EnforcedStyle: double_quotes
-Naming/FileName:
- Exclude:
- - 'lib/*.rb'
+Style/Documentation:
+ Enabled: false
+
+Layout/LineLength:
+ Max: 150
+
+Metrics/BlockLength:
+ IgnoredMethods: ['describe', 'context', 'shared_examples']