summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/format.ts2
-rw-r--r--tools/rustfmt.toml3
2 files changed, 1 insertions, 4 deletions
diff --git a/tools/format.ts b/tools/format.ts
index 93cfd6ccb..e5e0b4bf6 100755
--- a/tools/format.ts
+++ b/tools/format.ts
@@ -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") {
diff --git a/tools/rustfmt.toml b/tools/rustfmt.toml
deleted file mode 100644
index faa3d5a33..000000000
--- a/tools/rustfmt.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-max_width = 80
-tab_spaces = 2