From f58d9c1f8da80f8085a86add57543d79e079b012 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 2 Apr 2025 13:03:15 -0400 Subject: [PATCH] Create an editorconfig file (#392) An editorconfig file helps to maintain consistent style across different editors. Many editors support using the `.editorconfig` file to determine settings such as indentation level out of the box. Most IDEs that do not have support out of the box have a simple plugin available. Even tools such as prettier use this file (see https://prettier.io/docs/configuration#editorconfig). See https://editorconfig.org/ for more information. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: fake.neo Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com> --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..fb081eac4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +# EditorConfig is awesome: https://EditorConfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true