This release is dedicated to Eisuke Kawashima (@e-kwsm), whose many contributions to ShellCheck made it possible.
# CHANGELOG ## v0.12.0 - 2026-12-02 ### Added
- Add
--files-fromoption to read input files from a file - Add
--extended-analysis=localdirective/flag to run dataflow analysis on the current script only, without considering anysourced includes. --list-optionalnow lists the SC error code for optional checks- Support EditorConfig
shellcheck.*keys - SC2336: Suggest
cp -Rover implementation specificcp -r - SC2337: Warn about
grep -qin pipelines under pipefail - SC2338: Optionally suggest
[[ x == y ]]over[[ x = y ]](bashrequire-double-equals) - SC2339/SC2340/SC2341/SC3426: Improved exit/return validation across shells
### Changed
- SC2024/SC2232: sudo redirection/builtin now also apply to doas and run0
- SC2114/SC2115: Unintentional
rmwarning now also triggers on globs likerm /bin/*$empty*and non-canonical paths likerm -rf /home/foo/$empty/.. - SC2236/SC2237: warning for negated -n/-z in
[ ]now also triggers fortest - SC2312:
cmd || echo ..is now considered handling failure - SC3040: Support
pipefailas specified in POSIX.1-2024
### Fixed
|&now parses correctly as coprocess separator it Ksh- Malformed shebangs retain warnings, but are no longer counted as shebangs
json1output no longer contains duplicates instances of warnings- SC1072 about an invalid
disable=value now names the value instead of a missing= - SC2031: No longer warns that assignments to
_may be lost in a subshell - SC2034: Unused variables no longer warn when
allexportis enabled - SC2035: Unprotected globs no longer warn when
noglobis enabled - SC2064: readonly variables no longer warn about expanding in
trap - SC2147: Check for tilde in $PATH now also triggers for declare/local/export
- SC2164: Status of
cdis considered handled when returned from a function - SC2178: Overwriting built-in bash arrays no longer warns in non-bash shells
- SC2185:
find -files0-fromno longer triggers check about missing path - SC2218: Won't trigger on
batstests invoking functions defined later - SC2317: No longer reports commands as unreachable when a
casecatch-all is followed by;;&and a non-default final clause -
SC3001: busybox sh now considered to support
<(process substitution) -
SC3003: removed since ANSI C string is specified in POSIX.1-2024