Issues filed for koalaman/shellcheck

View Full Project
Do you use shellcheck? Leave a review!

Rate of open issues in the last 60 days

shellcheck open issues (View Closed Issues)
  • over 1 year New check: echo with \\\\ escape sequences are not portable
  • over 1 year var=$( sed 's/a/b/' <<< "$var" ) doesn't trigger sc2001
  • over 1 year SC1090/SC1091: sourcing should find files relative to script
  • over 1 year New check: "Must use subscript when assigning associative array" on arr+=( val )
  • over 1 year Enhancement: Directives to stop parsing at #?
  • over 1 year SC2028 false positive for echo -e alias
  • over 1 year Incompatible with Windows 10
  • over 1 year Error: Prelude.(!!): index too large
  • over 1 year Warn about lack of brace expansion inside [[ ]]
  • over 1 year stop parsing after an unconditional exit
  • over 1 year dash / SC2169 - too strict
  • over 1 year Add optional check for unbound variable usage which could fail with 'set -u'
  • over 1 year SC2034 on arrays used only passed as arguments
  • over 1 year Enhancement: Add enable directive
  • almost 2 years Can’t parse assignment to “select” array
  • almost 2 years Style: Add optional directive to notify of double-quotes which could be replaced with single quotes
  • almost 2 years Style: Add optional directive to flag for variable names not surrounded in curly braces
  • almost 2 years Calling exit within an implicit subshell should be flagged as a warning
  • almost 2 years SC2070 (test -n without quoting) needs to be generalized
  • almost 2 years `sort -o` should not trigger SC2094
  • almost 2 years SC2129 inprofment
  • almost 2 years Warning for Whitespaces and/or Taps at the end of lines
  • almost 2 years Expose goodShells so external tools can use it.
  • almost 2 years RFE: Warn about some useless subshell cases involving conditionals
  • almost 2 years `shopt -s lastpipe` should disable SC2030/SC2031 appropriately
  • almost 2 years Shellcheck external rules (eg shellcheck.yml)
  • almost 2 years SC2055: [[ A != B || A != C ]] is not true if B == C
  • almost 2 years Create packages for Ubuntu 12.04 LTS and/or 14.04 LTS
  • almost 2 years Return in subshell in a function
  • almost 2 years Warn about `ssh foo` and `bash` with no args, similar to `su`
  • about 2 years Add option for formatting script
  • about 2 years file descriptors in variables
  • about 2 years debian: apt-get install -y shellcheck installs older version
  • about 2 years Annotation to indicate arguments are optional
  • about 2 years Glob character ranges with variables are not recognized
  • about 2 years Possible 'Bourneism' info notification for using ! and /bin/sh.
  • about 2 years Unicode quotes do not end quotes
  • about 2 years cd *
  • about 2 years Detect wrong use of string equality comparison operator
  • about 2 years Redirects do not need quoting
  • about 2 years Feature: allow documenting explicit variables to treat as assigned
  • about 2 years SC2178/SC2128 false positives on local variables
  • about 2 years SC2154 doesn't understand read -a array [more options]
  • about 2 years Feature Request: Message when "# shellcheck disable=SCnnnn" does nothing.
  • about 2 years Deprecated programs with better alternatives? - readlink -f vs realpath?
  • about 2 years feature: Prescribe an explicit "--" to mark end of command line options
  • about 2 years Installation instructions for Debian
  • about 2 years false positive with using alternate values SC2068
  • about 2 years Assign default values
  • about 2 years SC2103 not silenced by `set -e`
  • about 2 years `pipefail` and `grep -q` wont get along well
  • about 2 years Support multiple shells
  • about 2 years Variable names cannot begin with a number
  • about 2 years "[" vs. "test": "[ a == a ]" is detected as error, "test a == a" is not
  • about 2 years shellcheck: Explict error in module Text.Regex.TDFA.String
  • over 2 years SC2030 set -a isn't reflected in shellchecks variable usage check.
  • over 2 years Variables used as references declared as unused
  • over 2 years add a changelog
  • over 2 years recommend 'set -u' or alert on unset variables
  • over 2 years Warning for disable directives that do nothing.
  • over 2 years Add a check for checking return code after a `local` or `declare` line
  • over 2 years SC2086 may not be catching up on some variables
  • over 2 years Documentation for SC2171
  • over 2 years Feature request: traps don't apply to interpolated strings
  • over 2 years Feature Request: Emit End Column
  • over 2 years Feature Request: Produce Suggested Fixes
  • over 2 years emoji causes user error (Text.Regex.Posix.String died: (ReturnCode 17,"illegal byte sequence"))
  • over 2 years don't report sc2128 for FUNCNAME
  • over 2 years SC2069: 2>&1 does not always have to be last.
  • over 2 years Can not parse valid string comparison
  • over 2 years Repo for debian/ubuntu?
  • over 2 years Suggest (( over [[ for arithmetic comparisons?
  • over 2 years SC2164: `cd || exit` less useful in process substitution case
  • over 2 years SC2162 should not complain without a variable
  • over 2 years ShellCheck-0.4.3 fails to install: requires Cabal library version -any && >=1.8 but no suitable version is installed
  • over 2 years Warn about use of job control
  • over 2 years SC2164 need not warn if cd is the last command in a function
  • over 2 years Statistics / unused code
  • over 2 years Detect semantic errors
  • over 2 years arithmetic parse error 1073 should do better
  • over 2 years Integration with eclipse
  • over 2 years bug reporting could work better.
  • over 2 years Wouldn't it be useful to simply verify the pairing of brackets?
  • over 2 years 'export V=$(echo "{ 'ABC': 123 }")' is not reported as an error
  • over 2 years Checking 'cd', and 'exit' vs 'return' in functions
  • over 2 years install error of 0.4.3
  • over 2 years Specifying variablesWithoutSpaces Without Modifying the Code
  • over 2 years Request for improvement: SC2039 (and others) check POSIXLY_CORRECT
  • over 2 years Non local for variable
  • over 2 years warn about 'grep pattern' without specifying filename
  • over 2 years Stackage support
  • over 2 years Warn about `ssh somewhere` followed by commands on separate lines
  • over 2 years shebang check doesn't match the full string at last position?
  • over 2 years SC2140 triggers for slash on parameter expansion replacement
  • over 2 years SC2120 (arguments not passed) and SC2119 (same thing but when I call the function), in a function that asks said variable at the user and loads it on its own.
  • over 2 years 'Declare and assign separately to avoid masking return values. [SC2155]' isn't triggered for declare/local with arguments
  • over 2 years Add maintainability/complexity creep checks
  • over 2 years Don't recommend grep -c when using grep -o | wc
  • over 2 years Proposal: warn on errexit and multiple commands in command substitution
  • over 2 years sc2128 with parameter expansions

shellcheck closed issues

  • over 1 year Is there a link to download the compiled binary ?
  • over 1 year README: Use camel-case for package name
  • over 1 year Enhancement: Warn on 'return -#'
  • over 1 year Installing without root
  • almost 2 years shellcheck fails to parse explicit subshell with heredoc
  • almost 2 years Defining function without curly braces gives "SC1073: Couldn't parse this function"
  • almost 2 years Wrong directives should not stop parsing
  • almost 2 years SC1009 Parser Error
  • almost 2 years Can't disable SC2086 when on an elif branch
  • almost 2 years SC2126 Wrongly warning when using `grep -o`
  • almost 2 years SC2126 not always correct
  • almost 2 years SC1009 reused in two different errors
  • almost 2 years $(( expression )) error?
  • almost 2 years "command >& filename"-redirect not recognized as error for POSIX shells
  • almost 2 years Shellcheck 0.4.4 ignores shebang regarding POSIX errors (SC2039)
  • almost 2 years Should Read-only declares get SC2155?
  • almost 2 years SC2059 too strict on printf
  • almost 2 years Don't warn about SC2046 (word splitting) for pseudo inline comments
  • almost 2 years aliases with embedded awk are treated as aliases with arguments
  • almost 2 years Solution for a lightweight Docker image for shellcheck
  • almost 2 years Warn when comparing the return value to zero
  • almost 2 years Trying to unset an element of an array should require quotes
  • almost 2 years False positive: SC2034 ("foo appears unused. Verify it or export it.")
  • almost 2 years Redirection placed before subshell triggers SC1036
  • about 2 years False positive: SC2050 ("this expression is constant")
  • about 2 years Wrong warning on literal keys for associative arrays
  • about 2 years Sub-array expansion not recongnized
  • about 2 years shellcheck incorrectly detects tr character class as range when it starts with dash
  • about 2 years `bats` integration errors
  • about 2 years Filewide disables do not work
  • about 2 years Allow override of shell type
  • about 2 years SC2086: Also mention that double quotes guarantee that there will be an argument.
  • about 2 years SC2154 overzealous on associative arrays
  • about 2 years Unhelpful errors when array indices can't be parsed as arithmetic expressions
  • about 2 years false positive of 2034 due to unquoted var
  • about 2 years shellcheck.net editor throws errors in the console and doesn't check anything
  • about 2 years SC1073 when capturing stderr in variable
  • about 2 years SC2093 doesn't recognize redirections w/ auto-allocated FD numbers
  • about 2 years $(seq ...) quoting checks should be relaxed
  • about 2 years False positive SC2073 on quoted operators
  • about 2 years Don’t warn that function references arguments which are not passed if set is used
  • about 2 years SC2154 Doesn't Parse Function Names Containing Colons Correctly
  • about 2 years $ is sometimes necessary in (( … ))
  • about 2 years SC2102 not only chars ; associative arrays can handle words
  • about 2 years SC2034 detect
  • about 2 years regression in SC2034 bar=1 ; ((foo=bar)) doesn't count as use of $bar
  • about 2 years Issue with SC2086
  • about 2 years ${foo:=bar} not recognized as assignment
  • about 2 years Parse error when being creative with else if instead of elif.
  • about 2 years SC2015 is still reported if `A && B || C` is used as conditional clause
  • about 2 years # shellcheck shell=... not in released version
  • about 2 years Shellcheck does not detect variable usage under let
  • over 2 years false positive of SC1035 for `!!`