-
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
operator-no-newline-before and operator-no-unspaced fail with CSS Custom Properties #252
Labels
Bug 🐛
Something isn't working
Comments
Thanks! I need verify, but looks like a bug :) |
I confirm the error is caused with this CSS. at findOperators (src/utils/sassValueParser/index.js:154:207)
at src/rules/operator-no-unspaced/index.js:139:45
at node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:109:26
at Rule.each (node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:77:22)
at Rule.walk (node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:108:21)
at node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:111:32
at Root.each (node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:77:22)
at Root.walk (node_modules/stylelint/node_modules/postcss-scss/node_modules/postcss/lib/container.es6:108:21)
at calculationOperatorSpaceChecker (src/rules/operator-no-unspaced/index.js:132:8)
at src/rules/operator-no-newline-before/index.js:55:61 I think I'll correct this behavior and send PR to you. |
YozhikM
added a commit
to YozhikM/stylelint-scss
that referenced
this issue
Jun 14, 2018
@YozhikM That would be great, thanks for the help! |
Fix available in v3.1.1. Thanks for helping! |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to my tests, these two rules:
Fail to lint:
Trace:
The text was updated successfully, but these errors were encountered: