Commit 303842a5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

check_code.sh: skip global vars

parent a73ad379
......@@ -5,6 +5,11 @@
EXCL=-eSC2086,SC2039,SC2034,SC2068,SC2155
# TODO:
# SC2154: pkg_filenames is referenced but not assigned.
# SC2002: Useless cat.
EXCL="$EXCL,SC2154,SC2002"
if [ -n "$1" ] ; then
shellcheck $EXCL "$1"
exit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment