ShellCheck v0.7.1 Release Notes

Release Date: 2020-04-04 // almost 2 years ago
  • ๐Ÿ›  Fixed

    • -f diff no longer claims that it found more issues when it didn't
    • Known empty variables now correctly trigger SC2086
    • ShellCheck should now be compatible with Cabal 3
    • SC2154 and all command-specific checks now trigger for builtins called with builtin

    โž• Added

    • SC1136: Warn about unexpected characters after ]/]]
    • SC2254: Suggest quoting expansions in case statements
    • SC2255: Suggest using $((..)) in [ 2*3 -eq 6 ]
    • SC2256: Warn about translated strings that are known variables
    • SC2257: Warn about arithmetic mutation in redirections
    • SC2258: Warn about trailing commas in for loop elements

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ SC2230: 'command -v' suggestion is now off by default (-i deprecate-which)
    • โš  SC1081: Keywords are now correctly parsed case sensitively, with a warning