codeclimate/codeclimate-rubocop

View on GitHub
config/contents/layout/empty_lines_around_module_body.md

Summary

Maintainability
Test Coverage
This cops checks if empty lines around the bodies of modules match
the configuration.

### Example: EnforcedStyle: empty_lines
    # good

    module Foo

      def bar
        # ...
      end

    end

### Example: EnforcedStyle: empty_lines_except_namespace
    # good

    module Foo
      module Bar

        # ...

      end
    end

### Example: EnforcedStyle: empty_lines_special
    # good
    module Foo

      def bar; end

    end

### Example: EnforcedStyle: no_empty_lines (default)
    # good

    module Foo
      def bar
        # ...
      end
    end