From fbd81cd5e0a4061102e2b93de38cf8e0e63ad6bc Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 1 Jan 2022 15:40:16 +0300 Subject: [PATCH] Create .editorconfig (#998) --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..26fb67037 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*.{py,pyi,rst,md,yml,yaml,toml,json}] +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space + +[*.{py,pyi,toml,json}] +indent_size = 4 + +[*.{yml,yaml}] +indent_size = 2