Commit Graph

  • 26d16eb8ad Avoid new 2129 warnings when disabling the first one. Vidar Holen 2015-08-15 14:23:45 -07:00
  • 54b2d14847 Stop 2164 and 2103 about 'cd foo || exit' from overlapping. Vidar Holen 2015-08-15 14:10:40 -07:00
  • f653362b18 Warn about bashism [^bar]. Vidar Holen 2015-08-15 13:50:09 -07:00
  • f85441add9 Removed unused pragma. Vidar Holen 2015-08-15 13:25:34 -07:00
  • 67cfcfd206 Separated formatters into multiple files. Vidar Holen 2015-08-15 12:51:13 -07:00
  • 72eeafe002 Some cleanup to make room for future improvements. Vidar Holen 2015-08-15 09:34:19 -07:00
  • 6d9e8472e6 Less confusing message for SC2140 Vidar Holen 2015-08-02 19:55:47 -07:00
  • 47d68019e5 Fixed exit status for missing files. Vidar Holen 2015-08-02 19:13:01 -07:00
  • cbda90eeb5 Warn about zero-width spaces. Vidar Holen 2015-07-25 13:59:00 -07:00
  • 722b0606e8 Merge pull request #416 from chadbrewbaker/master koalaman 2015-07-23 12:26:59 -07:00
  • 95cfd87589 cleanup Chad Brewbaker 2015-07-23 12:51:38 -05:00
  • 0a1beb883f Don't warn about unquoted :+ expansions. Vidar Holen 2015-07-19 12:28:31 -07:00
  • 83adcba88e Warn when nested loops have conflicting variable names. Vidar Holen 2015-07-19 11:30:57 -07:00
  • 35fb5073f4 Fixed cd foo; bar; cd -; check not trigger on top level Vidar Holen 2015-07-18 19:58:09 -07:00
  • de59c3586b Warn about 'cd' when not used as part of a conditional Vidar Holen 2015-07-18 19:37:58 -07:00
  • 8894333556 Warn about 'export $foo' Vidar Holen 2015-07-18 13:23:36 -07:00
  • b1843c520f Warn when using read without -r Vidar Holen 2015-07-18 12:30:08 -07:00
  • d406ba9950 Special case messages for [ true ] and false/0/1 Vidar Holen 2015-07-18 11:47:28 -07:00
  • d5dfb4a7c1 Add a .ghci file to allow running ghci without cabal repl Vidar Holen 2015-07-18 11:09:11 -07:00
  • 7929a9dbba Makes literal check work for args to -z and -n Vidar Holen 2015-07-18 11:08:42 -07:00
  • 7e84ad031f Warn about [ foo ] when "foo" is non-constant with constant parts. Vidar Holen 2015-07-18 09:56:58 -07:00
  • 7eef12102b Make 2077 point to the = in [ foo=bar ] Vidar Holen 2015-07-18 09:22:52 -07:00
  • 0522a5f0bd Allow escaped linefeeds to break lines in $(()) Vidar Holen 2015-07-15 09:01:29 -07:00
  • 6c21e4671b Added bug reporting info to README.md. Vidar Holen 2015-06-30 20:12:38 -07:00
  • 3d83b87c9a Added copyright notice to individual source files. Vidar Holen 2015-06-30 19:21:12 -07:00
  • f86d68bcc0 Fixed incorrectly documented flag syntax for -V. Vidar Holen 2015-06-30 19:10:41 -07:00
  • 1e65d36874 Included copyright information in the man page. Vidar Holen 2015-06-30 19:07:08 -07:00
  • 1ff67a61b4 Stable version 0.3.8. Now GPLv3! v0.3.8 Vidar Holen 2015-06-20 10:17:48 -07:00
  • 349dfdab35 Relicense from AGPL v3 to GPL v3. Vidar Holen 2015-06-20 09:52:07 -07:00
  • 1ab29ddb39 Made SC2082 indirection message more sh friendly. Vidar Holen 2015-06-14 17:20:52 -07:00
  • 09b7788412 Don't consider declare -Ffp assignments. Vidar Holen 2015-06-14 16:51:18 -07:00
  • ef2135f3aa Don't warn about unpassed parameters if used in child functions. Vidar Holen 2015-06-14 16:14:05 -07:00
  • d10c3b2709 Don't warn about 2>&1 > foo if piping or capturing. Vidar Holen 2015-06-14 15:39:44 -07:00
  • ca37794b7c Allow empty scripts, $()s and <()s. Also improves related error messages. Vidar Holen 2015-06-14 14:30:11 -07:00
  • 8b8b48ef55 Make quoted tilde message suggest $HOME instead. Vidar Holen 2015-06-14 10:24:40 -07:00
  • aea0310a07 Added install instructions for native Windows Vidar Holen 2015-06-14 10:16:32 -07:00
  • 7fff088ce9 Don't output ansi escape codes on Windows Vidar Holen 2015-06-07 18:08:23 -07:00
  • 65ab8c8ecb Account for brace expansion in SC2115 (catastrophic rm). Vidar Holen 2015-06-07 13:02:49 -07:00
  • 3a041954d1 Don't warn about a&&b||c if c == printf Vidar Holen 2015-05-24 12:41:54 -07:00
  • 828378cdff Warn about injecting filenames into sh -c strings with find. Vidar Holen 2015-05-23 13:03:07 -07:00
  • 509cda4dcf Count mapfile/readarray as variable assignment Vidar Holen 2015-05-10 13:13:42 -07:00
  • 6076f0b1da Parse variables and subexpressions in brace expansions Vidar Holen 2015-05-10 12:49:50 -07:00
  • 1d26c280d6 Warn when failing to quote here strings. Vidar Holen 2015-05-09 12:12:11 -07:00
  • 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
  • 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