Created SC1091 (markdown)

koalaman
2015-08-16 17:56:49 -07:00
parent 5989e71faf
commit da5dc39c9d

24
SC1091.md Normal file

@@ -0,0 +1,24 @@
## Not following: some reason here.
Reasons include: file not found, no permissions, not included on the command line.
### Problematic code:
source somefile
### Correct code:
# shellcheck disable=SC1091
source somefile
### Rationale:
ShellCheck, for whichever reason, is not able to access the source file.
This could be because you did not include it on the command line, did not use `shellcheck -x` to allow following other files, don't have permissions or a variety of other problems.
Feel free to ignore the error with a [[directive]].
### Exceptions:
If you're fine with it, ignore the message with a [[directive]].