This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
This way we can move some of the view logic to the Ruby class. It'll also make it easier to write tests for it.