modules
modules copied to clipboard
add shellcheck to ci for linting scripts
We already have shfmt it would be nice to also lint using shellcheck.
@mafredri I would appreciate it if you could do this sometimes. It's not a high priority, just something we should do at some point.
This came up in https://github.com/coder/modules/pull/297#discussion_r1778858754
Assigning this to me now so I don't lose track.
Posted a proposal in https://github.com/coder/modules/issues/331#issuecomment-2437730678 that would allow us shellcheck both library code (lib.sh) and the main shell code (run.sh). This issue is currently pending whether or not we go forward with this approach.