You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to set multiple shells per-file and report aggregated diagnostics #1543
I have a file that works in multiple shells, and is sourced not executed, so I don't want to put a shebang directive in it (also, a "shell" directive would imply it only works on one shell, and I'm not aware of how i can tell shellcheck i want to check multiple shells). I usually lint it on the command line with shellcheck -s sh path/to/file && shellcheck -s dash path/to/file && shellcheck -s bash path/to/file etc.
Activity
felipecrs commentedon Oct 28, 2024
Relevant issue at shellcheck: