-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[styled-components] adding extra semi at the end #2636
Copy link
Copy link
Closed
Labels
area:multiparserIssues with printing one language inside another, like CSS-in-JSIssues with printing one language inside another, like CSS-in-JSlang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Source
export const ButtonWrapper = styled.button`
${base}
${hover}
${opaque}
${block}
${active}
${disabled}
${outline}
${dashed}
${spacing}
`;
Expected
export const ButtonWrapper = styled.button`
${base}
${hover}
${opaque}
${block}
${active}
${disabled}
${outline}
${dashed}
${spacing}
`;
or
export const ButtonWrapper = styled.button`
${base} ${hover} ${opaque} ${block} ${active} ${disabled} ${outline} ${dashed} ${spacing}
`;
Problem
extra ; added to end of line after ${spacing}
export const ButtonWrapper = styled.button`
${base} ${hover} ${opaque} ${block} ${active} ${disabled} ${outline} ${dashed} ${spacing};
`;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:multiparserIssues with printing one language inside another, like CSS-in-JSIssues with printing one language inside another, like CSS-in-JSlang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.