From f1b93618378dbc495363d7d28e20472b2d3a431d Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 13 Dec 2019 12:36:17 +0100 Subject: [PATCH] editorconfig: add one matching current style Add a editorconfig (https://editorconfig.org/) config file so most editors can, by default, get the right indent settings. --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..8631442a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +[*.py] +indent_style = space +indent_size = 4 + +[*.json] +indent_style = space +indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 \ No newline at end of file