Skip to content

Commit

Permalink
Move .rustfmt.toml to the repository root
Browse files Browse the repository at this point in the history
This allows rustfmt to automatically pick it up.
It's right there with similar files such as .prettierrc.
  • Loading branch information
piscisaureus committed Feb 9, 2019
1 parent 526497b commit 394b81d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const clangFormat = join("third_party", "depot_tools", "clang-format");
const gn = join("third_party", "depot_tools", "gn");
const yapf = join("third_party", "python_packages", "bin", "yapf");
const rustfmt = join("third_party", "rustfmt", deno.platform.os, "rustfmt");
const rustfmtConfig = join("tools", "rustfmt.toml");
const rustfmtConfig = ".rustfmt.toml";

const run = (...args: string[]) => {
if (deno.platform.os === "win") {
Expand Down

0 comments on commit 394b81d

Please sign in to comment.