# Project-wide shellcheck configuration.

# Disable warnings that produce noise without bug-finding value in this
# codebase:
#
# SC2154 - vars referenced but not assigned. Most of the tree sources
# help-steps/colors and help-steps/variables, which export many vars.
# shellcheck does not follow those sources reliably (vars are loaded
# at runtime, paths are computed from $BASH_SOURCE), so almost every
# script trips this.
#
# SC2034 - vars assigned but appear unused. Many "config flags" are
# read by sourced child scripts; shellcheck cannot see that across
# file boundaries.
#
# SC1090 - "Can't follow non-constant source." Unavoidable wherever
# source paths are computed from $BASH_SOURCE / $MYDIR / $dist_*.
#
# SC1091 - "Not following: file not included". Same reason.
disable=SC2154
disable=SC2034
disable=SC1090
disable=SC1091
