From c17e6a977093b490cc66a495d1bbddbd4fb6789d Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Sat, 1 Jun 2024 15:02:08 -0400 Subject: [PATCH] =?UTF-8?q?chore(dev):=20=F0=9F=94=A7=20add=20editconfig?= =?UTF-8?q?=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e5a963fa --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +root = true + +[*] +indent_style = tab +indent_size = tab +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Ensure text editors don't turn leading spaces into tabs, +# e.g. in multi-line bullet list items +[*.md] +indent_style = space +indent_size = 2 + +# Tabs may not be valid YAML +# @see https://yaml.org/spec/1.2/spec.html#id2777534 +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +[.git/**] +indent_style = space +indent_size = 2 \ No newline at end of file