From ad93760ed045f98036c52f5355811cd8dcefe1ec Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 29 Jan 2021 12:26:11 -0500 Subject: [PATCH] chore: Add EditorConfig for whitespace (#2700) Copied from original version in mdn/content and added Python config --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..da0925031664 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.py] +indent_size = 4