From dd1a93bd7109e9129246c130192c94cbe749449c Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 17 Mar 2022 15:52:06 +0100 Subject: [PATCH] Add .editorconfig Had some issues with my editor trying to convert tab-indented files to spaces, this resolves that. --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..825df84 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +[*.rb] +indent_style = space + +[*.py] +indent_style = space +indent_size = 4 + +[_testdata/**] +charset = unset +indent_size = unset +indent_style = unset +trim_trailing_whitespace = unset