Commit Graph

  • 2a9c9ae0ad Warn about using <=/>=, and don't warn about -gt 1.2 in ksh/zsh Vidar Holen 2014-03-16 14:51:46 -07:00
  • def4551991 Merge pull request #117 from mcandre/master koalaman 2014-03-15 16:17:07 -07:00
  • 67f4a0d6eb Accept and warn about capitalization in keywords. Vidar Holen 2014-03-15 16:08:33 -07:00
  • f92f934688 readme: added compiler memory note Andrew Pennebaker 2014-03-15 16:49:05 -04:00
  • d4059c30b7 readme: markdown for link rendering Andrew Pennebaker 2014-03-14 16:37:34 -04:00
  • b68de7f42b Don't warn about for s in "${!var}", it could be an array Vidar Holen 2014-03-13 20:54:10 -07:00
  • 7dacb62d36 Fixed determining shell for shebangs with flags Vidar Holen 2014-03-09 17:24:05 -07:00
  • 3423cde931 Check attempts to set variables with 'set' Vidar Holen 2014-03-01 16:52:53 -08:00
  • b2d1aa01f7 Don't warn about commas when quoted in a=("a,b") Vidar Holen 2014-03-01 15:30:51 -08:00
  • 19e1bdf11f Warn about array assignments for /bin/sh Vidar Holen 2014-03-01 15:16:31 -08:00
  • 75d51087c8 Warn about functions using parameters that are never passed Vidar Holen 2014-03-01 14:42:00 -08:00
  • ed524fb77f Don't warn about decimals when comparing with = Vidar Holen 2014-03-01 10:24:22 -08:00
  • 97045c4af1 Fixed x[0] not recognized as reference of x in arithmetics Vidar Holen 2014-03-01 10:14:17 -08:00
  • 1b806f6c9f Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-03-01 10:06:03 -08:00
  • 632c1614a1 Added support for |& Vidar Holen 2014-03-01 10:05:43 -08:00
  • 00d9ef12e7 Merge pull request #105 from Dridi/dynamic_link koalaman 2014-03-01 09:00:47 -08:00
  • d07294810b Allow \n before and after ||/&& in [[ ]] Vidar Holen 2014-02-28 18:46:10 -08:00
  • 948b750754 Make the executable depend on the library Dridi Boukelmoune 2014-02-28 19:55:04 +01:00
  • 41ae95116d Reformat ShellCheck.cabal for readability Dridi Boukelmoune 2014-02-28 19:44:09 +01:00
  • bf3c942294 Warn about using 'su foo' to continue as foo Vidar Holen 2014-02-16 18:51:30 -08:00
  • 055b40462d Improved $(echo ..) warnings Vidar Holen 2014-02-16 13:26:50 -08:00
  • b087b7efb1 Some hlint fixes. Vidar Holen 2014-02-16 12:57:34 -08:00
  • 5d8d57cf07 Suggest useless use of echo for $(echo $var) Vidar Holen 2014-02-12 19:20:39 -08:00
  • 661091a9da Added better message for SC1007, for 'var= value' Vidar Holen 2014-02-12 18:26:41 -08:00
  • 2ec60c2627 Added double prime to list of unicode quotes. Vidar Holen 2014-02-08 14:15:04 -08:00
  • 8b4909b238 Improve warnings for missing quotes. Vidar Holen 2014-02-08 14:10:45 -08:00
  • 95a3be6546 README: Updated URL, reformatted long lines Vidar Holen 2014-02-08 09:58:11 -08:00
  • 968e34e002 Parse forward ticks (acute accents) just like backticks and warn. Vidar Holen 2014-02-08 09:50:20 -08:00
  • 197b3e3f20 Some checks for accidental rm -r Vidar Holen 2014-02-04 19:43:16 -08:00
  • 0e464ea476 Stable version 0.3.1 v0.3.1 Vidar Holen 2014-02-03 20:22:30 -08:00
  • 811df6f0da Fixed cabal file Vidar Holen 2014-02-03 20:21:26 -08:00
  • 4e5d32b05a Added --version flag Vidar Holen 2014-02-03 20:06:59 -08:00
  • c5141b77bf Fixed parser not accepting `` in arithmetic contex Vidar Holen 2014-02-03 16:45:48 -08:00
  • 9dfeb6b42a Added -s to the man page Vidar Holen 2014-02-02 21:56:04 -08:00
  • 77916d2645 Fixed compilation error on GHC7 Vidar Holen 2014-02-02 21:47:02 -08:00
  • 4968e7d9ff Added -s flag to override dialect, e.g. -s ksh Vidar Holen 2014-02-02 19:28:09 -08:00
  • 075d58ee90 Replaced parser error for 'function' with shell-aware check. Vidar Holen 2014-02-02 13:39:44 -08:00
  • 6a4a5a815e Don't consider last stage of pipeline a subshell for Ksh/Zsh Vidar Holen 2014-02-02 13:03:26 -08:00
  • 76a39f254b Refactoring, 25% speedup. Vidar Holen 2014-02-02 04:59:17 -08:00
  • 8ec9fa43fd Warn about break/continue in subshells and outside loops Vidar Holen 2014-02-01 23:45:26 -08:00
  • e8634a3c27 Removed duplicate check for [[ a == b + 1 ]] Vidar Holen 2014-02-01 20:45:44 -08:00
  • 9ae776530b Check for [[ i + 1 = 2 ]] Vidar Holen 2014-01-27 22:47:48 -08:00
  • 0ec62390d5 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-01-27 22:13:04 -08:00
  • 82328cd86e Warn about literal "\ " just like literal quotes. Vidar Holen 2014-01-27 22:11:46 -08:00
  • 5b58da7249 Merge pull request #75 from michaelsanford/master koalaman 2014-01-27 12:11:19 -08:00
  • 8676517270 Macports install info thanks to @myint michaelsanford 2014-01-27 14:39:10 -05:00
  • 4262c4b1bf Allow {} in arithmetic for loops Vidar Holen 2014-01-26 12:44:51 -08:00
  • 7ad0110443 Don't warn about sed '$d' or '$p' Vidar Holen 2014-01-25 14:54:05 -08:00
  • e9bba2f75a Don't warn about comma separation in for f in {a,b} Vidar Holen 2014-01-25 14:30:25 -08:00
  • 74ea5eaeec Parse but warn about "else if" Vidar Holen 2014-01-25 14:12:31 -08:00
  • b7ee5f4410 Merge pull request #67 from michaelsanford/master koalaman 2014-01-24 21:15:10 -08:00
  • e294db171e Added Mac OS instructions with brew (relates #11) Michael Sanford 2014-01-22 22:13:55 -05:00
  • 8c3d8d7cfa Stable version 0.3.0 v0.3.0 Vidar Holen 2014-01-19 13:04:17 -08:00
  • 380d6c3317 Cleaned up cabal file to make 'cabal check' pass. Vidar Holen 2014-01-19 13:03:05 -08:00
  • 16bd52333a man page: Added Directives section Vidar Holen 2014-01-19 12:36:48 -08:00
  • cfb44b3fe2 Warn about 'cd $f; foo; cd ..' loop antipattern. Vidar Holen 2014-01-17 09:02:14 -08:00
  • 43ed5e748d Allow '# shellcheck disable=SC1234' to ignore by code. Vidar Holen 2014-01-16 23:08:56 -08:00
  • 4dca88aade Don't warn about quotes in variables for eval Vidar Holen 2014-01-16 19:41:09 -08:00
  • 1d2c7a8551 Warn about abused char classes, such as [10-15] and [:digit:] Vidar Holen 2014-01-14 21:20:21 -08:00
  • ba080e7e34 Merge pull request #61 from cheecheeo/master koalaman 2014-01-14 10:40:27 -08:00
  • fc716738eb expanded cabal file John Chee 2014-01-13 19:14:18 -08:00
  • 659709d529 Fixed ${!var} not counting as reference of var Vidar Holen 2013-12-30 10:00:05 -08:00
  • 5b4729d940 Parser: allow subshell function definitions Vidar Holen 2013-12-30 09:50:14 -08:00
  • b936f28763 Merge branch 'manpage' Vidar Holen 2013-12-15 19:43:02 -08:00
  • 78d9a7ad97 Tweaked man page format Vidar Holen 2013-12-15 19:40:05 -08:00
  • d540a98d33 Merge branch 'man_page' of https://github.com/Dridi/shellcheck into manpage Vidar Holen 2013-12-15 18:44:49 -08:00
  • 8c00850134 Minor performance tweaks (~10% improvement) Vidar Holen 2013-12-15 18:43:34 -08:00
  • d1990e3396 Warn about 'i=i+1' and 'i=i + 1' Vidar Holen 2013-12-15 16:11:17 -08:00
  • 91fc4a046c Added a shellcheck(1) man page Dridi Boukelmoune 2013-12-16 00:01:09 +01:00
  • 95ebe1cd07 Fixed parser error for '..; done| ..' Vidar Holen 2013-12-15 14:39:47 -08:00
  • 27822a1f56 Warn about 'foo=bar echo $foo' Vidar Holen 2013-12-14 16:06:19 -08:00
  • eb06b06475 Don't warn about single quoted vars for ssh Vidar Holen 2013-12-14 15:28:58 -08:00
  • 5d72432046 If printf string contains %, don't warn about using vars Vidar Holen 2013-12-14 15:27:11 -08:00
  • da51b14789 Parser: accept here doc token strings more liberally Vidar Holen 2013-12-14 15:20:15 -08:00
  • 7be8485b8b Fixed parsing of 'time' in front of compound commands Vidar Holen 2013-12-14 14:44:47 -08:00
  • a4d36ba0d2 Warn about while read f; do ssh "$f"; done Vidar Holen 2013-11-29 23:05:41 -08:00
  • d4bc0f6e10 Don't require separator before do in 'for i do ..' Vidar Holen 2013-11-29 16:22:37 -08:00
  • 1011ae7b3c Fixed incorrect parsing of [ foo -a -f bar ] Vidar Holen 2013-11-24 18:49:49 -08:00
  • d603ee1e89 Don't warn for A&&B||C if C is echo/exit/assignment Vidar Holen 2013-11-24 16:15:10 -08:00
  • 4fc518c877 Cleaned up command matching code Vidar Holen 2013-11-24 15:48:07 -08:00
  • 7fda86d6e2 Fixed warning for 'exec foo; exit 3' Vidar Holen 2013-11-24 14:48:12 -08:00
  • 6905373b6c Fix incorrect warning for 'foo > bar 2> bar' Vidar Holen 2013-11-24 14:20:24 -08:00
  • 1d8401d583 Assume variables have spaces by default Vidar Holen 2013-11-17 16:16:58 -08:00
  • a89aee1a34 Assume variables have spaces/globs by default Vidar Holen 2013-11-17 16:13:45 -08:00
  • 4853dce3fe Fixed wrong quoting warning for foo=" "; foo Vidar Holen 2013-11-17 15:00:07 -08:00
  • a793e09bab Added hint to suggest missing ;; in case Vidar Holen 2013-11-17 14:41:55 -08:00
  • fbd85e93ee Added --exclude to filter out warnings Vidar Holen 2013-11-17 13:41:42 -08:00
  • 77f754fa32 Replace Prelude.catch with Control.Exception.catch Vidar Holen 2013-11-15 17:31:55 -08:00
  • 01d557abe6 More discriminating error codes Vidar Holen 2013-11-14 22:46:09 -08:00
  • 68cc00b6e8 Exit with 1 on comments and 2 on failure Vidar Holen 2013-11-14 22:35:38 -08:00
  • 8b7c0be06f gcc output mode now uses a tab width of 1 Vidar Holen 2013-11-14 22:23:55 -08:00
  • 473bb666d8 Support for checkstyle compatible xml output Vidar Holen 2013-11-13 22:39:35 -08:00
  • 376d407ea1 Added gcc compatible output for editor integrations Vidar Holen 2013-11-13 17:28:08 -08:00
  • 2e13cedc4b Removed jsoncheck. Use 'shellcheck -f json -' instead Vidar Holen 2013-11-12 21:39:41 -08:00
  • 17515ad706 Added proper command line parsing Vidar Holen 2013-11-12 21:22:52 -08:00
  • d8b5d6393a \" should not be treated specially in backticks Vidar Holen 2013-11-12 18:27:18 -08:00
  • d404bc703d Show expose error code in shellcheck frontends Vidar Holen 2013-11-10 12:22:33 -08:00
  • e5e08df1d9 Numbered messages Vidar Holen 2013-11-10 10:55:46 -08:00
  • 1988cba147 Merge pull request #33 from daniellawrence/master koalaman 2013-11-07 10:21:48 -08:00
  • 4cee7fd27f updated debian/ubuntu required packages Daniel Lawrence 2013-11-04 16:00:47 +11:00