mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Remove spurious backtick
@@ -20,7 +20,7 @@ Supported directives are `disable` to disable warnings:
|
||||
# shellcheck shell=sh
|
||||
echo foo &> bar
|
||||
|
||||
Directives instead of or immediately after the shebang apply to the entire script. Otherwise, they are scoped to the structure that follows it (such as all branches of a `case` statement`, or an entire function).
|
||||
Directives instead of or immediately after the shebang apply to the entire script. Otherwise, they are scoped to the structure that follows it (such as all branches of a `case` statement, or an entire function).
|
||||
|
||||
There is no support for scoping a directive to the first structure of the script. In these cases, use a dummy command `true` or `:` and then add directives, such as
|
||||
|
||||
|
Reference in New Issue
Block a user