.rubocop.yml in lex-transformer-0.1.1 vs .rubocop.yml in lex-transformer-0.1.2
- old
+ new
@@ -1,13 +1,19 @@
Layout/LineLength:
Max: 120
Metrics/MethodLength:
- Max: 30
+ Max: 50
Metrics/ClassLength:
Max: 1500
Metrics/BlockLength:
Max: 50
+Metrics/PerceivedComplexity:
+ Max: 20
+Metrics/CyclomaticComplexity:
+ Max: 15
+Metrics/AbcSize:
+ Max: 50
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: space
Style/SymbolArray:
Enabled: true
Layout/HashAlignment:
@@ -15,9 +21,10 @@
EnforcedColonStyle: table
Style/Documentation:
Enabled: false
AllCops:
TargetRubyVersion: 2.5
+ NewCops: enable
Style/FrozenStringLiteralComment:
Enabled: false
Naming/FileName:
Enabled: false
Style/ClassAndModuleChildren:
\ No newline at end of file