You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| README.md | 5 years ago | |
| index.js | 5 years ago | |
README.md
no-eol-whitespace
Disallow end-of-line whitespace.
a { color: pink; }···
/** ↑
* This whitespace */
The fix option can automatically fix most of the problems reported by this rule.
Options
true
The following patterns are considered violations:
a { color: pink; }·
a { color: pink; }····
Comment strings are also checked -- so the following is a violation:
/* something····
* something else */
The following patterns are not considered violations:
a { color: pink; }
/* something
* something else */
Optional secondary options
ignore: ["empty-lines"]
"empty-lines"
Allow end-of-line whitespace for lines that are only whitespace, "empty" lines.
The following patterns are not considered violations:
a {
color: pink;
··
background: orange;
}
····
a { color: pink; }
····