.rubocop.yml in legionio-0.2.0 vs .rubocop.yml in legionio-0.3.0
- old
+ new
@@ -17,40 +17,73 @@
- .info
- .debug
- .trace
Metrics/MethodLength:
Max: 50
+ ExcludedMethods:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Metrics/ClassLength:
Max: 1500
Metrics/ModuleLength:
Max: 1500
Metrics/BlockLength:
Max: 40
+ ExcludedMethods:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Metrics/AbcSize:
Max: 50
+ IgnoredMethods:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Metrics/CyclomaticComplexity:
Max: 15
+ IgnoredMethods:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Metrics/PerceivedComplexity:
Max: 15
+ IgnoredMethods:
+ - .unknown
+ - .fatal
+ - .error
+ - .warn
+ - .info
+ - .debug
+ - .trace
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: space
Style/SymbolArray:
Enabled: true
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Style/Documentation:
Enabled: false
AllCops:
- TargetRubyVersion: 2.6
- IgnoredPatterns:
- - .unknown
- - .fatal
- - .error
- - .warn
- - .info
- - .debug
- - .trace
+ TargetRubyVersion: 2.5
+ NewCops: enable
Style/FrozenStringLiteralComment:
Enabled: false
Naming/FileName:
Enabled: false