.rubocop.yml in xstream-0.0.0 vs .rubocop.yml in xstream-0.1.0
- old
+ new
@@ -1,22 +1,19 @@
AllCops:
+ TargetRubyVersion: 2.2
DisplayCopNames: true
#
-# Style
-#
-
-Style/StringLiterals:
- EnforcedStyle: double_quotes
-
-#
# Metrics
#
Metrics/AbcSize:
Enabled: false
+Metrics/BlockLength:
+ Max: 100
+
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
@@ -27,5 +24,15 @@
Metrics/LineLength:
Max: 128
Metrics/MethodLength:
Max: 25
+
+#
+# Style
+#
+
+Style/FrozenStringLiteralComment:
+ Enabled: true
+
+Style/StringLiterals:
+ EnforcedStyle: double_quotes