configs/rubocop/gds-ruby-styleguide.yml in govuk-lint-0.4.0 vs configs/rubocop/gds-ruby-styleguide.yml in govuk-lint-0.4.1
- old
+ new
@@ -229,10 +229,10 @@
# Supports --auto-correct
TrivialAccessors:
Description: Prefer attr_* methods to trivial readers/writers.
Enabled: true
ExactNameMatch: true
- AllowPredicates: false
+ AllowPredicates: true
AllowDSLWriters: false
Whitelist:
- to_ary
- to_a
- to_c