Add shellcheck hook and configuration

This commit is contained in:
lachtan
2026-03-15 16:28:34 +01:00
parent aa28c9619f
commit 79ba0ae913
3 changed files with 49 additions and 0 deletions

12
.shellcheckrc Normal file
View File

@@ -0,0 +1,12 @@
# Default shell for sourced files without shebang (SC2148)
shell=bash
# Sourced files define variables used by other files after source
disable=SC2034
# Non-constant and external source paths are intentional
disable=SC1090
disable=SC1091
# Functions invoked indirectly via trap/callback
disable=SC2317