Shellchecker

Contents
Photo by Nicolas Thomas on Unsplash
I you feel sometimes frustrated by writing bash script files, which do not work as expected, you will love the Shellchecker.
I came across a twitter post of Nick Janetakis about the tool ShellChecker. With this little tool you can lint your bash script right from the bash. The checker will identify many problems with your script and provide hints on why it is a problem and how to fix it.
There are even extensions to you favorite editor. Mine is VSCode and I use this extension. The nice thing about this is, that it can be put as a gate check inside your build pipeline. So you can make sure that the scripts are not failing or semantic errors have sneaked in.