class RuboCop::Cop::Style::EmptyLinesAroundModuleBody

end
end

def bar
module Foo
# good
EnforcedStyle: no_empty_lines
end
end

def bar
module Foo
# good
EnforcedStyle: empty_lines
@example
the configuration.
This cops checks if empty lines around the bodies of modules match

def on_module(node)

def on_module(node)
  _name, body = *node
  check(node, body)
end