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

SpaceAroundOperator returning warning for font-size/line-height shorthand #953

Open
Jenn opened this issue Jul 19, 2018 · 0 comments
Open

Comments

@Jenn
Copy link

Jenn commented Jul 19, 2018

Hi! While I love SpaceAroundOperator for equations, I wouldn't want them applied to my font shorthand rules, but they seem to be:

SpaceAroundOperator: 1.9rem/1.5 should be written with a single space on each side of the operator: 1.9rem / 1.5

image

In the documentation, it does not seem that this should be occuring

Note that this linter only applies to actual, evaluated operators. So values like nth-child(2n+1), 10px/12px, and my-font will not be linted, as they are valid CSS.

my scss-lint.yml is set to:

SpaceAroundOperator:
    enabled: true
    style: one_space # or 'at_least_one_space', or 'no_space'
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