mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated Directive (markdown)
@@ -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):
|
||||
|
||||
|
Reference in New Issue
Block a user