rubocop.yml in yoti-1.3.1 vs rubocop.yml in yoti-1.4.0
- old
+ new
@@ -1,34 +1,50 @@
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
- TargetRubyVersion: 2.1
+ TargetRubyVersion: 2.4
Exclude:
- 'examples/rails/config/**/*'
+ - 'lib/yoti/protobuf/attrpubapi/*'
+ - 'lib/yoti/protobuf/compubapi/*'
Metrics/AbcSize:
Max: 23
Exclude:
- examples/rails/app/controllers/yoti_controller.rb
Metrics/BlockLength:
Exclude:
- spec/**/**/*.rb
+ - yoti.gemspec
Metrics/CyclomaticComplexity:
Max: 9
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
CountComments: false
Max: 19
+ Exclude:
+ - spec/yoti/data_type/multi_value_spec.rb
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/NumericLiterals:
Enabled: false
+
+Style/MutableConstant:
+ Enabled: false
+
+Naming/MethodName:
+ Exclude:
+ - lib/yoti/util/anchor_processor.rb
+
+Naming/PredicateName:
+ Exclude:
+ - lib/yoti/util/age_processor.rb