From d41e5c1152f7904de452e165102a30637e6fdb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81aurent=20=CA=98=E2=9D=A2=C5=A6=20=C5=A6ough?= Date: Sat, 9 Nov 2019 14:18:03 -0800 Subject: [PATCH] Create .editorconfig Reasonably tame .editorconfig for help with editting the .py & especially the YAML files --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b46340a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +end_of_line = lf // Helps keep Windows, Mac, Linux on the same page since they handle end of line differently +indent_style = tab // Converts spaces to tabs +indent_size = 4 // 4 spaces per tab +insert_final_newline = true // Auto-adds a blank newline to the end of a file +trim_trailing_whitespace = true // Auto-trims trailing whitespace + +# Docstrings and comments use max_line_length = 79 +[*.py] +max_line_length = 119 +indent_style = tab +indent_size = 4 + +# Matches the exact files either package.json or .travis.yml +[{*.yml,*.yaml,config.yml,defaults.yml}] +indent_style = space +indent_size = 2