ShellCheck v0.3.0 Release Notes

Release Date: 2014-01-19 // over 10 years ago
  • โž• Added

    • A man page (thanks Dridi!)
    • GCC compatible error reporting (shellcheck -f gcc)
    • ๐Ÿ’… CheckStyle compatible XML error reporting (shellcheck -f checkstyle)
    • โš  Error codes for each warning, e.g. SC1234
    • ๐Ÿ‘ Allow disabling warnings with # shellcheck disable=SC1234
    • ๐Ÿ‘ Allow disabling warnings with --exclude
    • SC2103: Suggest using subshells over cd foo; bar; cd ..
    • SC2102: Warn about duplicates in char ranges, e.g. [10-15]
    • SC2101: Warn about named classes not inside a char range, e.g. [:digit:]
    • SC2100/SC2099: Warn about bad math expressions like i=i+5
    • SC2098/SC2097: Warn about foo=bar echo $foo
    • SC2095: Warn when using ssh/ffmpeg in while read loops
    • ๐Ÿ‘ Better warnings for missing here doc tokens

    ๐Ÿ›  Fixed

    • Don't warn when single quoting variables with ssh/perl/eval
    • ${!var} is now counted as a variable reference

    โœ‚ Removed

    • Suggestions about using parameter expansion over basename
    • The jsoncheck binary. Use shellcheck -f json instead.