bats-file icon indicating copy to clipboard operation
bats-file copied to clipboard

shellcheck

Open leventyalcin opened this issue 3 years ago • 0 comments

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.

leventyalcin avatar May 28 '21 17:05 leventyalcin