From 6b53507fd6e607d25733b99d6aa8245665612e8b Mon Sep 17 00:00:00 2001 From: Steven Rieder Date: Fri, 26 Apr 2024 14:41:10 -0400 Subject: [PATCH 1/2] Create .editorconfig --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..0e028ceb79 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +trim_trailing_whitespace = true +charset = utf-8 + +# 2 space indentation +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +# 4 space indentation +[*.py] +indent_style = space +indent_size = 4 + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab From 9883fc3eec5d328281bc19a7af891c04a411378d Mon Sep 17 00:00:00 2001 From: Steven Rieder Date: Wed, 1 May 2024 15:32:36 -0400 Subject: [PATCH 2/2] Update .editorconfig Co-authored-by: Lourens Veen --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 0e028ceb79..143b0b3da3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,7 @@ # top-most EditorConfig file root = true -# Unix-style newlines with a newline ending every file +# Unix-style newlines and UTF-8 everywhere [*] end_of_line = lf trim_trailing_whitespace = true