From cb4e4c55224fe7d80d6d969d8ef07fafaaa5a1cd Mon Sep 17 00:00:00 2001 From: imcompiling Date: Tue, 18 Mar 2025 11:10:38 -0400 Subject: [PATCH] Add editorconfig. --- .editorconfig | 16 ++++++++++++++++ .vscode/extensions.json | 9 +++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..285bbce --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# see https://editorconfig.org/ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index b8dd61b..3cea4f9 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,8 +1,9 @@ { "recommendations": [ - "ms-python.vscode-pylance", - "ms-python.python", - "ms-python.debugpy", - "charliermarsh.ruff" + "ms-python.vscode-pylance", + "ms-python.python", + "ms-python.debugpy", + "charliermarsh.ruff", + "editorconfig.editorconfig" ] }