mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-04 03:46:06 +08:00
Updated SC2268 (markdown)
@@ -1,4 +1,4 @@
|
|||||||
## Avoid outdated x-prefix in comparisons as it no longer serves a purpose.
|
## Avoid x-prefix in comparisons as it no longer serves a purpose.
|
||||||
|
|
||||||
### Problematic code:
|
### Problematic code:
|
||||||
|
|
||||||
@@ -38,9 +38,7 @@ Zsh (while not supported by ShellCheck) fixed the same problem in 2015.
|
|||||||
|
|
||||||
### Exceptions:
|
### Exceptions:
|
||||||
|
|
||||||
This warning is optional, and not enabled by default.
|
If you are targeting especially old shells, you can ignore this warning (or use a different letter).
|
||||||
|
|
||||||
If you are targeting especially old shells, you should not enable this warning.
|
|
||||||
|
|
||||||
### Related resources:
|
### Related resources:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user