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

Add code formatter for frontend #1594

Merged
merged 3 commits into from
May 26, 2023
Merged

Add code formatter for frontend #1594

merged 3 commits into from
May 26, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented May 25, 2023

I wanted to use 2 spaces for Vue templates (HTML) and 4 for everything else, but prettier doesn't support that, so I just kept two spaces for everything. Formatting is now also checked in CI.

@Kobzol Kobzol requested a review from lqd May 25, 2023 21:11
@lqd
Copy link
Member

lqd commented May 25, 2023

Is CI failing because the prettier config is maybe not available within the docker image ?

@Kobzol Kobzol enabled auto-merge May 26, 2023 12:55
@Kobzol Kobzol merged commit 8ea254b into rust-lang:master May 26, 2023
@Kobzol Kobzol deleted the npm-fmt branch May 26, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants