]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/.editorconfig
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / .editorconfig
diff --git a/src/tools/rustfmt/.editorconfig b/src/tools/rustfmt/.editorconfig
new file mode 100644 (file)
index 0000000..5bb92df
--- /dev/null
@@ -0,0 +1,26 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.rs]
+indent_size = 4
+
+[tests/**/*.rs]
+charset = utf-8
+end_of_line = unset
+indent_size = unset
+indent_style = unset
+trim_trailing_whitespace = unset
+insert_final_newline = unset
+
+[appveyor.yml]
+end_of_line = unset