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

Remove disable_all_formatting #4147

Merged

Conversation

topecongiro
Copy link
Contributor

This PR removes disable_all_formatting, as we can replace it with ignore.

Close #3388.

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

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

LGTM!

On a related note, I opened #4148 to propose something like an FAQ that folks can reference, and I think this is a great example of something we could include in that doc. For example:

If you want to disable rustfmt in your project, use the ignore setting with a value of...

@topecongiro
Copy link
Contributor Author

@calebcartwright Sounds good to me; we lack good documentation.

@topecongiro topecongiro merged commit 2da4f63 into rust-lang:master May 7, 2020
@topecongiro topecongiro deleted the deprecate-disable_all_formatting branch May 7, 2020 13:22
bradleypmartin pushed a commit to bradleypmartin/rustfmt that referenced this pull request May 25, 2020
@burdges
Copy link

burdges commented Jul 20, 2020

This should never have been removed since ignore = ['/'] only produces errors:

Warning: can't set `ignore = IgnoreList { path_set: {"/"}, rustfmt_toml_path: "" }`, unstable features are only available in nightly channel.

@karyon
Copy link
Contributor

karyon commented Oct 27, 2021

Seems like master goes in a different direction (#5026), backport not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[unstable option] disable_all_formatting
4 participants