1 # Run rustfmt with this config (it should be picked up automatically).
3 use_small_heuristics = "Max"
6 # by default we ignore everything in the repository
7 # tidy only checks files which are not ignored, each entry follows gitignore style
14 # tests for now are not formatted, as they are sometimes pretty-printing constrained
15 # (and generally rustfmt can move around comments in UI-testing incompatible ways)
18 # do not format submodules
21 "compiler/rustc_codegen_cranelift",
23 "src/doc/edition-guide",
24 "src/doc/embedded-book",
27 "src/doc/rust-by-example",
28 "src/doc/rustc-dev-guide",
34 "src/tools/rust-analyzer",
36 "src/tools/rust-installer",