From 24ecac67d0c43f5ad0c18591bf11eb01b166b8df Mon Sep 17 00:00:00 2001 From: Michael Diamond Date: Wed, 13 May 2020 10:32:23 -0700 Subject: [PATCH] Updated Ignore (markdown) --- Ignore.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Ignore.md b/Ignore.md index af0e3f0..883bcf5 100644 --- a/Ignore.md +++ b/Ignore.md @@ -11,6 +11,11 @@ Use a [[directive]] to disable a certain instance: printf "\x$1" } +You can pass multiple errors to [[directive]]: + + # shellcheck disable=SC2116,SC2086 + hash=$(echo ${hash}) # trim spaces + ### Ignoring errors in one specific run Use a `-e` flag to disable a specific error when running shellcheck: @@ -19,12 +24,7 @@ Use a `-e` flag to disable a specific error when running shellcheck: ### Ignoring one or more type of error forever -You can pass multiple errors to [[directive]]: - - # shellcheck disable=SC2116,SC2086 - hash=$(echo ${hash}) # trim spaces - -In v0.7.0 you can create a file `.shellcheckrc` in your home directory (or your project's base directory), and add `disable` directives to it: +As of v0.7.0 you can create a file `.shellcheckrc` in your home directory (or your project's base directory), and add `disable` directives to it: $ cat ~/.shellcheckrc disable=SC2059