Rollup merge of #68704 - jonas-schievink:ignore-build-fmt, r=Mark-Simulacrum
Ignore `build` dir formatting I've noticed that rustfmt tries to parse and check the formatting of code in `build` if `.git` is missing (which includes test artifacts and generated code). This should fix that.
This commit is contained in:
commit
44dc4c2617
@ -6,6 +6,8 @@ merge_derives = false
|
|||||||
# by default we ignore everything in the repository
|
# by default we ignore everything in the repository
|
||||||
# tidy only checks files which are not ignored, each entry follows gitignore style
|
# tidy only checks files which are not ignored, each entry follows gitignore style
|
||||||
ignore = [
|
ignore = [
|
||||||
|
"build",
|
||||||
|
|
||||||
# tests for now are not formatted, as they are sometimes pretty-printing constrained
|
# 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)
|
# (and generally rustfmt can move around comments in UI-testing incompatible ways)
|
||||||
"src/test",
|
"src/test",
|
||||||
|
Loading…
Reference in New Issue
Block a user