-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Regression: [rule.formatting]
completely overrides the default outside of the specified sections
#634
Comments
There aren't many changes between these two versions, after a quick scan I suspect #527 to be problematic... But I could be wrong. |
As a workaround, adding an explicit rule to stop reordering keys in "package" seems to work:
|
I bisected the problem to that commit |
@panekj Many thanks! Do you have any plans for an upcoming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, and thanks for making this wonderful project!
The Rustup team is trying to use
taplo
across our project, however we have encountered the following regression after trying to upgradetaplo
to v0.9.2 (from v0.9.0):With the following
.taplo.toml
ontaplo
v0.9.2:... and the following (minimal reproduction)
Cargo.toml
:... you can see that after
taplo fmt
, the keys in the[dependencies]
section are sorted alphabetically (as expected). However, the keys in the[package]
section are also reordered (which is not the case for v0.9.0):Many thanks in advance!
The text was updated successfully, but these errors were encountered: