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
commita171caf0b0a5541246f994155406e840b28390de (patch)
tree4afb0aa86ac94b2d627ccf3fb93e5481194f43b7 /.editorconfig
parenta0c491bf45c9e745ae7445c0581828ad84cd92f8 (diff)
downloadarchangel-a171caf0b0a5541246f994155406e840b28390de.tar.gz
archangel-a171caf0b0a5541246f994155406e840b28390de.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