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
Update scss/at-mixin-pattern #181
Comments
I feel like with the popularity of BEM maybe double hyphens shouldn't be prevented by default Agreed that the pattern should be updated; funny enough I ran into the same issue with my math variables $x1, $x2, etc. #191 |
I'm open to updating this. |
Thinking about this, I don't feel strongly about enforcing a strict regex for mixins. Planning to remove the scss/at-mixin-pattern rule in the next major (v10) release and then people can decide however they want to write their mixins. |
Hello,
stylelint-config-sass-guidelines/index.js
Line 85 in ffa15c4
maybe prefer this regex:
"scss/at-mixin-pattern": "^[a-z]+(-?[a-z0-9]+)+$"
With that way mixins like
h1()
are possible and we can prevent mixins with multiple-
likefoo--bar()
.Thanks
The text was updated successfully, but these errors were encountered: