.rubocop.yml in legionio-0.1.1 vs .rubocop.yml in legionio-0.2.0
- old
+ new
@@ -1,26 +1,56 @@
-Metrics/LineLength:
- Max: 120
+Layout/LineLength:
+ Max: 160
+ IgnoredPatterns:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
+Metrics:
+ IgnorePatterns:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Metrics/MethodLength:
- Max: 30
+ Max: 50
Metrics/ClassLength:
Max: 1500
+Metrics/ModuleLength:
+ Max: 1500
Metrics/BlockLength:
+ Max: 40
+Metrics/AbcSize:
Max: 50
- Exclude:
+Metrics/CyclomaticComplexity:
+ Max: 15
+Metrics/PerceivedComplexity:
+ Max: 15
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: space
Style/SymbolArray:
Enabled: true
-Layout/AlignHash:
+Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
-Style/HashSyntax:
- EnforcedStyle: ruby19_no_mixed_keys
Style/Documentation:
Enabled: false
AllCops:
- TargetRubyVersion: 2.4
+ TargetRubyVersion: 2.6
+ IgnoredPatterns:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Style/FrozenStringLiteralComment:
Enabled: false
Naming/FileName:
Enabled: false