-
Notifications
You must be signed in to change notification settings - Fork 787
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
chore(lint): Add stylelint script #652
Conversation
Thanks for looking into this! For the second case, would formatting the rule as you suggested in #648 solve the compatibility issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@machour Thanks for your catch. I removed all node modules and got the same error. It seems that this PR updated some babel packages and introduced this bug. Let me find out reasons. |
@machour I searched around and found that It is an annoy feature of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in #604, I integrated
stylelint
by following styled-components tutorial.Please notice that even with the official
stylelint-processor-styled-components
,stylelint
is not 100% compatible with styled-components. So I added some customized rules.It will be parsed as,