Skip to content

Files

Latest commit

 

History

History
64 lines (47 loc) · 729 Bytes

function-max-empty-lines.md

File metadata and controls

64 lines (47 loc) · 729 Bytes

Pattern: Too many empty lines in function

Issue: -

Description

Limit the number of adjacent empty lines within functions.

Examples

int: Maximum number of characters allowed.

For example, with 0:

The following patterns are considered violations:

a {
  transform:
    translate(

      1,
      1
    );
}
a {
  transform:
    translate(
      1,

      1
    );
}
a {
  transform:
    translate(
      1,
      1

    );
}

The following patterns are not considered violations:

a {
  transform: 
    translate(
      1, 
      1
    );
}

Further Reading