Skip to content

Commit

Permalink
shellcheck: suppress also info and style findings
Browse files Browse the repository at this point in the history
... so that we get equivalent scan results to the old version
of the shellcheck plug-in.

Related: https://issues.redhat.com/browse/OSH-655
Closes: #182
  • Loading branch information
kdudka committed Aug 13, 2024
1 parent 4a0a3ba commit 02a62a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/plugins/shellcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
SHELLCHECK_CAP_DIR = "/builddir/shellcheck-results"

FILTER_CMD = "csgrep --mode=json --remove-duplicates --quiet " \
"--invert-match --event '^note|warning\\[SC1090\\]'"
"--invert-match --event '^info|note|style|warning\\[SC1090\\]'"

# default maximum number of scripts scanned by a single shellcheck process
DEFAULT_SC_BATCH = 1
Expand Down

0 comments on commit 02a62a4

Please sign in to comment.