]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pass `--enable=all` to shellcheck within contrib/
authorDamian Szuberski <30863496+szubersk@users.noreply.github.com>
Tue, 30 Nov 2021 18:23:10 +0000 (19:23 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 18:23:10 +0000 (10:23 -0800)
commit34eef3e9a7a74d24a59d016051d547afc55dbaa0
treec75ff6fda4ee9582ed2ebb5b1a71a529242c3d78
parent4325de09cd2993837bc32a83d61872b57e58298e
Pass `--enable=all` to shellcheck within contrib/

- Remove `SHELLCHECK_IGNORE` in favor of inline suppressions
  and more general `SHELLCHECK_OPTS`.

- Exclude `SC2250` (turned on by `--enable=all`) globally

- Pass `--enable=all` to shellcheck for scripts in contrib/: it's
  very important to catch errors early in areas that are not easily
  testable.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12760
22 files changed:
config/Shellcheck.am
contrib/Makefile.am
contrib/bash_completion.d/Makefile.am
contrib/bash_completion.d/zfs.in
contrib/bpftrace/Makefile.am
contrib/dracut/02zfsexpandknowledge/Makefile.am
contrib/dracut/90zfs/Makefile.am
contrib/dracut/90zfs/export-zfs.sh.in
contrib/dracut/90zfs/import-opts-generator.sh.in
contrib/dracut/90zfs/module-setup.sh.in
contrib/dracut/90zfs/parse-zfs.sh.in
contrib/dracut/90zfs/zfs-lib.sh.in
contrib/initramfs/Makefile.am
contrib/initramfs/hooks/Makefile.am
contrib/initramfs/hooks/zfs.in
contrib/initramfs/scripts/Makefile.am
contrib/initramfs/scripts/local-top/Makefile.am
contrib/initramfs/scripts/zfs
etc/default/Makefile.am
etc/default/zfs.in
scripts/Makefile.am
scripts/mancheck.sh