Scripts to (interactively) demonstrate capabilities of Nix. Mirror of https://gitlab.com/SFrijters/nix-container-demo
# https://github.com/koalaman/shellcheck/blob/master/shellcheck.1.md

# Look for 'source'd files relative to the checked script
source-path=SCRIPTDIR

# Suggest adding a default case in `case` statements
enable=add-default-case

# Suggest explicitly using -n in `[ $var ]`
enable=avoid-nullary-conditions

# Turn on warnings for unassigned uppercase variables
# enable=check-unassigned-uppercase

# Turn on warnings for unquoted variables with safe values
enable=quote-safe-variables

# Suggest putting braces around all variable references
enable=require-variable-braces