Path to this page:
Subject: CVS commit: pkgsrc/shells/shellcheck
From: Nikita
Date: 2023-01-16 17:43:24
Message id: 20230116164324.44E41FA90@cvs.NetBSD.org
Log Message:
shellcheck: update to version 0.9.0
ChangeLog:
v0.9.0 - 2022-12-12
Added
SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
SC2317: Warn about unreachable commands
SC2318: Warn about backreferences in 'declare x=1 y=$x'
SC2319/SC2320: Warn when $? refers to echo/printf/[ ]/[[ ]]/test
SC2321: Suggest removing ((..))inarray[((idx))]=val
SC2322: Suggest collapsing double parentheses in arithmetic contexts
SC2323: Suggest removing wrapping parentheses in a[(x+1)]=val
Fixed
SC2086: Now uses DFA to make more accurate predictions about values
SC2086: No longer warns about values declared as integer with declare -i
Changed
ShellCheck now has a Data Flow Analysis engine to make smarter decisions
based on control flow rather than just syntax. Existing checks will
gradually start using it, which may cause them to trigger differently
(but more accurately).
Values in directives/shellcheckrc can now be quoted with '' or ""
Files: