rubocop.yml in yoti-1.1.0 vs rubocop.yml in yoti-1.2.0
- old
+ new
@@ -1,28 +1,29 @@
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
- TargetRubyVersion: 2.4
+ TargetRubyVersion: 2.1
Exclude:
- 'examples/rails/config/**/*'
Metrics/AbcSize:
- Max: 15
+ Max: 23
Exclude:
- examples/rails/app/controllers/yoti_controller.rb
Metrics/BlockLength:
Exclude:
- spec/**/**/*.rb
+Metrics/CyclomaticComplexity:
+ Max: 9
+
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
CountComments: false
- Max: 15
- Exclude:
- - examples/rails/app/controllers/yoti_controller.rb
+ Max: 19
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment: