mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Created SC1145 (markdown)
27
SC1145.md
Normal file
27
SC1145.md
Normal file
@@ -0,0 +1,27 @@
|
||||
## Unknown external-sources value. Expected true/false.
|
||||
|
||||
### Problematic code:
|
||||
|
||||
`.shellcheckrc`:
|
||||
|
||||
```sh
|
||||
external-sources=maybe
|
||||
```
|
||||
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
external-sources=true
|
||||
```
|
||||
|
||||
### Rationale:
|
||||
|
||||
The `external-sources` [[directive]] expects a value of `true` or `false`.
|
||||
|
||||
### Exceptions:
|
||||
|
||||
None.
|
||||
|
||||
### Related resources:
|
||||
|
||||
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!
|
Reference in New Issue
Block a user