File: sh

package info (click to toggle)
check-all-the-things 2025.02.06
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 468 kB
  • sloc: python: 1,039; makefile: 17
file content (31 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
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