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

Suggestion: Allow default scss/dollar-variable-pattern to match variables like $x1 #191

Closed
kerryj89 opened this issue Jul 11, 2021 · 1 comment · Fixed by #279
Closed

Comments

@kerryj89
Copy link

kerryj89 commented Jul 11, 2021

My sass math functions had variables like $x1 and $y1, so I updated the pattern to be: ^[a-z][0-9]?(-*[a-z0-9]+)*$. Is there some sass convention that says variables can't be one letter or a letter paired with a number that you often see in loops or math?

@bjankord
Copy link
Owner

I'm open to updating this.

@bjankord bjankord added this to the v10.0.0 milestone Oct 30, 2021
@bjankord bjankord removed this from the v10.0.0 milestone Mar 14, 2023
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

Successfully merging a pull request may close this issue.

2 participants