From adb1d1e725b5950583cb88bae9066546c20473b6 Mon Sep 17 00:00:00 2001 From: Vorschreibung Date: Sat, 22 Jun 2024 17:09:45 +0200 Subject: [PATCH] add .py / .json rules to .editorconfig --- .editorconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.editorconfig b/.editorconfig index eb4cdca7..7b040fb2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,14 @@ trim_trailing_whitespace = true indent_style = tab +[*.py] +indent_style = space +indent_size = 2 + +[*.{json,yml,yaml}] +indent_style = space +indent_size = 2 + [*.{c,cc,cpp,h,hh,hpp}] indent_style = tab indent_size = 4