1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 08:17:34 -04:00
notes/node_modules/stylelint/lib/rules/no-eol-whitespace/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

876 B

no-eol-whitespace

Disallow end-of-line whitespace.

a { color: pink; }···
/**               ↑
 *  This whitespace */

Options

true

The following patterns are considered warnings:

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

Comment strings are also checked -- so the following is a warning:

/* something····
 * something else */

The following patterns are not considered warnings:

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 warnings:

a {
  color: pink;
··
  background: orange;
}
····
a { color: pink; }
····