Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
view .shellcheckrc @ 546:d28733400b18
Using jq: the '.a.b.c.["d"]' syntax in chains is 1.7+: use the old syntax '.a.b.c["d"]' instead.
Since 1.7 a dot is allowed.
See: https://github.com/jqlang/jq/issues/1168
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 10 Sep 2024 10:42:44 +0200 |
| parents | 1e46e254366e |
| children | 31b5c10ae1d4 |
line wrap: on
line source
# # See: shellcheck(1) # # To see a list of # See: https://www.shellcheck.net/wiki/ source-path=SCRIPTDIR/../share/local-bsdtools source-path=SCRIPTDIR 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
