mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Created SC1016 (markdown)
17
SC1016.md
Normal file
17
SC1016.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## This is a unicode single quote. Delete and retype it.
|
||||
|
||||
### Problematic code:
|
||||
|
||||
echo ‘hello world’
|
||||
|
||||
### Correct code:
|
||||
|
||||
echo 'hello world'
|
||||
|
||||
### Rationale:
|
||||
|
||||
Some software, like OS X, Word and Wordpress, may automatically replace your regular quotes with slanted unicode quotes. Try deleting and retyping them, and/or disable "smart quotes" in your editor or OS.
|
||||
|
||||
### Contraindications
|
||||
|
||||
None
|
Reference in New Issue
Block a user