Skip to content

Files

Latest commit

 

History

History
35 lines (23 loc) · 464 Bytes

Layout-LeadingEmptyLines.md

File metadata and controls

35 lines (23 loc) · 464 Bytes

Pattern: Unnecessary leading empty line

Issue: -

Description

This rule checks for unnecessary leading empty lines at the beginning of a file.

Examples

# bad
# (start of file)

class Foo
end

# bad
# (start of file)

# a comment

# good
# (start of file)
class Foo
end

# good
# (start of file)
# a comment

Further Reading