From 731b79b485394a9200808f13db5d92aad09c2ec7 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 23 Jan 2022 14:28:37 +0000 Subject: [PATCH] Add `.editorconfig` file (#139) --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..26fb6703 --- /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