When you leave blank lines without the proper indentation between two properties css-whitespace fails. This is a problem, becaue many code editors automatically remove the whitespace in otherwise empty lines.
css-whitespace should ignore those lines, i.e. remove every line that only contains whitespace: css.replace(/\s+\n/gm, "");