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):