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 empty rustfmt.toml #1907

Merged
merged 2 commits into from
Mar 29, 2023
Merged

Add empty rustfmt.toml #1907

merged 2 commits into from
Mar 29, 2023

Conversation

P1n3appl3
Copy link
Contributor

This prevents the user's global rustfmt settings from being used on rules_rust. I noticed that my other rules_rust commits were introducing spurious changes because I have wrap_comments enabled globally, so I added this empty config file to prevent that. I figured that others may run into the same issue and this could save some diffs in the future where someone sets a different line-length limit or something for their personal configuration.

@scentini scentini self-requested a review March 29, 2023 09:53
@scentini scentini enabled auto-merge (squash) March 29, 2023 09:55
@scentini
Copy link
Collaborator

Thanks!

@scentini scentini merged commit e4bd39f into bazelbuild:main Mar 29, 2023
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.

2 participants