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

stabilize disable_all_formatting #5026

Conversation

calebcartwright
Copy link
Member

@calebcartwright calebcartwright commented Oct 14, 2021

I realize that this was previously considered and then declined in favor of stabilizing ignore. However, it's been more than two years since that was last discussed, and ignore remains unstabilized with some outstanding issues that need to be resolved first.

I completely agree with the strategic target of having ignore in place which will obviate the need for this option, but for years now projects that have opted to not utilize rustfmt haven't had a viable way to prevent unintentional and undesired formatting changes from contributors, and this has been an unnecessary source of friction given the presence of this option and its readiness for stabilization.

As such, I'm going to stabilize this with disclaimers about deferring to ignore when possible and that this will likely be soft deprecated (warning emitted, automatically mapped to ignore) whenever we actually manage to get ignore stabilized.

@calebcartwright calebcartwright merged commit c9c1932 into rust-lang:master Oct 14, 2021
@calebcartwright calebcartwright deleted the stabilize-disable-all-formatting branch October 14, 2021 02:58
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.

1 participant