All Versions
25
Latest Version
Avg Release Cycle
127 days
Latest Release
327 days ago

Changelog History
Page 3

  • v0.3.2 Changes

    March 22, 2014

    โž• Added

    • SC2121: Warn about trying to set variables, e.g. set var = value
    • SC2120/SC2119: Warn when a function uses $1.. if none are ever passed
    • SC2117: Warn when using su in interactive mode, e.g. su foo; whoami
    • SC2116: Detect useless use of echo, e.g. for i in $(echo $var)
    • SC2115/SC2114: Detect some catastrophic rm -r "$empty/" mistakes
    • SC1081: Warn when capitalizing keywords like While
    • SC1077: Warn when using acute accents instead of backticks

    ๐Ÿ›  Fixed

    • Shells are now properly recognized in shebangs containing flags
    • โš  Stop warning about math on decimals in ksh/zsh
    • โš  Stop warning about decimal comparisons with =, e.g. [ $version = 1.2 ]
    • ๐Ÿ“œ Parsing of |&
    • ${a[x]} not counting as a reference of x
    • (( x[0] )) not counting as a reference of x
  • v0.3.1 Changes

    February 03, 2014

    โž• Added

    • The -s flag to specify shell dialect
    • SC2105/SC2104: Warn about break/continue outside loops
    • SC1076: Detect invalid [/[[ arithmetic like [ 1 + 2 = 3 ]
    • SC1075: Suggest using elif over else if

    ๐Ÿ›  Fixed

    • Don't warn when comma separating elements in brace expansions
    • ๐Ÿ‘Œ Improved detection of single quoted sed variables, e.g. sed '$d'
    • ๐Ÿ“œ Parsing of arithmetic for loops using {..} instead of do..done
    • Don't treat the last pipeline stage as a subshell in ksh/zsh
  • v0.3.0 Changes

    January 19, 2014

    โž• 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.
  • v0.2.0 Changes

    October 27, 2013

    โž• Added

    • Suggest ./* instead of * when passing globs to commands
    • Suggest pgrep over ps | grep
    • Warn about unicode quotes
    • Warn about assigned but unused variables
    • Inform about client side expansion when using ssh

    ๐Ÿ›  Fixed

    • CLI tool now uses exit codes and stderr canonically
    • ๐Ÿ“œ Parsing of extglobs containing empty patterns
    • ๐Ÿ’… Parsing of bash style eval foo=(bar)
    • ๐Ÿ“œ Parsing of expansions in here documents
    • ๐Ÿ“œ Parsing of function names containing :+-
    • ๐Ÿ–จ Don't warn about find|xargs when using -print0
  • v0.1.0 Changes

    July 23, 2013

    โž• Added

    • ๐Ÿš€ First release