Commit graph

  • 47a7065a7a Add style note for 'mycmd; if [ $? -eq 0 ]'. Vidar Holen 2016-08-28 20:54:08 -07:00
  • dbafbb3b3b Merge pull request #722 from kpankonen/docker koalaman 2016-08-07 11:43:37 -07:00
  • 13a2070a32 Support multidimensional KSH arrays and warn in Bash. Vidar Holen 2016-08-06 18:40:08 -07:00
  • 5dbb6d309d Refactored soulmachine 2016-08-06 18:06:09 -07:00
  • 5f67d580ff Install from source code soulmachine 2016-08-06 12:03:43 -07:00
  • fa4874c044 add Dockerfile that will build shellcheck Kevin Pankonen 2016-08-05 16:20:06 -07:00
  • eb38af7083 Polished the document soulmachine 2016-08-01 13:14:51 -07:00
  • 7c5387d58c Dockerize shellcheck soulmachine 2016-08-01 13:12:45 -07:00
  • c23d0a43f3 Merge ac892b7d06 into 6a71ff6f46 Russell Harmon 2016-08-01 01:05:03 +00:00
  • 6a71ff6f46 Don't suggest removing $ in (( ${COLUMNS-80} )) Vidar Holen 2016-07-30 10:42:33 -07:00
  • 36263fb3f5 s/range/class/ when warning about tr '[abc]' Vidar Holen 2016-07-05 08:51:40 -07:00
  • 6dc419bbf5 Improve warning for 'else if'. Vidar Holen 2016-07-02 15:40:29 -07:00
  • 7af3470a91 Improve parser errors when reparsing array indices. Vidar Holen 2016-07-01 22:06:50 -07:00
  • 42f7479fb8 Don't warn about missing shebang when using directives. Vidar Holen 2016-07-01 22:02:06 -07:00
  • 50084c06c5 Don't warn when $(seq) is used unquoted. Vidar Holen 2016-07-01 21:26:46 -07:00
  • e3bef9dc97 Warn about (( 1 -lt 2 )) Vidar Holen 2016-07-01 20:33:07 -07:00
  • 6c1abb2dee Performance: make readDollarExpr fail early if no $ Vidar Holen 2016-06-30 10:01:03 -07:00
  • 43c26061b9 Improve parsing for ambiguous $((foo) ) and ((foo) ). Vidar Holen 2016-06-26 22:13:48 -07:00
  • 07fd5724b8 Recognize declare -A statements when value is inlined. Vidar Holen 2016-06-26 14:57:52 -07:00
  • eb2472ada8 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2016-06-26 14:40:43 -07:00
  • 3e5ecaa262 Parse indices of associative arrays properly Vidar Holen 2016-06-26 14:39:49 -07:00
  • ac892b7d06 Support emitting a correct end column on SC2086 Russell Harmon 2016-06-18 22:15:01 -07:00
  • e1cec6c5d3 Merge pull request #694 from eatnumber1/end_column koalaman 2016-06-18 15:09:58 -07:00
  • eaa319ec57 Emit the end line in the JSON. Russell Harmon 2016-06-18 15:05:39 -07:00
  • 717b5e91f5 Merge pull request #693 from eatnumber1/end_column koalaman 2016-06-18 15:05:44 -07:00
  • 7f5f5b7fb5 Make SC1035 emit a proper end column Russell Harmon 2016-06-18 14:59:47 -07:00
  • 856d57f7d8 PositionedComment and ParseNote contains end cols. Russell Harmon 2016-06-18 14:50:18 -07:00
  • c45e9d4878 Merge pull request #677 from Maffblaster/patch-1 koalaman 2016-05-26 12:11:02 -07:00
  • 89c6f6c800 Add Gentoo to supported distribution list. Matthew Marchese 2016-05-26 09:56:36 -07:00
  • 85e69f86eb In (( x = y )), logic to not reference x also grabbed y Vidar Holen 2016-05-24 09:12:47 -07:00
  • ad1a0da954 Attempted bats @test support bats Vidar Holen 2016-05-22 18:53:35 -07:00
  • 47fd16b8e8 Stable version 0.4.4 Vidar Holen 2016-05-15 13:53:37 -07:00
  • be4df190d1 Stable version 0.4.4 v0.4.4 Vidar Holen 2016-05-15 13:21:10 -07:00
  • 1d04754b37 Don't warn about a && b || c in if/while/until. Vidar Holen 2016-05-14 17:14:32 -07:00
  • 13ff0a7432 Warn when arrays are appended/assigned scalars. Vidar Holen 2016-05-14 16:24:18 -07:00
  • 40136fe249 Fix parsing of [[ a =~ {$var} ]] Vidar Holen 2016-05-08 12:19:25 -07:00
  • 86999ded1f Improve 'let' parsing, trigger unused var for ((a=1)) Vidar Holen 2016-04-30 13:45:39 -07:00
  • 7551a241ad Add missing warnings for {$i..10} similar to {1..$i} Vidar Holen 2016-04-23 16:00:56 -07:00
  • 2f0ae44de4 Fix parsing of here documents Vidar Holen 2016-04-16 19:14:02 -07:00
  • 51d8caf2c9 Add missing import Vidar Holen 2016-04-16 09:53:15 -07:00
  • f835c2d4c1 Fix handling of spaces in shebangs. Vidar Holen 2016-04-16 09:42:07 -07:00
  • db0c8c2dc9 Separate out command specific checks. Vidar Holen 2016-04-10 17:01:40 -07:00
  • 9911470d67 Don't warn about LINENO in dash Vidar Holen 2016-04-09 09:56:07 -07:00
  • a5821c3a4d s/sh/bash/ in SC2176 because of posix guarantees. Vidar Holen 2016-03-19 16:47:55 -07:00
  • c91083354f Warn about timing pipelines and compound commands in sh/dash. Vidar Holen 2016-03-19 16:14:55 -07:00
  • 2957fb64c9 Allow parsing 'time ( foo )' Vidar Holen 2016-03-19 16:13:54 -07:00
  • 459e30804f Merge pull request #622 from Arguggi/master koalaman 2016-03-19 14:50:48 -07:00
  • 49569e10e6 Merge pull request #628 from benmwebb/patch-1 koalaman 2016-03-11 09:02:02 -08:00
  • ba0221a1da Fix a handful of typos. Ben Webb 2016-03-10 21:27:07 -08:00
  • 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
  • 319063b95e add compilation documentation for test runners Royce Remer 2016-02-28 14:28:40 -08: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
  • 77681216e0 SC2164: show two possible variants for circumenting the warning Bastian Bittorf 2016-02-04 20:03:19 +01: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