view .shellcheckrc @ 670:035c5467a0d4

Examples: make them a little more generic
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 30 Sep 2024 11:51:17 +0200
parents 24129dd789f0
children 31023b6bf315
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 operstors work
# as expected.
#

source-path=SCRIPTDIR/../share/local-bsdtools
source-path=SCRIPTDIR
source-path=/etc
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