Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison .shellcheckrc @ 542:1e46e254366e
Use a new .shellcheckrc file for common configuration settings for shellcheck.
Module-wide settings are removed for now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 10 Sep 2024 01:50:20 +0200 |
| parents | |
| children | 31b5c10ae1d4 |
comparison
equal
deleted
inserted
replaced
| 541:ac92275b6847 | 542:1e46e254366e |
|---|---|
| 1 # | |
| 2 # See: shellcheck(1) | |
| 3 # | |
| 4 # To see a list of | |
| 5 # See: https://www.shellcheck.net/wiki/ | |
| 6 | |
| 7 source-path=SCRIPTDIR/../share/local-bsdtools | |
| 8 source-path=SCRIPTDIR | |
| 9 external-sources=true | |
| 10 | |
| 11 # $/${} is unnecessary on arithmetic variables | |
| 12 disable=SC2004 | |
| 13 # Prefer [ p ] && [ q ] as [ p -a q ] is not well-defined | |
| 14 disable=SC2166 | |
| 15 # In POSIX sh, $'..' is undefined | |
| 16 disable=SC3003 | |
| 17 # In POSIX sh, local is undefined | |
| 18 disable=SC3043 | |
| 19 | |
| 20 enable=avoid-nullary-conditions |
