.rubocop.yml in rails-auth-2.1.4 vs .rubocop.yml in rails-auth-2.2.0
- old
+ new
@@ -1,14 +1,18 @@
AllCops:
DisplayCopNames: true
+ TargetRubyVersion: 2.3
Style/StringLiterals:
EnforcedStyle: double_quotes
-Style/ModuleFunction:
+Layout/HashAlignment:
Enabled: false
+Metrics/BlockLength:
+ ExcludedMethods: ['describe', 'context']
+
Metrics/ParameterLists:
Max: 5
CountKeywordArgs: false
Metrics/LineLength:
@@ -20,5 +24,14 @@
Metrics/AbcSize:
Max: 25
Metrics/CyclomaticComplexity:
Max: 8
+
+Naming/MethodParameterName:
+ MinNameLength: 2
+
+Style/ModuleFunction:
+ Enabled: false
+
+Style/SafeNavigation:
+ Enabled: false