From 42a74199458290215e04424ab3645a2c2334fd11 Mon Sep 17 00:00:00 2001 From: Jaro-c <75870284+Jaro-c@users.noreply.github.com> Date: Wed, 24 Jun 2026 19:09:48 -0500 Subject: [PATCH 1/2] chore: align .editorconfig with the tabs/spaces standard Shell scripts were set to spaces; the standard is tabs. Folds the redundant per-language sections into the [*] default (Makefile stays tabs). Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com> --- .editorconfig | 61 ++++++++++++++------------------------------------- 1 file changed, 17 insertions(+), 44 deletions(-) diff --git a/.editorconfig b/.editorconfig index ee896fc8..83db792e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,44 +1,17 @@ -# EditorConfig is awesome: https://editorconfig.org -# Top-most EditorConfig file -root = true - -[*] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -# Use tabs by default -indent_style = tab -indent_size = 4 -tab_width = 4 - -# Go files -[*.go] -indent_style = tab -tab_width = 4 - -# Makefiles require tabs -[Makefile] -indent_style = tab - -# YAML / JSON / TOML / Config files -[*.{yml,yaml,json,toml}] -indent_style = space -indent_size = 2 - -# Markdown -[*.md] -indent_style = space -indent_size = 2 -trim_trailing_whitespace = false - -# Shell scripts -[*.{sh,bash}] -indent_style = space -indent_size = 4 - -# Docker -[Dockerfile] -indent_style = space -indent_size = 4 \ No newline at end of file +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 120 + +[*.{json,yml,yaml}] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false From 62d36849ddfb7861df5a0e5021a2174204d3f508 Mon Sep 17 00:00:00 2001 From: Jaro-c <75870284+Jaro-c@users.noreply.github.com> Date: Thu, 25 Jun 2026 08:49:58 -0500 Subject: [PATCH 2/2] chore: keep Markdown on spaces in .editorconfig A leading tab in CommonMark counts as a 4-column indent, so tab-indented content inside a list renders as an accidental code block. Pin Markdown to spaces (width 2) to avoid that. Signed-off-by: Jose <75870284+Jaro-c@users.noreply.github.com> --- .editorconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 83db792e..082123a5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,4 +14,6 @@ indent_style = space indent_size = 2 [*.md] -trim_trailing_whitespace = false +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false \ No newline at end of file