sasstools / sass-lint

Pure Node.js Sass linting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

space-around-operator errors on background shorthand

marlonmarcello opened this issue · comments

What version of Sass Lint are you using?
1.13.1

Please include any relevant parts of your configuration
Base configuration, nothing changed

What did you do? Please include the actual source code causing the issue.
background: url(./assets/asset-name.png) center center/contain no-repeat;

What did you expect to happen?
Nothing.

What actually happened? Please include any error messages given to you by Sass Lint.
It triggered a warning for the space-around-operator rule.
warning Space expected around operator space-around-operator

If you're using a IDE plugin have you tried the CLI too?
Straight up CLI.

I checked the docs on MDN and they recommend it without spaces:
https://developer.mozilla.org/en-US/docs/Web/CSS/background