Shell scripts inhabit an interesting place in most projects: they’re critical glue code keeping everything working, but don’t often receive the attention they deserve when it comes to testing and other quality considerations.
ShellCheck is a project aimed at solving that by linting shell code for common problems like forgetting to quote variables or accidentally using “bashism” in a script with an
sh shebang. Today, we’re happy to announce the release of our ShellCheck engine, wrapping this great tool to provide analysis of your shell scripts as part of your familiar Code Climate workflow.
To try out this engine, just add
shellcheck to your list of enabled engines:
engines: shellcheck: enabled: true