fix(SC3012)!: do not warn about \< and \> in test/[] as specified in POSIX.1-2024

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/test.html
fix #3168
This commit is contained in:
Eisuke Kawashima 2025-03-24 06:04:19 +09:00
commit bc60607f9e
No known key found for this signature in database
GPG key ID: AE0456361ACA5F4B
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@
- SC2002 about Useless Use Of Cat is now disabled by default. It can be
re-enabled with `--enable=useless-use-of-cat` or equivalent directive.
- SC2015 about `A && B || C` no longer triggers when B is a test command.
- SC3012: Do not warn about `\<` and `\>` in test/[] as specified in POSIX.1-2024
### Fixed
- SC2218 about function use-before-define is now more accurate.
- SC2317 about unreachable commands is now less spammy for nested ones.