Updated Directive (markdown)

Martin Bagge / brother
2021-09-20 10:23:44 +02:00
parent e8cb74cc18
commit 0c0db020bd

@@ -31,12 +31,14 @@ Prevent shellcheck from processing one or more warnings:
statement_where_warning_should_be_disabled 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 ```sh
#!/bin/bash #!/bin/bash
# shellcheck disable=SC1000-SC9999 # shellcheck disable=SC1000-SC9999
``` ```
An alias `all` is available instead of specifying 0-9999 to disable all checks.
### enable ### enable
Enables an [[optional]] check (since 0.7.0). Enables an [[optional]] check (since 0.7.0).