Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space-around-operator errors on background shorthand #1283

Open
marlonmarcello opened this issue Jun 3, 2019 · 1 comment
Open

space-around-operator errors on background shorthand #1283

marlonmarcello opened this issue Jun 3, 2019 · 1 comment

Comments

@marlonmarcello
Copy link

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.

@marlonmarcello
Copy link
Author

marlonmarcello commented Jun 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant