From 48d00962f4895f234fc19c0f8db8f9ddc5b64729 Mon Sep 17 00:00:00 2001 From: Stiopa Koltsov Date: Mon, 1 Mar 2021 02:40:47 +0000 Subject: [PATCH] Add .editorconfig Add `.editorconfig` with sensible defaults. Many editors understand editorconfig, and the most important one here is IntelliJ IDEA which does not insert file trailing newline by default, but does it out of box this provided `.editorconfig`. --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..79a8d7d5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*.rs] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4