diff --git a/SC1091.md b/SC1091.md new file mode 100644 index 0000000..65f0c27 --- /dev/null +++ b/SC1091.md @@ -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]]. \ No newline at end of file