bats-file
bats-file copied to clipboard
shellcheck
While I was looking into CI outputs, there was printed lines for the version of the shellcheck
. However, while I was looking into .bash
files I noticed some anti-patterns such as commands running with backticks etc. So, it is not utilised.
Also, When I run shellcheck against .bash
files, I see quite few errors. I think it could be a good practice to run shellcheck
both on CI tests and as a pre-commit
hook.
Creating this issue for starting a discussion but I can definitely take the task for myself and go ahead.