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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -