From b71471e1d577312ce49bda50287bcfa06fb41cb3 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 27 Jan 2025 00:41:05 +0100 Subject: [PATCH] Add `.editorconfig` file --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..74377f1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{md,apib}] +indent_size = 4 +# In Markdown a trailing double space is interpreted as
+trim_trailing_whitespace = false +max_line_length = off + +[*.{py,java,r,R}] +indent_size = 4 +