All Versions
25
Latest Version
Avg Release Cycle
127 days
Latest Release
1232 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.4.3 Changes
January 13, 2016๐ This is purely a bugfix bump that works on GHC 7.6.3,
as currently found in Debian stable and Ubuntu LTS. -
v0.4.2 Changes
January 09, 2016โ Added
- ๐ First class support for the
dash
shell - The
--color
flag similar to ls/grep's (thanks, haguenau!) - SC2174: Warn about unexpected behavior of
mkdir -pm
(thanks, eatnumber1!) - ๐ฆ SC2172: Warn about non-portable use of signal numbers in
trap
- SC2171: Warn about
]]
without leading[[
- SC2168: Warn about
local
outside functions
๐ Fixed
- โ Warnings about unchecked
cd
will no longer trigger withset -e
[ a -nt/-ot/-ef b ]
no longer warns about being constant- โ
Quoted test operators like
[ foo "<" bar ]
now parse - ๐ Escaped quotes in backticks now parse correctly
- ๐ First class support for the
-
v0.4.1 Changes
September 05, 2015๐ Fixed
- โ Added missing files to Cabal, fixing the build
-
v0.4.0 Changes
September 05, 2015โ Added
- ๐ Support for following
source
d files - ๐ Support for setting default flags in
SHELLCHECK_OPTS
- An
--external-sources
flag for following arbitrarysource
d files - A
source
directive to override the filename tosource
- SC2166: Suggest using
[ p ] && [ q ]
over[ p -a q ]
- SC2165: Warn when nested
for
loops use the same variable name - SC2164: Warn when using
cd
without checking that it succeeds - SC2163: Warn about
export $var
- SC2162: Warn when using
read
without-r
- SC2157: Warn about
[ "$var " ]
and similar never-empty string matches
๐ Fixed
cat -vnE file
and similar will no longer flag as UUOC- ๐ Nested trinary operators in
(( ))
now parse correctly - ๐ Ksh
${ ..; }
command expansions now parse
- ๐ Support for following
-
v0.3.8 Changes
June 20, 2015๐ Changed
- ShellCheck's license has changed from AGPLv3 to GPLv3.
โ Added
- SC2156: Warn about injecting filenames in
find -exec sh -c "{}" \;
๐ Fixed
- ๐ Variables and command substitutions in brace expansions are now parsed
- ๐ ANSI colors are now disabled on Windows
- ๐ Empty scripts now parse
-
v0.3.7 Changes
April 16, 2015๐ Fixed
- ๐ Build now works on GHC 7.10
- ๐ Use
regex-tdfa
overregex-compat
since the latter crashes on OS X.
-
v0.3.6 Changes
March 28, 2015โ Added
- SC2155: Warn about masked return values in
export foo=$(exit 1)
- SC2154: Warn when a lowercase variable is referenced but not assigned
- SC2152/SC2151: Warn about bad
return
values like1234
and"foo"
- SC2150: Warn about
find -exec "shell command" \;
๐ Fixed
- ๐
coproc
is now supported - Trinary operator now recognized in
((..))
โ Removed
- ๐ Zsh support has been removed
- SC2155: Warn about masked return values in
-
v0.3.5 Changes
November 09, 2014โ Added
- SC2148: Warn when not including a shebang
- SC2147: Warn about literal ~ in PATH
- SC1086: Warn about
$
in for loop variables, e.g.for $i in ..
- SC1084: Warn when the shebang uses
!#
instead of#!
๐ Fixed
- ๐ Empty and comment-only backtick expansions now parse
- Variables used in PS1/PROMPT_COMMAND/trap now count as referenced
- ShellCheck now skips unreadable files and directories
-f gcc
on empty files no longer crashes- Variables in $".." are now considered quoted
- โ Warnings about expansions in single quotes now include backticks
-
v0.3.4 Changes
July 08, 2014โ Added
- SC2146: Warn about precedence when combining
find -o
with actions - SC2145: Warn when concatenating arrays and strings
๐ Fixed
- ๐ Case statements now support
;&
and;;&
- ๐ Indices in array declarations now parse correctly
- ๐
let
expressions now parsed as arithmetic expressions - Escaping is now respected in here documents
๐ Changed
- Completely drop Makefile in favor of Cabal (thanks rodrigosetti!)
- SC2146: Warn about precedence when combining
-
v0.3.3 Changes
May 29, 2014โ Added
- SC2144: Warn when using globs in
[/[[
- SC2143: Suggesting using
grep -q
over[ "$(.. | grep)" ]
- SC2142: Warn when referencing positional parameters in aliases
- SC2141: Warn about suspicious IFS assignments like
IFS="\n"
- SC2140: Warn about bad embedded quotes like
echo "var="value""
- SC2130: Warn when using
-eq
on strings - SC2139: Warn about define time expansions in alias definitions
- ๐ฒ SC2129: Suggest command grouping over
a >> log; b >> log; c >> log
- SC2128: Warn when expanding arrays without an index
- SC2126: Suggest
grep -c
overgrep|wc
- SC2123: Warn about accidentally overriding
$PATH
, e.g.PATH=/my/dir
- SC1083: Warn about literal
{/}
outside of quotes - SC1082: Warn about UTF-8 BOMs
๐ Fixed
- SC2051 no longer triggers for
{1,$n}
, only{1..$n}
- ๐ Improved detection of single quoted
sed
variables, e.g.sed '$s///'
- โ Stop warning about single quoted variables in
PS1
and similar - ๐ Support for Zsh short form loops,
=(..)
โ Removed
- SC1000 about unescaped lonely
$
, e.g.grep "^foo$"
- SC2144: Warn when using globs in