.rubocop.yml in gistory-0.1.6 vs .rubocop.yml in gistory-0.1.7
- old
+ new
@@ -1,28 +1,28 @@
Documentation:
Enabled: false
Metrics/AbcSize:
- # The ABC size is a calculated magnitude, so this number can be a Fixnum or a Float.
- # http://c2.com/cgi/wiki?AbcMetric
Max: 25
Exclude:
- - 'test/**/*_test.rb' # ignore tests which typically have high B count due to many asserts
+ - 'spec/**/*_spec.rb'
-Metrics/ClassLength:
+Metrics/BlockLength:
Exclude:
- - 'test/**/*_test.rb'
+ - 'spec/**/*_spec.rb'
Metrics/MethodLength:
Max: 20
- Exclude:
- - 'test/**/*_test.rb'
Metrics/LineLength:
Max: 120
Layout/EmptyLineAfterGuardClause:
Enabled: false
+
+Style/BlockDelimiters:
+ Exclude:
+ - 'spec/**/*_spec.rb'
Style/IfUnlessModifier:
Enabled: false
Style/FrozenStringLiteralComment: