Commit Graph

  • 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
  • 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
  • 52d4efc951 Merge pull request #168 from rodrigosetti/hlint koalaman 2014-05-31 16:07:51 -07:00
  • 5dac723593 Collection of HLint fixes Rodrigo Setti 2014-05-30 02:01:03 +00:00
  • 2364fd58b6 Merge pull request #166 from rodrigosetti/better-gitignore koalaman 2014-05-31 10:42:17 -07:00
  • cde364c97b Updated README with new cabal instructions Vidar Holen 2014-05-31 10:40:45 -07:00
  • 98b790f87a Removed outdated version comment Vidar Holen 2014-05-31 10:16:11 -07:00
  • 726a4e5848 Merge branch 'cabal-version' of https://github.com/rodrigosetti/shellcheck into rodrigosetti-cabal-version Vidar Holen 2014-05-31 09:55:07 -07:00
  • 0a9ed917e7 Test Suite in Cabal (cabal test) Rodrigo Setti 2014-05-31 01:30:23 +00:00
  • b10d31c8b7 Stable version 0.3.3 v0.3.3 Vidar Holen 2014-05-29 21:01:34 -07:00
  • 133c779701 Also check nested ifs for ssh/ffmpeg in read loops Vidar Holen 2014-05-29 20:55:38 -07:00
  • b18ee3fdef Using a more complete Haskell .gitignore Rodrigo Setti 2014-05-30 00:10:21 +00:00
  • 3fcc6c44d8 Use version from generated cabal Paths module Rodrigo Setti 2014-05-30 00:08:09 +00:00
  • d830a36bc8 Check for globs in test, e.g. [[ -e file* ]] Vidar Holen 2014-05-25 12:04:18 -07:00
  • 1af23fd131 Fix SC2051 to only warn about 1..$n and not 1,$n Vidar Holen 2014-05-25 11:41:24 -07:00
  • d21b3362b2 Don't warn about splitting in select statements Vidar Holen 2014-05-17 12:06:04 -07:00
  • 6cd454e88b Suggest grep -q instead of [ "$(.. | grep)" ] Vidar Holen 2014-05-17 10:56:36 -07:00
  • 0b5f6b9762 Warn about aliases referencing $1/$*/$@ Vidar Holen 2014-05-17 09:26:53 -07:00
  • 3824e9cfc2 Fixed not recognizing --f=* as option in checkGrepRe Vidar Holen 2014-05-15 09:14:57 -07:00
  • fdce0116da Fix parsing {} in regex Vidar Holen 2014-05-13 19:20:34 -07:00
  • b069f7ed27 Added a shellcheck-static Makefile target Vidar Holen 2014-05-11 13:58:56 -07:00
  • c4181d45d2 Warn about suspicious IFS, such as IFS="\n" Vidar Holen 2014-05-10 15:37:02 -07:00
  • 680f838c63 Warn about literal, unquoted {/} Vidar Holen 2014-05-10 14:07:53 -07:00
  • e6d81ca7b7 Warn about using numerical test operators with strings Vidar Holen 2014-05-10 12:37:02 -07:00
  • fd909eeca0 Fix parsing of &;; in case statements Vidar Holen 2014-05-10 11:29:30 -07:00
  • deab146fab Don't warn about &&+|| when used with return Vidar Holen 2014-05-09 18:08:55 -07:00
  • f9aeabc245 Improved error messages for SC2044/SC2045 Vidar Holen 2014-05-08 19:38:40 -07:00
  • 558d8ffc6c Warn about suspiciously unquoted literal parts like "var="value"" Vidar Holen 2014-05-07 21:47:27 -07:00
  • e96c4c3ffa Warn about aliases that expand at define time Vidar Holen 2014-05-07 20:14:21 -07:00
  • c566efd442 Warn about UTF-8 BOMs in scripts. Vidar Holen 2014-05-03 10:37:12 -07:00
  • 47c220d59c Removed noisy SC1000 about unescaped $s Vidar Holen 2014-05-03 10:19:01 -07:00
  • 4bd902c5c4 Suggested updating cabal-install in the readme Vidar Holen 2014-05-03 10:13:36 -07:00
  • 033ce6d941 Allow zsh =(..) process substitution Vidar Holen 2014-05-02 20:36:38 -07:00
  • 6ad3f557fe Don't warn about sed '$s/foo/bar/' Vidar Holen 2014-04-19 12:29:49 -07:00
  • d0bad6c057 Suggest grouping redirections when appending on 3+ lines Vidar Holen 2014-04-19 11:53:54 -07:00
  • 58c362f97c Warn about foo=(bar baz); echo $foo Vidar Holen 2014-04-19 10:20:24 -07:00
  • 5f568dd207 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-04-19 08:52:57 -07:00
  • 2c1e414ac5 Only get vars after the last option in read Vidar Holen 2014-04-19 08:50:47 -07:00
  • 6699109ab8 Merge pull request #139 from MichaelPereira/patch-1 koalaman 2014-04-17 12:14:38 -07:00
  • 423ca82296 Add pandoc to needed dependencies Michael Pereira 2014-04-17 15:08:37 -04:00
  • 0a263579e0 Support for zsh short form for loops and anonymous functions Vidar Holen 2014-04-13 13:37:37 -07:00
  • d63406abe4 Prevent SC2101 to collide with 2060 for tr -d [:space:] Vidar Holen 2014-04-12 16:43:57 -07:00
  • 81956d324d Don't warn when single quoting PROMPT_COMMAND and PS1 Vidar Holen 2014-04-05 17:08:03 -07:00
  • f549aad809 Suggest grep -c for grep|wc Vidar Holen 2014-04-05 16:53:09 -07:00
  • f9f965693d Don't warn about single quoting $0 for xprop Vidar Holen 2014-04-05 16:32:59 -07:00
  • 727d940e10 Don't warn about expr when using <, > and friends Vidar Holen 2014-04-05 16:29:35 -07:00
  • c26c2b8536 Stop using generic char 'c' in 2022 Vidar Holen 2014-04-05 16:17:52 -07:00
  • d8878ed852 Fixed warnings when assigning arrays to scalars Vidar Holen 2014-04-05 14:56:12 -07:00
  • c3cc5f649f Fixed warning about \n in echo -n -e '\n' Vidar Holen 2014-04-05 12:49:24 -07:00
  • 8bd4365cdb Merge pull request #122 from guywithnose/master koalaman 2014-04-05 11:40:46 -07:00
  • a00a6fb53b Merge pull request #125 from inthecloud247/master koalaman 2014-04-01 17:59:48 -07:00
  • 3332eba9a0 Instructions for adding ShellCheck to PATH John Albietz 2014-04-01 14:26:03 -07:00
  • ad08bb64aa Add cabal update to install instructions guywithnose 2014-04-01 11:48:09 -04:00
  • f01e6e1a99 Check for accidentally overriding $PATH Vidar Holen 2014-03-29 10:07:23 -07:00
  • de0145fb29 Stable version 0.3.2 v0.3.2 Vidar Holen 2014-03-22 11:05:27 -07:00
  • 0d4ae95e1d Recognize declare -x as exporting variables Vidar Holen 2014-03-22 10:43:56 -07:00
  • 50db49e2fb Rename Unquotable to QuoteFree Vidar Holen 2014-03-22 10:27:59 -07:00
  • 60aafae21d Count array indexes as references, even without $ Vidar Holen 2014-03-22 10:22:34 -07:00
  • 902cb9c303 Fixed up README Vidar Holen 2014-03-19 09:57:01 -07:00
  • 4f1fd43360 Don't suggest removing $ in (( 10#$n )) Vidar Holen 2014-03-16 15:06:18 -07:00
  • ca5af5c55a Don't warn about decimals in (( )) for zsh/ksh Vidar Holen 2014-03-16 14:56:23 -07:00
  • 503cac3bb3 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-03-16 14:53:18 -07:00