aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2025-03-21 21:48:06 +0100
committerGitHub <noreply@github.com>2025-03-21 20:48:06 +0000
commitd1a755e5b7c676750f3dfad2254e047e2d23c4ac (patch)
treeb0e0077494599ce4ce7ae40cd7a61317d8fccc65
parentb5d2e31d6d7d96e1884f1aaed43ca7b74cc591db (diff)
downloadgitea-d1a755e5b7c676750f3dfad2254e047e2d23c4ac.tar.gz
gitea-d1a755e5b7c676750f3dfad2254e047e2d23c4ac.zip
Cover `go.mod` and `go.sum` in `.editorconfig` (#33960)
These files were previously set to use spaces for indendation but they are supposed to use tabs, so set this in editorconfig.
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index e23e4cd649..13aa8d50f0 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -12,6 +12,9 @@ insert_final_newline = true
[*.{go,tmpl,html}]
indent_style = tab
+[go.*]
+indent_style = tab
+
[templates/custom/*.tmpl]
insert_final_newline = false