.rubocop.yml in archival-0.0.2 vs .rubocop.yml in archival-0.0.4
- old
+ new
@@ -1,16 +1,19 @@
+inherit_mode:
+ merge:
+ - Exclude
+
AllCops:
NewCops: enable
SuggestExtensions: false
Exclude:
- - bin/bundle
+ - bin/*
Layout/LineLength:
Max: 80
Exclude:
- archival.gemspec
- - bin/*
- spec/spec_helper.rb
Layout/TrailingWhitespace:
Exclude:
# This file has a lot of templates and includes
@@ -26,9 +29,21 @@
Metrics/BlockLength:
Max: 150
Metrics/ClassLength:
Max: 150
+
+Metrics/CyclomaticComplexity:
+ Max: 10
+ Exclude:
+ # This file does a lot of defaulting. It's easy to read.
+ - lib/archival/config.rb
+
+Metrics/PerceivedComplexity:
+ Max: 10
+ Exclude:
+ # This file does a lot of defaulting. It's easy to read.
+ - lib/archival/config.rb
Lint/ImplicitStringConcatenation:
Exclude:
- spec/tags/layout_spec.rb
\ No newline at end of file