Move shellcheck configuration to .shellcheckrc
Move shellcheck configuration to .shellcheckrc
. That way editors like VSCode will pick up the configuration as well.
The hook functions and script might be executeted by busybox. Mark those files as POSIX sh for shellcheck.