|
|
|
@ -202,11 +202,11 @@ pipeline: |
|
|
|
</details> |
|
|
|
|
|
|
|
|
|
|
|
## Shell |
|
|
|
### Config |
|
|
|
The `.shellcheckrc` file must be placed in root directory of your git repo. |
|
|
|
## Shell linter |
|
|
|
### Configuration file |
|
|
|
Default behaviour of `shellcheck` can be overriden by placing `.shellcheckrc` into root directory of your git repo. |
|
|
|
<details> |
|
|
|
<summary><b>.shellcheckrc</b> (click to expand)</summary> |
|
|
|
<summary>Example of <b>.shellcheckrc</b> (click to expand)</summary> |
|
|
|
|
|
|
|
``` |
|
|
|
disable=SC1234 |
|
|
|
@ -214,7 +214,7 @@ disable=SC5678 |
|
|
|
``` |
|
|
|
</details> |
|
|
|
|
|
|
|
### Options |
|
|
|
### Pipeline options |
|
|
|
| Option | Accepted values | Default value | Mandatory | Description | |
|
|
|
|:------------:|:---------------------------------------------------------------------------|:-------------:|:---------:|:-----------------------------------------------------------------------| |
|
|
|
| **lint** | <ul><li>`sh`</li><li>`shell`</li><li>`bash`</li></ul> | | **YES** | Specifies type of linter to be used | |
|
|
|
|