#block-closing-brace-empty-line-before

Require or disallow an empty line before the closing brace of blocks.

要求或禁止在闭括号之前有空行。

a {
  color: pink;
  /* ← */
} /* ↑ */
/**  ↑
 * This line */

#Options

string: "always-multi-line"|"never"

#always-multi-line

The following patterns are considered warnings:

以下模式被认为是个警告:

a {
  color: pink;
}

The following patterns are not considered warnings:

以下模式正常:

a {
  color: pink;

}
a { color: pink; }

#never

The following patterns are considered warnings:

以下模式被认为是个警告:

a {
  color: pink;

}

The following patterns are not considered warnings:

以下模式正常:

a {
  color: pink;
}
a { color: pink; }