Created SC2274 (markdown)

Vidar Holen
2020-12-30 19:57:47 -08:00
parent 0ac9124903
commit 15440ac6b7

24
SC2274.md Normal file

@@ -0,0 +1,24 @@
## Command name starts with ===. Intended as a commented border?
### Problematic code:
```sh
===================== MAIN SECTION =======================
```
### Correct code:
```sh
# ===================== MAIN SECTION =======================
```
### Rationale:
ShellCheck found a command that starts with a series of `===`s. This may have been intended as a border, but is missing the `#` to turn it into a harmless comment.
### Exceptions:
None
### Related resources:
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!