bashate

Code style enforcement tool for bash programs

brewmacoslinux
Try with needOr install directly
Source

About

Code style enforcement for bash programs

Commands

bashate

Examples

Check a single bash script for style violations$ bashate script.sh
Check all bash files in a directory recursively$ bashate -r .
Check with specific error codes ignored$ bashate --ignore=E003,E006 script.sh