From d99e52ad3f797988c79f319470119f00051d3c1d Mon Sep 17 00:00:00 2001 From: Lorenz Hohermuth Date: Wed, 15 Oct 2025 13:43:05 +0200 Subject: [PATCH] Add .editorconfig --- .editorconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6bc89b5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{js,py,go}] +charset = utf-8 + +[*.go] +indent_style = space +indent_size = 2 + +[*.{js,jsx,ts,tsx}] +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab + +[{package.json,.travis.yml}] +indent_style = space +indent_size = 2 \ No newline at end of file