default.yml in ramsey_cop-0.20.0 vs default.yml in ramsey_cop-0.22.0
- old
+ new
@@ -7,10 +7,13 @@
- node_modules/**/*
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
+Layout/EmptyLinesAroundAttributeAccessor:
+ Enabled: true
+
Layout/LineLength:
Max: 120
Exclude:
- config/routes.rb
- config/routes/*
@@ -18,11 +21,11 @@
Lint/RaiseException:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
- Enabled: false
+ Enabled: true
Lint/StructNewOverride:
Enabled: true
Metrics/AbcSize:
@@ -72,11 +75,11 @@
Style/Documentation:
Enabled: false
Style/ExponentialNotation:
- Enabled: false
+ Enabled: true
Style/FrozenStringLiteralComment:
Enabled: false
Style/HashEachMethods:
@@ -103,9 +106,12 @@
'%r': '{}'
'%s': ()
'%w': ()
'%W': ()
'%x': ()
+
+Style/SlicingWithRange:
+ Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
Enabled: true