.rubocop.yml in gistory-0.1.5 vs .rubocop.yml in gistory-0.1.6
- old
+ new
@@ -1,18 +1,30 @@
-Metrics/LineLength:
- Max: 120
-
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: 20
+ Max: 25
Exclude:
- 'test/**/*_test.rb' # ignore tests which typically have high B count due to many asserts
+Metrics/ClassLength:
+ Exclude:
+ - 'test/**/*_test.rb'
+
Metrics/MethodLength:
- Max: 15
+ Max: 20
+ Exclude:
+ - 'test/**/*_test.rb'
+
+Metrics/LineLength:
+ Max: 120
+
+Layout/EmptyLineAfterGuardClause:
+ Enabled: false
+
+Style/IfUnlessModifier:
+ Enabled: false
Style/FrozenStringLiteralComment:
EnforcedStyle: always