-
Notifications
You must be signed in to change notification settings - Fork 49
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
broken ast #204
Comments
Known issue, we should rewrite parser whole, now we parse comments as part of ast, but it is invalid, we should use |
Is it possible to contribute? or this issue still is in discussion? |
@vankop it is breaking change, anyway let's do it, in future we should use |
@evilebottnawi I will take this. |
👍 |
@evilebottnawi should we skip comments in Currently https://github.com/postcss/postcss-selector-parser/blob/master/src/__tests__/util/helpers.js#L24 we expect that comments will be in output |
No, we should print comments |
Sorry I was a bit stuck with stringifying comments correctly and gave up =) I hope I will find time on the next week or will create WIP PR. |
This issue is occurring in upgrade for angular 12, and i also get this criptic error message that the angular people says comes from this progam after I replace all the // comments: Shouldn't the error message give a location where this error occurs? |
@daddyschmack just helped a teammate with this. Apparently this is a problem with CRLF or something related to Stylelint's ignoreFiles. |
regarding to stylelint/stylelint#4049
Parsers
// this comments is marked as an error
as selectorsThe text was updated successfully, but these errors were encountered: