From 23d8bd2643996cd57ebe7a75edb881e2f988b421 Mon Sep 17 00:00:00 2001 From: Anthony Geoghegan Date: Mon, 13 Feb 2017 20:47:37 +0000 Subject: [PATCH] Add information on how get Shellcheck to ignore typographic quotes. --- SC1016.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SC1016.md b/SC1016.md index d8976b5..db2ec10 100644 --- a/SC1016.md +++ b/SC1016.md @@ -1,4 +1,4 @@ -## This is a unicode single quote. Delete and retype it. +## This is a Unicode single quote. Delete and retype it. ### Problematic code: @@ -14,8 +14,8 @@ 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. +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. ### Exceptions -None +If you want to use typographic single quotes, you can put them in double quotes (or typographic double quotes in single quotes) to make shellcheck ignore them.