Update prettier to version ^1.15.3

This commit is contained in:
Alex Browne
2019-01-09 12:12:05 -08:00
parent 53fc860d61
commit 89e398fa39
146 changed files with 842 additions and 3877 deletions

View File

@@ -45,11 +45,8 @@ const Container = styled.div`
}
`;
const Base =
styled.div <
CodeProps >
`
font-size: .875rem;
const Base = styled.div<CodeProps>`
font-size: 0.875rem;
color: ${props => (_.isUndefined(props.language) ? colors.white : 'inherit')};
background-color: ${props =>
props.isLight ? 'rgba(255,255,255,.15)' : _.isUndefined(props.language) ? colors.black : '#F1F4F5'};
@@ -110,10 +107,7 @@ const StyledCodeDiff = styled(CodeDiff)`
}
`;
const StyledPre =
styled.pre <
CodeProps >
`
const StyledPre = styled.pre<CodeProps>`
margin: 0;
${props =>
!props.isDiff