Skip to content

Commit

Permalink
Updates README to include ShellCheck flag/options usage (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 authored Jan 13, 2021
1 parent b247a9c commit ac3e5d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ jobs:
uses: ludeeus/action-shellcheck@master
```
## Globally disable checks
## ShellCheck options
To disable specific checks add it to a `SHELLCHECK_OPTS` env key in the job definition.
You can pass any supported ShellCheck option or flag with the `SHELLCHECK_OPTS` env key in the job definition.

Some examples include:

* To disable specific checks (eg: `-e SC2059 -e SC2034 -e SC1090`)
* To test against different shells (eg: `-s dash` or `-s ksh`)

example:

Expand Down

0 comments on commit ac3e5d1

Please sign in to comment.