mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC1081 (markdown)
@@ -24,4 +24,4 @@ Shells are case sensitive and do not accept `If` or `IF` in place of lowercase `
|
||||
|
||||
### Exceptions
|
||||
|
||||
If you're aware of this and insist on naming a function `WHILE`, you can quote the name to prevent shellcheck from thinking you meant `while`.
|
||||
If you're aware of this and insist on naming a function `WHILE`, you can quote the name to prevent shellcheck from thinking you meant `while`. Or if you really want the names, add things like `alias If=if IF=if` to replace those keywords and ask shellcheck to ignore them.
|
||||
|
Reference in New Issue
Block a user