From c5c13cfe105814fe988d98f91c73c7b6dabb337c Mon Sep 17 00:00:00 2001 From: Martin Bagge / brother Date: Tue, 27 Jul 2021 21:18:48 +0200 Subject: [PATCH] Updated Directive (markdown) --- Directive.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Directive.md b/Directive.md index 63da365..39c8bd7 100644 --- a/Directive.md +++ b/Directive.md @@ -17,6 +17,12 @@ Prevent shellcheck from processing one or more warnings: statement_where_warning_should_be_disabled ``` +A range of errors can also be specified, handy when disbaling things for the entire file. +```sh +#!/bin/bash +# shellcheck disable=SC1000-SC9999 +``` + ### source Tell ShellCheck where to find a sourced file (since 0.4.0):