-
Notifications
You must be signed in to change notification settings - Fork 92
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
Interpolation variable in calc() function #786
Comments
@danny007in Maybe this could be a more generic rule, like disallowing interpolation in function call arguments? |
PR Created in #787 |
@danny007in Thanks! I just realized that you want the rule to do the opposite of what I was saying in my previous comment. I'm still however thinking if there is a need for this kind of rule in The other option would be just to add a custom rule to the project in question (bootstrap) to catch this specific calc related problem. |
@kristerkari to solve twbs/bootstrap#38278 |
@danny007in I already had a look at the problem that you are trying to solve, but I'm not sure that creating a new rule just for that would make sense. What I was thinking is that https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dollar-variable-no-missing-interpolation rule could be instead improved to handle |
Rule Example
Allow
Disallow
To solve twbs/bootstrap#38278
The text was updated successfully, but these errors were encountered: