Download Latest Version Stable version v0.12.0 source code.zip (538.0 kB)
Home / v0.12.0
Name Modified Size InfoDownloads / Week
Parent folder
shellcheck-v0.12.0.linux.x86_64.tar.gz < 22 hours ago 2.0 MB
shellcheck-v0.12.0.linux.x86_64.tar.xz < 22 hours ago 1.4 MB
shellcheck-v0.12.0.zip < 22 hours ago 2.1 MB
shellcheck-v0.12.0.linux.aarch64.tar.xz < 22 hours ago 1.5 MB
shellcheck-v0.12.0.linux.armv6hf.tar.gz < 22 hours ago 3.1 MB
shellcheck-v0.12.0.linux.armv6hf.tar.xz < 22 hours ago 1.9 MB
shellcheck-v0.12.0.linux.riscv64.tar.gz < 22 hours ago 2.6 MB
shellcheck-v0.12.0.linux.riscv64.tar.xz < 22 hours ago 1.8 MB
shellcheck-v0.12.0.darwin.aarch64.tar.gz < 22 hours ago 9.5 MB
shellcheck-v0.12.0.darwin.aarch64.tar.xz < 22 hours ago 5.8 MB
shellcheck-v0.12.0.darwin.x86_64.tar.gz < 22 hours ago 1.9 MB
shellcheck-v0.12.0.darwin.x86_64.tar.xz < 22 hours ago 1.3 MB
shellcheck-v0.12.0.linux.aarch64.tar.gz < 22 hours ago 2.3 MB
README.md < 23 hours ago 2.5 kB
Stable version v0.12.0 source code.tar.gz < 23 hours ago 495.2 kB
Stable version v0.12.0 source code.zip < 23 hours ago 538.0 kB
Totals: 16 Items   38.3 MB 0

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-from option to read input files from a file
  • Add --extended-analysis=local directive/flag to run dataflow analysis on the current script only, without considering any sourced includes.
  • --list-optional now lists the SC error code for optional checks
  • Support EditorConfig shellcheck.* keys
  • SC2336: Suggest cp -R over implementation specific cp -r
  • SC2337: Warn about grep -q in pipelines under pipefail
  • SC2338: Optionally suggest [[ x == y ]] over [[ x = y ]] (bash require-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 rm warning now also triggers on globs like rm /bin/*$empty* and non-canonical paths like rm -rf /home/foo/$empty/..
  • SC2236/SC2237: warning for negated -n/-z in [ ] now also triggers for test
  • SC2312: cmd || echo .. is now considered handling failure
  • SC3040: Support pipefail as 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
  • json1 output 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 allexport is enabled
  • SC2035: Unprotected globs no longer warn when noglob is 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 cd is considered handled when returned from a function
  • SC2178: Overwriting built-in bash arrays no longer warns in non-bash shells
  • SC2185: find -files0-from no longer triggers check about missing path
  • SC2218: Won't trigger on bats tests invoking functions defined later
  • SC2317: No longer reports commands as unreachable when a case catch-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

Source: README.md, updated 2026-12-03