Commit graph

  • c785d43e34 Fixed unquoted $@ warning message. Vidar Holen 2015-05-09 12:07:33 -07:00
  • 4c3e731445 Don't warn about a/b*c for ksh or when b == c Vidar Holen 2015-05-09 11:48:08 -07:00
  • 3940462da3 Warn about glob matching in [[ ]] for != as well as ==. Vidar Holen 2015-05-09 11:34:34 -07:00
  • b15a00458a Add a JUnit output format style. Etan Reisner 2015-04-26 19:23:47 -04:00
  • bb7ef5834b Warn on unindexed references for implicit arrays. Vidar Holen 2015-04-21 19:19:15 -07:00
  • 2f7bd556e8 Stable version 0.3.7 v0.3.7 Vidar Holen 2015-04-16 08:13:49 -07:00
  • 081751c1b5 Fixed case sensitivity in 'trap' bashism test Vidar Holen 2015-04-05 10:33:54 -07:00
  • cc86aab3f1 Added multiple new checks from checkbashisms Vidar Holen 2015-04-05 10:25:00 -07:00
  • 9f1f00cdd1 Switch from regex-compat to regex-tdfa Vidar Holen 2015-04-04 16:26:28 -07:00
  • 93debd3556 Add expect to list of known non-shells Vidar Holen 2015-04-02 19:22:47 -07:00
  • 47b971c582 Declared FlexibleContexts for GHC 7.10 Vidar Holen 2015-03-31 21:59:03 -07:00
  • f25ae90746 Stable version 0.3.6 v0.3.6 Vidar Holen 2015-03-28 12:27:39 -07:00
  • 3daa47c0f2 Remove zsh specific variables. Vidar Holen 2015-03-28 11:55:25 -07:00
  • ed56a837c3 Killed Zsh support Vidar Holen 2015-03-20 10:03:56 -07:00
  • 80cf5d9852 Include [] as glob chars to warn about quoting for Vidar Holen 2015-03-19 18:29:47 -07:00
  • 8e554ae3d4 Fix SC2143 to not warn about pgrep and other quasi-greps. Vidar Holen 2015-03-12 08:31:49 -07:00
  • 0a80188363 Fix parsing of ((a?b:c)) Vidar Holen 2015-03-08 18:11:23 -07:00
  • 0e1a64b6ba Warn about export/declare/local masking return values. Vidar Holen 2015-03-08 14:17:43 -07:00
  • 0a2cf208c8 Fixed quoted ~ warning to only trigger for ~/ Vidar Holen 2015-03-07 23:48:01 -08:00
  • dcc10bbdf6 Fixed accidentally ignored undef warning for ${#foo} Vidar Holen 2015-03-07 23:01:34 -08:00
  • 2c2e41952f Improved missing shebang message. Vidar Holen 2015-03-07 22:37:49 -08:00
  • 0d74140650 Multiple wrong assignment warning fixes Vidar Holen 2015-03-07 20:15:04 -08:00
  • 955ad60823 Fixed parser errors not being excluded by -e Vidar Holen 2015-03-01 13:44:57 -08:00
  • 2573332d77 Fixed edge cases for braced reference extractor. Vidar Holen 2015-03-01 13:44:18 -08:00
  • 00c470f323 Improve SC2143 error message Vidar Holen 2015-03-01 12:20:37 -08:00
  • 63188282e9 Add warning for vars that are referenced but not assigned. Vidar Holen 2015-02-28 18:43:22 -08:00
  • 61b4b65184 Warn about obviously bad return values, like -1 or "foo" Vidar Holen 2015-02-14 12:03:38 -08:00
  • 39b2bf4378 Don't warn about modifying $@ or $IFS in a subshell Vidar Holen 2015-02-14 10:43:49 -08:00
  • 2fe117728d Count [[ -v foo ]] (and -R) as a variable reference Vidar Holen 2015-02-13 20:10:18 -08:00
  • cde3ba8769 Add filename to JSON output. Vidar Holen 2015-02-13 19:32:20 -08:00
  • 33c78b7c95 Track variables created through coproc. Vidar Holen 2015-01-27 10:11:17 -08:00
  • a485482979 Add support for coproc Vidar Holen 2015-01-26 22:21:04 -08:00
  • 895d83afc5 s/deprecated/legacy/ for backtick warnings. Vidar Holen 2015-01-25 12:27:49 -08:00
  • 39bc011757 Rewrote catastrophic rm detection, now simpler and more robust. Vidar Holen 2015-01-25 12:18:06 -08:00
  • fe0a398239 Merge pull request #295 from orlitzky/sdist-manpage koalaman 2015-01-24 13:10:09 -08:00
  • 1be0f1ea75 Add a pre-sdist hook to compile the man page (Github issue #247). Michael Orlitzky 2015-01-24 12:15:36 -05:00
  • c9aa133282 Fix pattern matching error in z=$(echo) Vidar Holen 2015-01-02 18:06:10 -08:00
  • 7b70500d41 Suppress SC2140 if the user just prefers quoting single items at a time. Vidar Holen 2014-12-23 19:47:55 -08:00
  • 8bed447411 Warn when trying to find -exec "shell command" \; Vidar Holen 2014-11-22 12:16:30 -08:00
  • 22710bf4d8 Fixed $! counting as a positional parameter reference. Vidar Holen 2014-11-22 11:21:54 -08:00
  • a354685ab1 Warn about redirecting to globs in sh Vidar Holen 2014-11-22 10:50:38 -08:00
  • a8ff7a02fd Fix $10 warning triggering for $?!, and also warn about $arr[index]. Vidar Holen 2014-11-22 10:09:19 -08:00
  • c5479b8ca3 Stable version 0.3.5 v0.3.5 Vidar Holen 2014-11-09 16:30:00 -08:00
  • d9dd58bec8 Warn about 'for $var in values'. Vidar Holen 2014-11-09 16:22:01 -08:00
  • af1bb93aba Better warnings for repeated ;;s Vidar Holen 2014-11-09 14:33:36 -08:00
  • e909c8ac42 More lenient line feed handling in test expressions. Vidar Holen 2014-11-08 15:35:06 -08:00
  • 93140e31a0 Merge pull request #253 from vlajos/typofixes-vlajos-20141104 koalaman 2014-11-04 15:27:56 -08:00
  • 97f3834852 typo fixes - https://github.com/vlajos/misspell_fixer Veres Lajos 2014-11-04 21:55:42 +00:00
  • 0369f43bac Fixed 2148 to not trigger if a shell is specified with -s. Vidar Holen 2014-11-01 13:51:19 -07:00
  • eb2eae2888 Don't warn about ${args[@]} when nested in other ${} Vidar Holen 2014-11-01 12:44:27 -07:00
  • 30c0c1f27d Allow export "foo"="bar" in 2140 Vidar Holen 2014-11-01 12:20:10 -07:00
  • bff5d11566 Warn about `` in '' Vidar Holen 2014-11-01 12:17:12 -07:00
  • eccb9f3f71 Added -or and -print0 to SC2146 Vidar Holen 2014-11-01 12:07:09 -07:00
  • 2814572116 cat "$@" is not UUOC Vidar Holen 2014-10-18 19:59:13 -07:00
  • 90bafb9aba Fixed bug where (($b)) counted as a positional reference Vidar Holen 2014-10-18 19:51:13 -07:00
  • 39b88bbaac Removed Arch from readme, added Debian. Vidar Holen 2014-10-12 17:13:35 -07:00
  • 39805ab200 Don't warn about unpassed parameters in functions using 'set ..'. Vidar Holen 2014-10-12 17:10:46 -07:00
  • 9dadce96c0 Improve messages for missing 'then' statements. Vidar Holen 2014-10-12 16:17:03 -07:00
  • 1a0e208cc3 Consider find -exec when warning about vars in single quotes. Vidar Holen 2014-10-12 14:00:17 -07:00
  • a69e27b774 Warn about swapped !# in the shebang. Vidar Holen 2014-10-11 12:35:45 -07:00
  • b05c12223f Don't trigger SC2004 for (( $$ )) Vidar Holen 2014-09-23 10:27:26 -07:00
  • 38ead0385b Fixed quoting warnings for variables in $".." Vidar Holen 2014-09-23 10:18:28 -07:00
  • 9e8a11e57c Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-09-23 10:12:23 -07:00
  • 6b84b35ec0 Don't crash on empty files with -f gcc. Vidar Holen 2014-09-23 10:11:15 -07:00
  • 669fdf8e5e Merge pull request #226 from aycanirican/patch-1 koalaman 2014-09-18 07:09:46 -07:00
  • dccfb3c4a1 Update ShellCheck.cabal Aycan iRiCAN 2014-09-18 09:10:07 +03:00
  • 40ce949a56 Only warn once per unused variable name. Vidar Holen 2014-09-07 12:55:08 -07:00
  • 9f3802138f Prevent overlap of 2116 and 2005 in foo $(echo $(bar)) Vidar Holen 2014-09-04 08:41:09 -07:00
  • 2f3533fff6 Improve warnings for $ in (()). Also improves array subscripts. Vidar Holen 2014-08-16 17:08:57 -07:00
  • f9c346cfd7 Ignore SC2033 when passing quoted function names. Vidar Holen 2014-08-16 10:45:46 -07:00
  • 5f7419ca37 Require a QuickCheck that doesn't break on UTF-8. Vidar Holen 2014-08-10 17:16:27 -07:00
  • 8494509150 Warn about missing shebangs. Vidar Holen 2014-08-09 17:32:42 -07:00
  • 8ba1f2fdf2 Better handling of directories and inaccessible files. Vidar Holen 2014-08-08 09:36:17 -07:00
  • dbadca9f61 Check PS1/PROMPT_COMMAND/trap for simple variable references Vidar Holen 2014-07-27 09:51:48 -07:00
  • 0347ce1b7a Warn about quoted ~ in PATH Vidar Holen 2014-07-26 13:14:28 -07:00
  • 7fbe66e1c6 Warn about ineffectual quotes in a="/foo/'bar baz'"; $a Vidar Holen 2014-07-26 12:15:54 -07:00
  • b000b05507 Parse empty and comment-only backtick expansions. Vidar Holen 2014-07-26 12:07:59 -07:00
  • 39423ddf81 Stable version 0.3.4 v0.3.4 Vidar Holen 2014-07-08 18:43:33 -07:00
  • 875c2d2aad Removed Makefile from cabal file Vidar Holen 2014-07-08 18:18:32 -07:00
  • 64cc7c691a Warn about precedence in find -name -o -name -exec. Vidar Holen 2014-06-22 14:16:24 -07:00
  • b9784cbcc0 Parse let arguments as arithmetic expressions. Vidar Holen 2014-06-22 13:23:44 -07:00
  • 1a3f6aadaf Support indices in array declarations Vidar Holen 2014-06-22 10:35:45 -07:00
  • 35756c2cd6 Delete outdated Makefile. Vidar Holen 2014-06-22 09:16:54 -07:00
  • 0fd351404f Allow escape sequences in here documents. Vidar Holen 2014-06-16 14:18:29 -07:00
  • 4caa7e7900 Removed accidentally submotted debug code Vidar Holen 2014-06-10 00:49:43 -07:00
  • c11c0196d5 Fixed broken parsing of <( in arithmetics Vidar Holen 2014-06-10 00:42:07 -07:00
  • b035331d4a Fixed failing test Vidar Holen 2014-06-10 00:33:54 -07:00
  • d13253973b Updated readme Vidar Holen 2014-06-07 23:25:01 -07:00
  • d9c622ae33 Merge pull request #172 from jbnicolai/master koalaman 2014-06-07 23:07:38 -07:00
  • aac7d76047 Don't warn when using find -print0 | xargs --null Vidar Holen 2014-06-07 22:41:37 -07:00
  • fc421adb45 Reworked arithmetics to allow composite terms Vidar Holen 2014-06-07 22:09:34 -07:00
  • b33b439874 Merge f5cd37405b into 3a944de606 Jonathan Paugh 2014-06-08 01:11:24 +00:00
  • f5cd37405b bug checkPipePitfalls/xargs: Accept "--null" as alternate spelling of "-0" Jonathan Paugh 2014-06-07 21:01:36 -04:00
  • e0d3c6923a Removes trailing whitespace. Joshua Appelman 2014-06-08 01:42:32 +02:00
  • 9772ba9de4 Adds homebrew installation steps to README. Joshua Appelman 2014-06-08 01:42:20 +02:00
  • 3a944de606 Warn when concatening strings and arrays. Vidar Holen 2014-06-07 13:47:40 -07:00
  • 3dd592a02a Support ;& and ;;& in case statements Vidar Holen 2014-06-07 12:23:42 -07:00
  • 61531cbb10 Merge pull request #169 from Dridi/hackage koalaman 2014-06-01 12:46:08 -07:00
  • d53087f056 Updated Extra-Source-Files accordingly with #165 Dridi Boukelmoune 2014-06-01 21:35:45 +02:00
  • 39756b420e Add extra source files in the source tarball Dridi Boukelmoune 2014-06-01 17:53:16 +02:00