mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated Directive (markdown)
@@ -31,12 +31,14 @@ 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.
|
||||
A range of errors can also be specified, handy when disabling things for the entire file.
|
||||
```sh
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC1000-SC9999
|
||||
```
|
||||
|
||||
An alias `all` is available instead of specifying 0-9999 to disable all checks.
|
||||
|
||||
### enable
|
||||
|
||||
Enables an [[optional]] check (since 0.7.0).
|
||||
|
Reference in New Issue
Block a user