-
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
fix(sc): Fix by stylelint #612
Conversation
@@ -25,7 +25,7 @@ const StyledListItem = styled(ListItem).attrs({ | |||
}, | |||
underlayColor: props => (props.unknown ? null : colors.greyLight), | |||
hideChevron: props => props.unknown, | |||
}); | |||
})``; |
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.
?
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.
@andrewda It is just my last commit, whose purpose is reverting changes. I removed them by mistake, because stylelint
complained about empty blocks, as the updated PR description mentioned. But we can't simply do that. "fn``" is different with "fn".
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.
Ah ok yea, didn't see that that was a revert commit.
@@ -40,7 +40,7 @@ const CloseIcon = styled(Icon).attrs({ | |||
size: 28, | |||
name: 'x', | |||
type: 'octicon', | |||
}); | |||
})``; |
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.
?
WIP.Modified by stylelint's suggestions. Including:
padding-horizonal
The last thing is that, is there a better way for empty tagged template?
stylelint
will throw a warning. Of course, maybe we can add a rule to ignore it.