config/rubocop.yml in meowcop-1.0.0 vs config/rubocop.yml in meowcop-1.1.0
- old
+ new
@@ -1,5 +1,8 @@
+AllCops:
+ TargetRubyVersion: 2.3
+
Lint/AmbiguousRegexpLiteral:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Lint/BlockAlignment:
@@ -21,27 +24,33 @@
Lint/UnusedBlockArgument:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
+# If AbcSize > 50, really really really really really really really complex
Metrics/AbcSize:
- Enabled: false
+ Max: 50
+# Use the default setting
Metrics/BlockNesting:
- Enabled: false
+ Enabled: true
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
- Enabled: false
+ Max: 10
Metrics/LineLength:
- Enabled: false
+ Max: 200
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
+# 7 parameters are tooooooo many
Metrics/ParameterLists:
- Enabled: false
+ Enabled: true
+ Max: 7
+# Use the default setting
Metrics/PerceivedComplexity:
- Enabled: false
+ Enabled: true
+# Use the default setting
Performance/RedundantBlockCall:
Enabled: false
Rails/Delegate: