.rubocop.yml in tjson-0.3.0 vs .rubocop.yml in tjson-0.4.0
- old
+ new
@@ -1,31 +1,43 @@
AllCops:
DisplayCopNames: true
#
-# Style
-#
-
-LineLength:
- Max: 128
-
-Style/StringLiterals:
- EnforcedStyle: double_quotes
-
-#
# Metrics
#
Metrics/AbcSize:
Enabled: false
+Metrics/BlockLength:
+ Max: 100
+
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/ClassLength:
Max: 100
+Metrics/LineLength:
+ Max: 128
+
Metrics/MethodLength:
Max: 25
+
+#
+# Performance
+#
+
+Performance/RegexpMatch:
+ Enabled: false
+
+#
+# Style
+#
+
+Style/StringLiterals:
+ EnforcedStyle: double_quotes
+
+