view .shellcheckrc @ 723:a97ec3f07bdb

farray.sh: REFACTOR: More flexible metadata retrieval. Using an array or alist variable name or token value (with prefix) is now supported in every function. This is possible because the value prefixes contain questin marks (?) which are not allowed in shell variable names. This again is a major precondition for recursive data structures (arrays/alists in arrays/alists).
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 05 Oct 2024 21:55:55 +0200
parents d016ac770a71
children e8eb5e7ceb37
line wrap: on
line source

#
# See: shellcheck(1)
#
# To see a list of
# See: https://www.shellcheck.net/wiki/
#
# This is a customization for FreeBSD:
# in FreeBSD there is $'...', local; and tests with logical operators work
# as expected.
#

source-path=SCRIPTDIR/../share/local-bsdtools
source-path=SCRIPTDIR
source-path=/etc
source-path=/usr/local/etc/local-bsdtools
external-sources=true

# $/${} is unnecessary on arithmetic variables
disable=SC2004
# Prefer [ p ] && [ q ] as [ p -a q ] is not well-defined
disable=SC2166
# In POSIX sh, $'..' is undefined
disable=SC3003
# In POSIX sh, local is undefined
disable=SC3043

enable=avoid-nullary-conditions