• ShellCheck directives are only valid in front of complete commands like case statements, not individual case branches.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions: