I am using scsslint which involves SpaceBetweenParens as 1
and I am using this which does not work because of scsslint
@include background-image( linear-gradient ( $tt-white, $tt-light-grey ) );
If i remove the spacing, it will work but it will give me scsslint errors "Expected 1 space between parentheses instead of 0":
@include background-image( linear-gradient($tt-white, $tt-light-grey));
Any help?
The "Expected 1 space between parentheses instead of 0" error is due to the space before
linear-gradient
in your code. You should use:See also: https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md#spacebetweenparens