1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
[sh-syntax-check]
files = *.sh
types = text/x-shellscript
command = sh -n {file}
[checkbashisms]
apt = devscripts
files = *.sh
types = text/x-shellscript
command = checkbashisms {files}
[shellcheck]
apt = shellcheck
files = *.sh *.bash *.zsh
types = text/x-shellscript
command = shellcheck {files}
[bashate]
apt = python3-bashate
files = *.sh *.bash
types = text/x-shellscript
command = bashate --ignore E002,E003 {files}
flags = style
[web-to-shell]
command = grep -nHrE '(wget|curl).*\|( *sudo)? *(ba|z|)sh' .
[web-to-apt-key]
command = grep -nHrE '(wget|curl).*\|( *sudo)? *apt-key' .
# vim:ft=dosini
|