mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 09:31:57 +01:00
Updates README to include ShellCheck flag/options usage (#35)
This commit is contained in:
parent
b247a9c05d
commit
ac3e5d1ab4
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user