aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-23 05:27:27 -0600
committerCraig Jennings <c@cjennings.net>2026-02-23 05:27:27 -0600
commitf7526e7eff76204bff4b4e6e37507311bf01002f (patch)
tree4afb0aa86ac94b2d627ccf3fb93e5481194f43b7 /.editorconfig
parente1733666d6c942483925a61a0aa21ea66f5e6d96 (diff)
downloadarchangel-f7526e7eff76204bff4b4e6e37507311bf01002f.tar.gz
archangel-f7526e7eff76204bff4b4e6e37507311bf01002f.zip
chore: standardize shebangs, fix lint target, add .editorconfig
- Change all script shebangs to #!/usr/bin/env bash for portability (heredocs writing to installed systems keep #!/bin/bash) - Remove || true from Makefile lint target so shellcheck errors fail the build - Add .editorconfig for consistent formatting across editors
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..acd3686
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+
+[*.sh]
+indent_style = space
+indent_size = 4
+
+[Makefile]
+indent_style = tab
+
+[*.conf]
+indent_style = space
+indent_size = 4
+
+[*.org]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = false