Pattern: Wrong accessor grouping
Issue: -
Checks for grouping of accessors in class and module bodies. By default it enforces accessors to be placed in grouped declarations, but it can be configured to enforce separating them in multiple declarations.
# bad
class Foo
attr_reader :bar
attr_reader :baz
end
# good
class Foo
attr_reader :bar, :baz
end