From 764abe8cff4d373a33f7d4204ff9ce9e7deb6f9e Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 1 Jan 2022 15:31:10 +0300 Subject: [PATCH] Add `.editorconfig` file (#6771) --- .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