summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-02-08 19:50:52 -0800
committerBert Belder <bertbelder@gmail.com>2019-02-08 20:06:21 -0800
commit394b81de15bb158908607a0b3740dd6dbc438417 (patch)
tree043bc941eb0021b5fa05e7ff65c1a83a0438acbc /.rustfmt.toml
parent526497bc29faaf99354ee5d1628e8681d6604736 (diff)
Move .rustfmt.toml to the repository root
This allows rustfmt to automatically pick it up. It's right there with similar files such as .prettierrc.
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
new file mode 100644
index 000000000..faa3d5a33
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,3 @@
+# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+max_width = 80
+tab_spaces = 2