The provided Shellcheck directive is incorrect or incomplete. Ensure the directive is placed at the beginning of a block, not within conditional statements, and use the correct syntax, such as # shellcheck disable=all to disable all checks.
# shellcheck disable=all