From 1809c22b080de4f1daeaea949d1bf46b765b0252 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Wed, 24 Aug 2022 23:34:53 +0200 Subject: Add editorconfig file (#246) * Add editorconfig file It's a cross-editor compatible config file that defines certain editor behaviour (e.g. adding/removing newline at end of file) It is supported by major editors like Visual Studio (Code) and by version control providers like GitHub. Should end the constant adding/removing of final newline in PRs * More settings - unicode by default - trim newlines - use tabs for indentation (ugh) --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..bc423183 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# For more info on `.editorconfig` file see https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Newline ending every file +[*] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab -- cgit v1.2.3