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