Skip to content
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

Update prettier and add import sorting #11742

Merged
merged 3 commits into from
Apr 6, 2022
Merged

Update prettier and add import sorting #11742

merged 3 commits into from
Apr 6, 2022

Conversation

timroes
Copy link
Collaborator

@timroes timroes commented Apr 5, 2022

This PR updates prettier as well as sets the line width to 120 (discussed offline).

Since it anyway touches all the files, we also enabled automatic import sorting on all files.

The only files touched manually in this PR where package.json, .prettierrc.js and .eslintrc. The rest of the changes are automatic eslint fixes (formatting).

@timroes timroes requested a review from a team as a code owner April 5, 2022 23:34
@github-actions github-actions bot added area/frontend area/platform issues related to the platform labels Apr 5, 2022
Copy link
Contributor

@krishnaglick krishnaglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this builds, should be good.

@@ -6,8 +6,7 @@ const BigButton = styled(Button)<{ shadow?: boolean }>`
line-height: 19px;
padding: 10px 27px;
font-weight: 500;
box-shadow: ${({ shadow }) =>
shadow ? "0 8px 5px -5px rgba(0, 0, 0, 0.2)" : "none"};
box-shadow: ${({ shadow }) => (shadow ? "0 8px 5px -5px rgba(0, 0, 0, 0.2)" : "none")};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be $shadow?

@@ -14,8 +14,7 @@ type IProps = {
const Title = styled(H5)<{ light?: boolean }>`
padding: ${({ light }) => (light ? "19px 20px 20px" : "25px 25px 22px")};
color: ${({ theme }) => theme.darkPrimaryColor};
box-shadow: ${({ light, theme }) =>
light ? "none" : `0 1px 2px ${theme.shadowColor}`};
box-shadow: ${({ light, theme }) => (light ? "none" : `0 1px 2px ${theme.shadowColor}`)};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's worth fixing all the $ stuff for the css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants