Commit Graph

  • 944313c6ba Directives after the shebang now apply to the entire script. Vidar Holen 2016-03-08 20:16:16 -08:00
  • 6af1aeb259 Add warning for multi-digit FDs in posix/dash. Vidar Holen 2016-03-08 17:37:12 -08:00
  • b7c9d23452 Add stack support Arguggi 2016-03-02 15:37:03 +01:00
  • e792d69293 Merge pull request #608 from cs-shadow/master koalaman 2016-02-17 09:25:56 -08:00
  • 4d8f2eb707 Fix broken links in README Chandan Singh 2016-02-16 18:07:45 +00:00
  • 8a3bd25f7c Improve error for missing final ) in $((foo) Vidar Holen 2016-02-07 14:16:40 -08:00
  • 825c1b5d22 Support parsing $((( as $( ((, with warning. Vidar Holen 2016-02-06 22:19:29 -08:00
  • 92473b512a Add warning for trailing spaces after \ breaks. Vidar Holen 2016-02-01 20:20:34 -08:00
  • 7e75d12ce1 Improve expansion in single quote false positives. Vidar Holen 2016-01-26 19:57:18 -08:00
  • 7d278c3ca1 Ignore SC2055 if rhs of either != is a glob. Vidar Holen 2016-01-26 19:12:47 -08:00
  • 5f1175fb58 Add special case warning to quote in eval echo {1..$n} Vidar Holen 2016-01-25 18:46:55 -08:00
  • 257b794322 Merge pull request #578 from jwilk/master koalaman 2016-01-19 17:08:32 -08:00
  • 89572d3a96 Fix typo Jakub Wilk 2016-01-20 01:00:22 +01:00
  • 15edcbd4d5 Merge pull request #577 from neil-greenwood/readme-sed-quote koalaman 2016-01-18 09:00:53 -08:00
  • 736febaa3c Update README.md Neil Greenwood 2016-01-18 14:53:15 +00:00
  • a21df2d88f Stable version 0.4.3 v0.4.3 Vidar Holen 2016-01-13 16:54:54 -08:00
  • d473fb8867 Use system over callCommand to allow linking on ghc 7.6.3. Vidar Holen 2016-01-13 14:10:21 -08:00
  • f754363733 Add >= process-1.2.0.0 as dependency due to custom build. Vidar Holen 2016-01-11 10:56:40 -08:00
  • ef1f8f535e Stable version 0.4.2 v0.4.2 Vidar Holen 2016-01-09 15:30:07 -08:00
  • f9909504dd Make SC2174 only trigger for nested directories. Vidar Holen 2016-01-09 14:24:31 -08:00
  • fa4cefda9d Merge pull request #572 from eatnumber1/mkdir koalaman 2016-01-09 13:58:53 -08:00
  • f2f6c66902 Add a warning when you mkdir with both -p and -m. Russell Harmon 2016-01-07 23:17:10 -08:00
  • 1f4dd85548 Change cabal Build-Type to Custom to actually use Setup.hs. Vidar Holen 2016-01-05 14:10:45 -08:00
  • 528381796e Allow escaped characters in [..] globs Vidar Holen 2015-12-13 10:19:48 -08:00
  • ad7ad28246 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2015-12-12 15:53:18 -08:00
  • 33ab998b02 Don't warn about quoting for [ -v var ] Vidar Holen 2015-12-12 15:47:35 -08:00
  • 9c28237d52 Merge pull request #557 from eatnumber1/ignvars koalaman 2015-12-10 20:26:00 -08:00
  • e0e5ba3a90 Add more variables which are assumed to be set. Russell Harmon 2015-12-10 19:54:36 -08:00
  • b4390414ef Fix remaining FIXME for tty error color output. Vidar Holen 2015-12-06 12:48:53 -08:00
  • 8acd5b13cd Add scripts for running shellcheck/tests interpreted. Vidar Holen 2015-12-05 17:47:43 -08:00
  • d00ca0c283 Fix/generalize message for SC2070. Vidar Holen 2015-12-05 17:29:06 -08:00
  • 8bc98d89a7 Let SC2094 ignore echo/printf/sponge. Vidar Holen 2015-12-05 16:50:11 -08:00
  • c7964a7a78 Warn about missing space in 'function foo{'. Vidar Holen 2015-12-05 16:09:44 -08:00
  • 8ec87d6655 Mention -- as alternative to ./* in SC2035 Vidar Holen 2015-12-05 13:45:56 -08:00
  • c3df2bf761 Don't warn about deprecated `` when just used for comments. Vidar Holen 2015-12-05 13:33:39 -08:00
  • d1df3713ca Document --color in the man page. Vidar Holen 2015-12-05 13:16:31 -08:00
  • 23496e93b0 Fix compiler warning about missing field Vidar Holen 2015-12-05 13:08:02 -08:00
  • 437e69fbba Merge pull request #553 from haguenau/add-color-switch koalaman 2015-12-05 12:33:04 -08:00
  • 63ad3f99ad Shorten long help line David Haguenauer 2015-12-04 11:40:52 -05:00
  • 0044c3dd6e Make use of --color with no argument equivalent to --color=always David Haguenauer 2015-12-04 10:57:54 -05:00
  • a3d4101d6c Add initial support for --color David Haguenauer 2015-12-03 11:15:32 -05:00
  • bd359c5c0f Delete trailing whitespace David Haguenauer 2015-12-03 11:17:05 -05:00
  • 498de63337 Mention that cabal installs to ~/.cabal/bin Vidar Holen 2015-11-28 13:42:31 -08:00
  • 52ab7dee2d Updating README.md to take over for shellcheck.net/about.html Vidar Holen 2015-11-27 17:32:48 -08:00
  • 1a5296659b Properly handle escaped double quotes in quoted backtick expressions. Vidar Holen 2015-11-01 12:30:33 -08:00
  • a66ee2967c Trap warnings for kill/stop, non-XSI ints, "sig"-prefix and casing. Vidar Holen 2015-10-31 17:36:24 -07:00
  • d985380f48 Consider "echo $(<file)" a bashism, and don't warn about UUOE. Vidar Holen 2015-10-31 14:48:08 -07:00
  • 6739c4a729 Count declare -p as a variable reference. Vidar Holen 2015-10-31 14:16:45 -07:00
  • 7415c9dcb7 Warn about non-posix function names like x-y Vidar Holen 2015-10-31 13:53:17 -07:00
  • d3fc1f355d Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2015-10-31 13:36:52 -07:00
  • 48fd793581 Update getFlag function to also return non-flags. Vidar Holen 2015-10-27 22:07:29 -07:00
  • e5842e2e2b Merge pull request #516 from Fusl/patch-01 koalaman 2015-10-22 13:59:50 -07:00
  • cf445c7d20 Fix typo "zyper" -> "zypper" Fusl 2015-10-21 11:29:01 +02:00
  • ffb9578a98 Support parsing quoted test operators, and also warn about unicode dashes. Vidar Holen 2015-10-17 16:33:21 -07:00
  • 630f20e888 Count ~/ as dynamic for resolving source paths. Vidar Holen 2015-10-17 10:50:07 -07:00
  • 8f5f91f041 Warn about ]] with no corresponding [[. Vidar Holen 2015-10-17 10:31:14 -07:00
  • 8d9d4533c3 Don't trigger constant checks for -ot/-ef/-nt Vidar Holen 2015-10-17 09:28:29 -07:00
  • a4b4954a23 Merge pull request #512 from mimi1vx/opensuse-docu koalaman 2015-10-17 09:10:12 -07:00
  • 38cea9201d install instructions for openSUSE Ondřej Súkup 2015-09-23 09:21:29 +02:00
  • 4ce916ec1d Include bash builtin arrays in SC2128. Vidar Holen 2015-10-14 12:31:09 -07:00
  • b9cb040128 Account for dereferencing for numerical ops in [[ ]]. Vidar Holen 2015-10-14 11:11:17 -07:00
  • 2488be7298 Don't warn about undefined HOSTNAME if it's being assigned. Vidar Holen 2015-10-14 09:21:21 -07:00
  • d01b59a827 Don't warn about empty assignments when at end of command. Vidar Holen 2015-10-13 12:16:39 -07:00
  • f77821625c Add dash as a first class supported shell. Vidar Holen 2015-10-13 11:37:50 -07:00
  • 1eece5b2ee Add warning about local in sh or not in bash functions. Vidar Holen 2015-10-10 20:48:52 -07:00
  • 58d45e3fa4 Warn about non-posix %q and flags for printf. Vidar Holen 2015-10-10 20:14:17 -07:00
  • 5aaa1a7d9a Split SC2165 messages into separate codes (2167). Vidar Holen 2015-10-10 19:26:14 -07:00
  • 3b36c2c820 Document exit codes in man page. Vidar Holen 2015-10-10 19:19:38 -07:00
  • 55692926b9 Don't consider {} and {a} brace expansions. Vidar Holen 2015-10-03 21:12:28 -07:00
  • 4172722167 Don't warn about quoted rhs of =~ when not a regex. Vidar Holen 2015-10-03 15:21:57 -07:00
  • 485593da2c Don't warn about disrespected quotes in ${#var}. Vidar Holen 2015-10-01 18:56:45 -07:00
  • 1181c6b3af Warn about ${!var} in POSIX mode. Vidar Holen 2015-10-01 18:34:09 -07:00
  • ee181cfc43 Don't warn about comparisons when redirecting stderr for test. Vidar Holen 2015-10-01 18:19:47 -07:00
  • c72667407b Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2015-09-28 18:53:51 -07:00
  • 5467a0f1d9 Account for set -o errexit and #!/bin/bash -e for unchecked cd. Vidar Holen 2015-09-28 18:52:03 -07:00
  • 3fc77d94ec Warn about [ -n foo ] when foo is entirely constant. Vidar Holen 2015-09-28 18:46:32 -07:00
  • 23e0420cb1 Merge pull request #469 from spartacus06/fedora-readme koalaman 2015-09-21 08:29:44 -07:00
  • a898165ac7 Add Fedora install procedure to README.md Seth Jennings 2015-09-21 09:12:19 -05:00
  • ba5e3db31a Stable version 0.4.1 v0.4.1 Vidar Holen 2015-09-05 19:32:37 -07:00
  • 56145217fe Fixed the cabal file, which didn't include formatters :| Vidar Holen 2015-09-05 19:17:22 -07:00
  • 94d265ce41 Stable version 0.4.0 v0.4.0 Vidar Holen 2015-09-05 16:28:44 -07:00
  • 0f00de80fd Support {n}>&1 named file descriptors. Vidar Holen 2015-09-05 09:48:34 -07:00
  • c808c9b6fe End here doc tokens on < and >. Vidar Holen 2015-09-03 20:58:21 -07:00
  • bf9297e2a5 Parse ksh ${ ..; } expansions. Vidar Holen 2015-09-03 20:26:02 -07:00
  • 7f547cc0ec Warn when using unescaped parens in eval. Vidar Holen 2015-09-02 21:11:39 -07:00
  • 01c27dc96a Parse double arithmetic negation, i.e. (( !!a )); Vidar Holen 2015-09-02 19:31:22 -07:00
  • 856a204ec3 Merge pull request #446 from mbeniamino/master koalaman 2015-08-23 10:01:22 -07:00
  • f054e2e2cc Added FlexibleContexts extension in Parser.hs to fix compilation. Matteo Beniamino 2015-08-23 10:55:18 +02:00
  • 090e09e4ca Support nested trinary expressions. Vidar Holen 2015-08-22 14:20:20 -07:00
  • 10276c878d Don't consider ${!os*} reference of 'os' Vidar Holen 2015-08-22 13:55:17 -07:00
  • ae4aea4530 Adds support for a SHELLCHECK_OPTS environment variable. Vidar Holen 2015-08-22 13:15:10 -07:00
  • d0029ae1d4 Ignore === in assignments, and add a special warning 1097 for ==. Vidar Holen 2015-08-22 12:20:03 -07:00
  • eea7bc326e Improved parsing error expected messages. Vidar Holen 2015-08-22 11:06:49 -07:00
  • 73cd2cdd6f Also warn about missing 'then' before 'else' Vidar Holen 2015-08-19 20:27:14 -07:00
  • a01862bc12 Adds a #shellcheck source=file directive to override source statements. Vidar Holen 2015-08-19 19:09:55 -07:00
  • ccb6bf1ed5 Don't warn about uuoc for cat -n and similar. Vidar Holen 2015-08-16 18:26:38 -07:00
  • 136b654867 Update man page with info for -x. Vidar Holen 2015-08-16 18:20:08 -07:00
  • f31c8bd3a3 Preliminary support for sourced files. Vidar Holen 2015-08-16 17:18:51 -07:00
  • 0dd61b65d8 Moved the various AST convenience functions to a separate module. Vidar Holen 2015-08-16 12:53:23 -07:00
  • 07747b30fb Warn about undefined behavior of test -a and -o. Vidar Holen 2015-08-15 22:42:06 -07:00