From 068d5dbfe558008987cdc79f7004a94c322d7136 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 2 Dec 2025 16:48:43 +0100 Subject: [PATCH] Add .editconfig to specify editor defaults Signed-off-by: Michael Mayer --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..873ab6bc4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# Top-most EditorConfig file, https://editorconfig.org +root = true + +# Use Unix-style newlines with a newline ending every file. +[*] +end_of_line = lf +insert_final_newline = false + +# Set rules by file type. +[*.json] +indent_style = space +indent_size = 2 + +[*.{js,yaml,yml,md,txt}] +charset = utf-8 +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab