aboutsummaryrefslogtreecommitdiff
path: root/.shellcheckrc
diff options
context:
space:
mode:
Diffstat (limited to '.shellcheckrc')
-rw-r--r--.shellcheckrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.shellcheckrc b/.shellcheckrc
new file mode 100644
index 0000000..0ac34f0
--- /dev/null
+++ b/.shellcheckrc
@@ -0,0 +1,7 @@
+# Project shellcheck configuration.
+#
+# Disable the "can't follow sourced file" infos. They are not actionable here:
+# - rsyncshot sources /etc/rsyncshot/config, which doesn't exist at lint time.
+# - the test suite sources lib/test_helpers.sh via a runtime-computed path.
+# Both are correct at runtime; shellcheck simply can't resolve them statically.
+disable=SC1090,SC1091