/usr/share/check-all-the-things/data/erlang is in check-all-the-things 2017.05.20.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [erlang-shell-inject]
files = *.erl
comment = These calls are potentially vulnerable to shell metacharacter injection
command = grep -nHEC2 'cmd|open_port' {files}
[erl-tidy]
flags = run-in-tmp-dir
apt = erlang-syntax-tools, erlang-base
files = *.erl
command = erl -noshell -eval 'erl_tidy:dir(".", [{{test, true}}, {{verbose, false}}]).' -s init stop
[erlang-elvis]
flags = todo
files = *.erl
comment = https://github.com/inaka/elvis
# vim:ft=dosini
|