ShellCheck v0.3.1 Release Notes

Release Date: 2014-02-03 // about 10 years ago
  • โž• 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