Limit the number of adjacent empty lines within functions.
a {
transform:
translate(
/* ← */
1, /* ↑ */
/* ← */
1 /* ↑ */
/* ← */
); /* ↑ */
} /* ↑ */
/** ↑
* These lines */
命令行中的 --fix
选项可以自动修复此规则报告的所有问题。
int
: Maximum number of characters allowed.
例如,使用 0
:
以下模式被视为违规:
a {
transform:
translate(
1,
1
);
}
a {
transform:
translate(
1,
1
);
}
a {
transform:
translate(
1,
1
);
}
以下模式不被视为违规:
a {
transform:
translate(
1,
1
);
}