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
Templates and indentation false positives #2
Comments
Thank you for your report!
Could you explain what was the problem?
You're right. There is an issue within
Again, issue with stylelint rule. This is something I can look into, as it's also in my to-do :) Funny fact,
Whatever works for you. Be aware that it currently doesn't support a lot of things related to interpolations and throws parsing errors in many common styled-components use cases. But I know that author of that package works to improve support. |
For 'function-no-unknown': [
true,
{
ignoreFunctions: [/^\${/, /^`/],
},
], I used this configuration with |
Opened a PR in stylelint stylelint/stylelint#6565 |
|
Any chance the |
@meriouma it's up to developers of |
I searched a syntax that would not report arrow functions in interpolation as @stylelint/postcss-css-in-js does.
Tried your package and not only it didn't handle the interpolation properly, but reported even more errors as it didn't like the indentation. I guess it has something to do with
indentation
rule that I use in my config.Technical details
package versions from
package.json
:.stylelintrc
:P.S. I switched to 43081j/postcss-styled-components which does not have these issues.
The text was updated successfully, but these errors were encountered: