From e5177a957343782171a55dbd9b6d2ae9e476b687 Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 22 Jul 2023 17:09:55 +0200 Subject: [PATCH] chore: configs and settings --- .editorconfig | 13 +++++++++++++ .gitignore | 1 + .rustfmt.toml | 1 + 3 files changed, 15 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .rustfmt.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4935540 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# 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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target 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