Commit Graph

  • fac97a5301 Don't emit SC2140 when trapped string is /, = or : (fixes #2334) Vidar Holen 2021-09-25 20:23:58 -07:00
  • ad92cb4112 Disable UUOC for cat with unquoted variable (fixes #2333) Vidar Holen 2021-09-25 19:46:27 -07:00
  • 3a296cd788 The removed check was SC1004, not SC1003 Vidar Holen 2021-09-19 12:27:16 -07:00
  • db4701d8b5 Add a setgitversion script to update the version string with git Vidar Holen 2021-09-18 19:32:12 -07:00
  • e7df718724 Strip lines containing "STRIP" from ./striptests Vidar Holen 2021-09-18 19:22:46 -07:00
  • b044f5b23a Don't trigger SC2140 on ${x+"a" "b"} (fixes #2265) Vidar Holen 2021-09-18 18:49:58 -07:00
  • 8012f6761d Suppress SC2094 when both are input redirections (fixes #2325) Vidar Holen 2021-09-18 17:59:30 -07:00
  • 2536507060 Remove SC1004 (fixes #2326) Vidar Holen 2021-09-18 17:43:55 -07:00
  • 09aa15c9b7 Allow disable=all to disable all warnings (fixes #2323) Vidar Holen 2021-09-18 12:50:01 -07:00
  • 9a54e91195
    Merge pull request #2318 from FabianWolff/grep-lL-wc-l Vidar Holen 2021-09-16 19:40:40 -07:00
  • 4e703e5c61 Allow specifying external-sources=true in shellcheckrc (fixes #1818) Vidar Holen 2021-09-15 18:02:37 -07:00
  • 64733cc110
    Merge pull request #2303 from DoxasticFox/set-e-functions Vidar Holen 2021-09-04 17:06:24 -04:00
  • dc9032fca5 Show info about set -e suppression during function calls Christian Nassif-Haynes 2021-08-23 03:27:40 +10:00
  • 40216487d6 Do not suggest grep -c as a replacement for grep -l/-L | wc -l Fabian Wolff 2021-09-02 17:47:06 +02:00
  • 747bd8fd6a Warn about strings for numerical operators in [[ ]] (fixes #2312) Vidar Holen 2021-08-30 19:50:00 -07:00
  • f5fd9c2fed Improve warnings about unnecessary subshells (fixes #2169) Vidar Holen 2021-08-30 10:56:55 -07:00
  • 10817533d6 Add shellcheck-precommit hook to README.md Vidar Holen 2021-08-29 17:08:09 -07:00
  • b5da99c6b0 Add pre-commit instructions Vidar Holen 2021-08-29 12:28:58 -07:00
  • b0f05018c1 Revert "Allow running this repo as a pre-commit hook" Vidar Holen 2021-08-29 12:12:08 -07:00
  • 9d64d78c32 Allow running this repo as a pre-commit hook Vidar Holen 2021-08-28 21:19:45 -07:00
  • 081f7eba24 Fix parsing of [$var] (fixes #2309) Vidar Holen 2021-08-26 23:05:14 -07:00
  • ecacc2e9bb
    Merge pull request #2307 from a1346054/fixes Vidar Holen 2021-08-26 19:46:16 -07:00
  • 81b7ee5598 Don't warn about unused variables starting with _ (fixes #1498) Vidar Holen 2021-08-26 19:40:21 -07:00
  • c85ce2cb06 Add rg to list of commands ignored for SC2016 (fixes #2209) Vidar Holen 2021-08-26 18:50:40 -07:00
  • 98c7934c46 Remove trailing whitespace a1346054 2021-08-25 16:17:56 +00:00
  • 7384cec3f6 Fix redirect in LICENSE file a1346054 2021-08-25 14:15:36 +00:00
  • 5b6fd60279 Improve warnings for expr (fixes #2033) Vidar Holen 2021-08-22 11:55:01 -07:00
  • da7b28213e Recognize wait -p as assigning a variable (fixes #2179) Vidar Holen 2021-08-17 21:53:27 -07:00
  • c61fc7546e Don't warn about variables guarded with :+ (fixes #2296) Vidar Holen 2021-08-17 14:14:05 -07:00
  • 8c0bf8d41f Warn about looping over array values and using them as keys Vidar Holen 2021-08-17 12:50:40 -07:00
  • bb0a571a1e Improve warnings for bad parameter expansion (fixes #2297) Vidar Holen 2021-08-16 20:56:51 -07:00
  • fed4a048bc Suppress SC2167 when name is "_" (fixes #2298) Vidar Holen 2021-08-13 23:11:20 -07:00
  • e5745568e8 Extend warnings about spaces around = to 'let' Vidar Holen 2021-08-08 15:48:50 -07:00
  • 4dd762253f Remove defunct SonarQube plugin link (fixes #2292) Vidar Holen 2021-08-03 13:52:06 -07:00
  • 378c9a2f2c
    Switch build status badge from TravisCI to GitHub Vidar Holen 2021-08-03 13:45:09 -07:00
  • cf8066c07c SC2295 Warn about unquoted variables in PE patterns (fixes #2290) Vidar Holen 2021-08-03 12:54:03 -07:00
  • 9b61506e0b
    Merge pull request #2289 from nafigator/master Vidar Holen 2021-08-03 10:13:55 -07:00
  • 2f61b17518
    Review fixes in README Yancharuk Alexander 2021-08-02 19:09:24 +03:00
  • b939f86331
    Minor changes in README Yancharuk Alexander 2021-07-31 06:24:20 +03:00
  • a44f3edb14 Warn about eval'ing arrays Vidar Holen 2021-07-30 18:46:19 -07:00
  • e33146d530 Avoid trigger SC2181 on composite $? checks (fixes #1167) Vidar Holen 2021-07-29 20:51:19 -07:00
  • fe81dc1c27 Optionally suggest [[ over [ in Bash scripts (-o require-double-brackets) (fixes #887) Vidar Holen 2021-07-27 18:53:30 -07:00
  • fbc8d2cb2f Don't consider [ -n/-z/-v $var ] assignments for subshell modification (fixes #2217) Vidar Holen 2021-07-26 20:48:47 -07:00
  • c471e45822 Allow printf/return/assignments after exec (fixes #2249) Vidar Holen 2021-07-26 19:32:33 -07:00
  • 754ab22d94 Warn about unquoted blanks in echo (fixes #377) Vidar Holen 2021-07-26 18:29:55 -07:00
  • 4956b006ac Fix broken test from previous commit Vidar Holen 2021-07-25 19:56:51 -07:00
  • 02e07625d1 Warn about quoting in assignments to sh declaration utilities (fixes #1556) Vidar Holen 2021-07-25 19:27:35 -07:00
  • 44471b73cc Have SC2155 trigger on 'typeset' as well (fixes #2262) Vidar Holen 2021-07-25 17:31:13 -07:00
  • 364c33395e Don't print colors when $TERM is 'dumb' or unset (fixes #2260) Vidar Holen 2021-07-25 14:41:49 -07:00
  • 0d58337cdd Don't warn about repeated range in [[ -v arr[xxx] ]] (fixes #2285) Vidar Holen 2021-07-25 12:59:56 -07:00
  • 9eb63c97e6 Re-add warnings about 'declare var = value' (fixes #2279) Vidar Holen 2021-07-24 13:07:05 -07:00
  • 8be60028ef Don't warn when line starts with &> (fixes #2281) Vidar Holen 2021-07-22 19:25:48 -07:00
  • 9b077e28cb Add :/. to chars recognized for \alias suppression (fixes #2287) Vidar Holen 2021-07-21 16:44:21 -07:00
  • 99f6554c9b SC2181: Add '!' in suggestion as appropriate (fixes #2189) Vidar Holen 2021-07-18 16:59:45 -07:00
  • 163629825f
    Merge pull request #2234 from juhp/patch-1 Vidar Holen 2021-07-18 15:47:26 -07:00
  • 022bc8277c
    Merge pull request #2238 from bcran/legacy-backticks-msg Vidar Holen 2021-07-02 09:55:18 -07:00
  • 5e60f1eddb
    Merge pull request #2241 from Kamilcuk/master Vidar Holen 2021-07-02 09:54:51 -07:00
  • 163b2f12e2 Sanity check command names (fixes #2227) Vidar Holen 2021-06-05 18:16:22 -07:00
  • 5100960303 Add a comma to function characters Kamil Cukrowski 2021-05-26 10:58:38 +02:00
  • b61a7658d6 Fix typo in SC2006 message: "backticked" vs "backticks" Rebecca Cran 2021-05-24 13:33:50 -06:00
  • ab369a35c9 move readme to extra-doc-files and add changelog to releases Jens Petersen 2021-05-18 11:06:12 +08:00
  • 331e89be99 Fix bad warning for ${#arr[*]}. Fixes #2218. Vidar Holen 2021-04-26 10:33:36 -07:00
  • fe25a2b00e Treat ${arr[*]} like $* for SC2048 Vidar Holen 2021-04-24 17:08:10 -07:00
  • 9e60b3ea84 Fix haddock failures (fixes #2216) Vidar Holen 2021-04-22 22:17:51 -07:00
  • d47f3ff986 Add wait between GitHub and Docker to allow replication Vidar Holen 2021-04-19 22:46:35 -07:00
  • 2f26600653 Update Cabal version for Hackage Vidar Holen 2021-04-19 17:19:21 -07:00
  • aaa3554720 Post-release CHANGELOG update Vidar Holen 2021-04-19 16:40:25 -07:00
  • cff3e22911 Stable version v0.7.2 v0.7.2 Vidar Holen 2021-04-19 14:31:13 -07:00
  • 5669eb2203 Make x-comparison warning default Vidar Holen 2021-04-11 15:52:13 -07:00
  • b68df1882d
    Merge pull request #2181 from matthiasdiener/patch-1 Vidar Holen 2021-03-31 20:03:23 -07:00
  • 087865c680
    Clarify 'which' Matthias Diener 2021-03-20 20:43:18 -05:00
  • 19c6f22c3f Merge branch 'm-ildefons-comment-backslash' Vidar Holen 2021-03-20 18:13:50 -07:00
  • 98952df35b Improve warnings on backslashes in comments Vidar Holen 2021-03-20 13:58:37 -07:00
  • a277efdbb1 Merge branch 'comment-backslash' of https://github.com/m-ildefons/shellcheck into m-ildefons-comment-backslash Vidar Holen 2021-03-20 13:34:40 -07:00
  • 45687b0548
    Merge pull request #2166 from avoidik/patch-1 Vidar Holen 2021-03-20 13:31:04 -07:00
  • ecdc21b0b7
    Merge pull request #2112 from pepeiborra/patch-1 Vidar Holen 2021-03-14 13:16:29 -07:00
  • 4eb42fa3c1 Merge branch 'austin987-busybox' Vidar Holen 2021-03-14 13:02:41 -07:00
  • f02c297fdd Merge parser and analyzer shebang parsing Vidar Holen 2021-03-11 23:04:17 -08:00
  • ea83b602d7 Merge branch 'busybox' of https://github.com/austin987/shellcheck into austin987-busybox Vidar Holen 2021-03-11 21:44:17 -08:00
  • 88cd21fd0f Fix missing +x with new cabal and use previous release deps for caching Vidar Holen 2021-02-22 21:28:14 -08:00
  • 83435c4f2e
    Merge pull request #2134 from kolyshkin/podman-sc2016 Vidar Holen 2021-03-07 20:48:58 -08:00
  • 4324b4a213
    Merge pull request #2122 from freddii/master Vidar Holen 2021-03-07 20:48:24 -08:00
  • a69d6cb661
    Merge pull request #2117 from brother/patch-1 Vidar Holen 2021-03-07 20:47:53 -08:00
  • 8442695b73
    suppress ntlm error messages in Windows build Viacheslav Vasilyev 2021-03-06 14:19:08 +02:00
  • 4f5dc7094b ppc64le build producing 50MB executables ppc64le Vidar Holen 2021-02-23 18:28:56 -08:00
  • 670c1de01b
    Merge pull request #2145 from avdv/fix-2143 Vidar Holen 2021-02-22 21:00:04 -08:00
  • b9b6975bfa Brand New Build! Vidar Holen 2021-02-11 17:18:43 -08:00
  • d6bb8fc0d8 Error on backslash in comment #2132 Moritz Röhrich 2021-02-14 19:13:29 +01:00
  • 8bb5e01401 Allow env to have flags and variables in shebang Claudio Bley 2021-02-12 10:44:18 +01:00
  • 2e59eba6eb add support for /bin/busybox sh shebang Austin English 2021-02-05 19:56:44 -06:00
  • 15ff87cf80
    Merge pull request #2119 from josephcsible/refactors Vidar Holen 2021-02-02 18:14:27 -08:00
  • 99e9d5c54b Whitelist podman for SC2016 about '$var' Kir Kolyshkin 2021-01-27 16:21:44 -08:00
  • dff8f9492a Improve SC2283 message and position Vidar Holen 2021-01-05 10:07:39 -08:00
  • c5756760cb fixed typing mistakes in changelog freddii 2021-01-05 14:08:03 +01:00
  • 2e5c56b270 Parse heredocs correctly with carriage returns (fixes #2103) Vidar Holen 2020-12-31 13:19:14 -08:00
  • 9584266a8b Escape control characters when adding user data to messages Vidar Holen 2020-12-31 12:28:48 -08:00
  • 5fbaae2bb3 Don't treat ${!x@} as reference of x (fixes #2116) Vidar Holen 2020-12-30 20:55:18 -08:00
  • fbb14d6b38 Improve checks for = in command names (fixes #2102) Vidar Holen 2020-12-30 19:24:14 -08:00
  • 2cfd1f2714 Fuse maps Joseph C. Sible 2020-12-28 18:10:47 -05:00
  • 953d9bc56d Remove unused helper stub Joseph C. Sible 2020-12-28 18:05:55 -05:00