configs/rubocop/gds-ruby-styleguide.yml in govuk-lint-1.0.0 vs configs/rubocop/gds-ruby-styleguide.yml in govuk-lint-1.1.0
- old
+ new
@@ -17,9 +17,13 @@
Style/ClosingParenthesisIndentation:
Description: 'Checks the indentation of hanging closing parentheses.'
Enabled: false
+Style/MutableConstant:
+ Description: 'Freeze mutable objects assigned to constants.'
+ Enabled: true
+
ElseLayout:
Description: 'Check for odd code arrangement in an else block.'
Enabled: true
# Supports --auto-correct