Skip to content

Files

Latest commit

 

History

History
24 lines (14 loc) · 508 Bytes

SC1107.md

File metadata and controls

24 lines (14 loc) · 508 Bytes

Pattern: Unknown ShellCheck directive

Issue: -

Description

ShellCheck doesn't recognize the directive you're trying to use in a # shellcheck comment.

It could be misspelled, or you could be using an older version of ShellCheck that doesn't support it yet.

Example of incorrect code:

# shellcheck foobar=baz
echo "Hello World"

Example of correct code:

Depends on your intention.

Further Reading