shell-linter icon indicating copy to clipboard operation
shell-linter copied to clipboard

Allow to exclude types of warnings

Open kenorb opened this issue 4 years ago • 2 comments

$  shellcheck -h
...
  -e CODE1,CODE2..    --exclude=CODE1,CODE2..    Exclude types of warnings

E.g. shellcheck -e SC1004,SC1083 ...

kenorb avatar Apr 28 '20 19:04 kenorb

As per ludeeus/action-shellcheck/issues/5, I think it's possible to use environments instead. E.g. SHELLCHECK_OPTS.

See https://www.mankier.com/1/shellcheck.

kenorb avatar Apr 28 '20 19:04 kenorb

@kenorb thanks for your interest in our action and the feature request. We will surely consider that in our next release!

Azbagheri avatar May 15 '20 19:05 Azbagheri