Skip to content

Commit 66d2ba6

Browse files
authored
Merge pull request #55 from 95jonpet/patch-1
Update quote_character.md
2 parents 257713f + f29c534 commit 66d2ba6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/checks/quote_character.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quote Character
22

3-
Detects if a value contains quote characters (`'` / `"`) but skips if the value is multi-line, contains whitespaces or newline characters:
3+
Detects if a value contains quote characters (`'` / `"`) but skips if the value is multi-line, contains whitespaces, newline characters or hash-signs:
44

55
```env
66
❌ Wrong
@@ -28,4 +28,7 @@ FOO="BAR\nBAR"
2828
MULTILINE='{
2929
"key": value
3030
}'
31+
32+
✅ Correct
33+
FOO='#comment'
3134
```

0 commit comments

Comments
 (0)