initramfs-tools/.shellcheckrc
Benjamin Drung 8510fabcde Check shell scripts for POSIX sh compliance
The hook functions and script might be executeted by busybox. Mark those
files as POSIX sh for shellcheck.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2024-07-29 10:37:21 +02:00

13 lines
365 B
Plaintext

# SC1090: Can't follow non-constant source. Use a directive to specify location
# https://www.shellcheck.net/wiki/SC1090
disable=SC1090
# SC1091: Not following <file>
# https://www.shellcheck.net/wiki/SC1091
disable=SC1091
# SC3043: In POSIX sh, local is undefined
# https://www.shellcheck.net/wiki/SC3043
# ...but dash and BusyBox ash support it.
disable=SC3043