From 5cb8a50faf0981f5f701fe9871c2c9cdd3f2b7f2 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 14 Nov 2023 05:28:49 +0100 Subject: [PATCH] chore: config files --- .editorconfig | 17 +++++++++++++++++ .rustfmt.toml | 1 + 2 files changed, 18 insertions(+) create mode 100644 .editorconfig create mode 100644 .rustfmt.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..af278fc --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# Default to Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = 4 + +[*.rs] +indent_size = 2 + +[*.js] +indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..218e203 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true