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.
This commit is contained in:
commit
c88b3494b0
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ merge_derives = false
|
|||
# tidy only checks files which are not ignored, each entry follows gitignore style
|
||||
ignore = [
|
||||
"build",
|
||||
"/vendor/",
|
||||
|
||||
# tests for now are not formatted, as they are sometimes pretty-printing constrained
|
||||
# (and generally rustfmt can move around comments in UI-testing incompatible ways)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue