configs/rubocop/other-style.yml in govuk-lint-0.5.0 vs configs/rubocop/other-style.yml in govuk-lint-0.5.1
- old
+ new
@@ -1,8 +1,9 @@
AccessModifierIndentation:
Description: Check indentation of private/protected visibility modifiers.
- Enabled: false
+ Enabled: true
+ EnforcedStyle: outdent
AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: false
@@ -119,10 +120,10 @@
Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
Enabled: false
EmptyLinesAroundAccessModifier:
Description: "Keep blank lines around access modifiers."
- Enabled: false
+ Enabled: true
EmptyLines:
Description: "Keeps track of empty lines around expression bodies."
Enabled: false