sass - How resolve issue with background-image linear-gradient? -
i using scsslint involves spacebetweenparens 1
and using not work because of scsslint
@include background-image( linear-gradient ( $tt-white, $tt-light-grey ) ); if remove spacing, work 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 due space before linear-gradient in code. should use:
@include background-image(linear-gradient($tt-white, $tt-light-grey)); see also: https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/readme.md#spacebetweenparens
Comments
Post a Comment