azohra / shell-linter

A Github Action for ShellCheck
https://github.com/marketplace/actions/shell-linter
MIT License
66 stars 13 forks source link

Allow to exclude types of warnings #22

Open kenorb opened 4 years ago

kenorb commented 4 years ago
$  shellcheck -h
...
  -e CODE1,CODE2..    --exclude=CODE1,CODE2..    Exclude types of warnings

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

kenorb commented 4 years ago

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.

Azbagheri commented 4 years ago

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