]> git.proxmox.com Git - mirror_zfs.git/commit
Add `--enable=all` to ShellCheck by default
authorDamian Szuberski <szuberskidamian@gmail.com>
Mon, 7 Feb 2022 19:59:09 +0000 (20:59 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 19:59:09 +0000 (11:59 -0800)
commit8df0bde321ab6e4c38cf17e89c8bc331369c7f0a
tree3d246b6ce734ec681dedecf9e716ddc35dc272e5
parentadd15e9539db945a76363f3b236ebc8fb2c69390
Add `--enable=all` to ShellCheck by default

Change enforced shell type from `dash` to `sh` and excluded
`SC2039` and `SC3043` by default. `local` keyword is accepted by all
POSIX shells from practical point of view. There is no need anymore
to enforce dash so `local` is accepted.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #13020
21 files changed:
cmd/Makefile.am
cmd/fsck_zfs/Makefile.am
cmd/zed/Makefile.am
cmd/zed/zed.d/Makefile.am
cmd/zpool/Makefile.am
cmd/zvol_wait/Makefile.am
config/Shellcheck.am
contrib/Makefile.am
contrib/bash_completion.d/Makefile.am
contrib/bpftrace/Makefile.am
contrib/dracut/02zfsexpandknowledge/Makefile.am
contrib/dracut/90zfs/Makefile.am
contrib/initramfs/Makefile.am
contrib/initramfs/hooks/Makefile.am
contrib/initramfs/scripts/Makefile.am
contrib/initramfs/scripts/local-top/Makefile.am
etc/Makefile.am
etc/default/Makefile.am
etc/init.d/Makefile.am
etc/zfs/Makefile.am
scripts/Makefile.am