HomeFreeBSD

Add `--enable=all` to ShellCheck by default

Description

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

Details

Provenance
Damian Szuberski <szuberskidamian@gmail.com>Authored on Feb 7 2022, 7:59 PM
GitHub <noreply@github.com>Committed on Feb 7 2022, 7:59 PM
Parents
rGadd15e9539db: Extract workflows dependencies
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8df0bde321ab: Add `--enable=all` to ShellCheck by default (authored by Damian Szuberski <szuberskidamian@gmail.com>).Feb 7 2022, 7:59 PM