Skip to content

Commit c88b349

Browse files
authored
Rollup merge of #69047 - ehuss:rustfmt-vendor, r=Centril
Don't rustfmt check the vendor directory. I need to be able to run `x.py tidy` to do license checks (which requires vendored dependencies). However, when vendoring is enabled, it wants to rustfmt check the entire vendor directory, which doesn't work.
2 parents 0ba5e8a + 6575abc commit c88b349

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ merge_derives = false
77
# tidy only checks files which are not ignored, each entry follows gitignore style
88
ignore = [
99
"build",
10+
"/vendor/",
1011

1112
# tests for now are not formatted, as they are sometimes pretty-printing constrained
1213
# (and generally rustfmt can move around comments in UI-testing incompatible ways)

0 commit comments

Comments
 (0)