Do you write a lot of Bash scripts? Please try this

Image credits: http://blog.vuru.co/cool-like-coke/
Image credits

 

To write the scripts for deployment of Dendro, we recently found shellcheck, an open-source checker for bash scripts. You can try it out online here.

Combined with the power of the Atom, someone created linter-shellcheck, a linter for bash scripts that helps you spot those minor mistakes that end up costing a huge amount of time when writing for Vagrant deployment.

First, install shellcheck. On the Mac, I used the following:

brew install shellcheck

shellcheck -V

Then, install Atom and the linter-shellcheck plugin.

Welcome to XXI century bash programming.

Leave a Comment