Commit Graph

  • 14056a7f3a Don't suggest pgrep for ps -p .. | grep (fixes #2597) Vidar Holen 2022-10-12 20:20:59 -07:00
  • a524929b69 Remove outdated test Vidar Holen 2022-10-12 20:21:48 -07:00
  • fa7943ac0e Revert "Add employer mandated disclaimer" Vidar Holen 2022-10-11 20:10:34 -07:00
  • 81c2ecaccb Remove true/false from SC2216/SC2217 (fixes #2603) Vidar Holen 2022-10-11 19:40:29 -07:00
  • fcba462a99
    Merge pull request #2602 from DoxasticFox/issue-2550 Vidar Holen 2022-10-09 11:55:39 -07:00
  • 43aca62ca7 Fix false positive for SC2312 when using time Christian Nassif-Haynes 2022-10-09 07:59:05 +11:00
  • 128351f5ef Permit colon after exec Peter Oliver 2022-10-07 17:02:31 +01:00
  • d71d6ff294
    Merge pull request #2581 from larryv/updatebashvars Vidar Holen 2022-09-25 11:24:45 -07:00
  • bd65b67578
    Merge pull request #2586 from DoxasticFox/issue-2537 Vidar Holen 2022-09-25 11:04:30 -07:00
  • 149b4dbd6f
    Merge pull request #2588 from DoxasticFox/issue-2563 Vidar Holen 2022-09-25 11:03:45 -07:00
  • ef5f9a7af5 Add mapfile to harmless commands for SC2094 Christian Nassif-Haynes 2022-09-25 03:04:20 +10:00
  • 581981ba76 Suppress SC2311 with set -o posix Christian Nassif-Haynes 2022-09-24 07:20:48 +10:00
  • fcc473e27f Include inherited env for DFA of leftover functions (fixes #2560) Vidar Holen 2022-09-21 18:11:18 -07:00
  • 0845b81183
    Add READLINE_POINT to list of variables without spaces Lawrence Velázquez 2022-09-20 20:00:23 -04:00
  • 966fb3e3dd
    Recognize more Bash internal variables Lawrence Velázquez 2022-09-20 19:12:05 -04:00
  • f28462b01c
    Remove duplicate "COPROC" from internal vars list Lawrence Velázquez 2022-09-20 19:10:39 -04:00
  • ccab132b38
    Reflow lists of internal shell variables Lawrence Velázquez 2022-09-20 17:36:46 -04:00
  • 4806719035 Handle variable assignments from read in CFG Vidar Holen 2022-08-02 15:47:59 -07:00
  • 0df9345142 Trace numerical status, use for SC2071 (ref #2541) Vidar Holen 2022-08-02 11:25:35 -07:00
  • 77069f7445 Store postdominators as Array Node [Node] for a significant win Vidar Holen 2022-07-29 21:05:33 -07:00
  • 04db46381f Use Data.Map.Strict instead for a ~15% parsing speedup Vidar Holen 2022-07-28 19:00:03 -07:00
  • c76b8d9a32 Let annotations take effect earlier (fixes #2534) Vidar Holen 2022-07-28 09:37:23 -07:00
  • d0dd81e1fa Allow quoting values in directives (fixes #2517) Vidar Holen 2022-07-28 08:56:44 -07:00
  • f440912279 Refactor to not generate Parameters twice Vidar Holen 2022-07-27 19:47:37 -07:00
  • 3ce310e939 Plug space leaks when processing multiple files Vidar Holen 2022-07-27 14:25:19 -07:00
  • a30ac402eb Don't use & for updates as result is unspecified Vidar Holen 2022-07-27 11:29:55 -07:00
  • 4a27c9a8d5 Fix overlap check Vidar Holen 2022-07-26 15:33:25 -07:00
  • b5f5e6347d Discard next rather than existing fixes when they overlap Vidar Holen 2022-07-26 10:42:01 -07:00
  • c57e447c89 Correctly discard overlapping fixes in diff output (fixes #2370) Vidar Holen 2022-07-26 09:46:07 -07:00
  • e9784fa9a7 Refine #2544 to not warn when $? postdominates [ ] (fixes #2544) Vidar Holen 2022-07-25 11:57:04 -07:00
  • f1148b8b41 Include postdominators in CFGResult Vidar Holen 2022-07-25 10:00:50 -07:00
  • 982681fc05 Add unit test to ensure SC2321 does not trigger on associative arrays Vidar Holen 2022-07-24 14:30:31 -07:00
  • 52dac51cd4 SC2323: Warn about redundant parens in a[(x+1)] and $(( ((x)) )) (ref: #1666) Vidar Holen 2022-07-24 14:06:01 -07:00
  • 30bb0e0093 SC2321: Warn about redundant $(()) in arr[$((i))]=x (ref: #1666) Vidar Holen 2022-07-23 20:10:58 -07:00
  • d1d574c091 Merge branch 'ygeyzel-grammer_fix_sc2183' Vidar Holen 2022-07-23 15:39:26 -07:00
  • ea4e0091c7 Additionally pluralize 'arguments' in SC2183 Vidar Holen 2022-07-23 15:38:42 -07:00
  • 81d9f7e640 Merge branch 'grammer_fix_sc2183' of https://github.com/ygeyzel/shellcheck into ygeyzel-grammer_fix_sc2183 Vidar Holen 2022-07-23 15:34:22 -07:00
  • 69469c3603
    Merge pull request #2543 from ygeyzel/SC2028-escape-chars Vidar Holen 2022-07-23 15:30:00 -07:00
  • 5cf6e01ce9 Warn when $? refers to echo or condition (ref #2541) Vidar Holen 2022-07-23 09:38:58 -07:00
  • f7857028f7 Add escape characters to SC2028: \a, \b, \e, \f, \v, \\, \', \OOO, \xHH ygeyzel 2022-07-23 19:24:16 +03:00
  • b261ec24f9 Include exit codes in DFA (ref #2541) Vidar Holen 2022-07-22 20:16:01 -07:00
  • 819470fa1d Omit SC3021 about >& file unless definitely non-numeric (fixes #2520) Vidar Holen 2022-07-22 17:06:24 -07:00
  • 2f28847b08 Normalize spaces around = in unit tests Vidar Holen 2022-07-22 16:35:14 -07:00
  • e47480e93a Also emit SC2004 for array indices (fixes #1666) Vidar Holen 2022-07-22 16:28:24 -07:00
  • 9caeec104b SC2318: Warn about backreferencing in declare x=1 y=$x (fixes #1653) Vidar Holen 2022-07-22 11:25:07 -07:00
  • 95b3cbf071 Qualify Data.Map as M instead of tedious Map Vidar Holen 2022-07-22 11:11:09 -07:00
  • e7f05d662a In addition to start/end, track sets of nodes belonging to tokens Vidar Holen 2022-07-22 10:29:19 -07:00
  • 3ee4419ef4 Suppress SC2086 for variables declared -i (ref #2541) Vidar Holen 2022-07-21 15:06:05 -07:00
  • 8dc0fdb4cc Precompile new fgl dependency on armv6hf Vidar Holen 2022-07-20 12:43:28 -07:00
  • da4885a71d Use DFA for SC2086 Vidar Holen 2022-07-19 14:33:00 -07:00
  • 642ad86125 Add SC2317 warning about unreachable commands Vidar Holen 2022-07-19 14:33:00 -07:00
  • f77a545282 Control Flow Graph / Data Flow Analysis support Vidar Holen 2022-07-19 14:23:27 -07:00
  • 7946bf5657 Upgrade cURL for Windows build image Vidar Holen 2022-07-19 21:40:03 -07:00
  • cc04b40119 Freeze macOS dependency by sha256 Vidar Holen 2022-07-19 18:22:11 -07:00
  • c3bce51de3 Allow text to build on Fedora by installing dependencies Vidar Holen 2022-07-19 17:45:54 -07:00
  • a4042f7523 Parse &&/|| as left-associative Vidar Holen 2022-07-18 22:12:31 -07:00
  • 363c0633e0 When reparsing array indices, do it recursively Vidar Holen 2022-02-11 17:17:04 -08:00
  • 7ceb1f1519 SC2183 grammer fix: 'variable' instead of 'variables' if only one variable ygeyzel 2022-07-17 21:46:42 +03:00
  • f1bdda54cb
    Merge pull request #2500 from Fdawgs/patch-1 Vidar Holen 2022-05-20 20:36:36 -07:00
  • 9aa4c22aa6
    ci: update github actions Frazer Smith 2022-05-16 06:56:46 +00:00
  • 399c04cc17 Mention SC2316 in changelog Vidar Holen 2022-05-06 10:11:52 -07:00
  • fd595d1058 Only trigger SC2316 on unquoted words. Vidar Holen 2022-05-06 10:06:12 -07:00
  • 7c44e1060f Merge branch 'patrickxia-master' Vidar Holen 2022-05-06 09:50:08 -07:00
  • 2821552688 Fix bug in 2126 when using after/before flags with grep Rune Juhl Jacobsen 2021-12-14 16:00:47 +01:00
  • 2034e3886e
    Merge pull request #2414 from runejuhl/fix-grep-after-before Vidar Holen 2022-05-06 09:15:04 -07:00
  • fa15c0a454 add SC2316: error on multiple declarations like 'readonly local' Patrick Xia 2022-05-05 16:09:02 -07:00
  • 88cdb4e2c9 Warn about spaces around = in alias (fixes #2442) Vidar Holen 2022-02-03 19:23:46 -08:00
  • 2292e852e5 Switch linux-x86_64 build from Ubuntu to Alpine for musl Vidar Holen 2022-01-23 14:23:56 -08:00
  • ade2bf7b87 Allow parsing [[ x = ["$y"] ]] (fixes #2165) Vidar Holen 2022-01-09 16:50:50 -08:00
  • e6e558946c Improve decoding of single quoted literals (fixes #2418) Vidar Holen 2021-12-21 14:07:46 -08:00
  • 3a118246ef
    Fix bug in 2126 when using after/before flags with grep Rune Juhl Jacobsen 2021-12-14 16:00:47 +01:00
  • dd626686c4
    Merge pull request #2375 from scop/spelling Vidar Holen 2021-12-05 14:27:08 -08:00
  • 866cbd0aa4 Merge branch 'tmp' Vidar Holen 2021-12-04 17:37:25 -08:00
  • d7971dafd1 Minor formatting fixes Vidar Holen 2021-12-04 17:37:12 -08:00
  • 9092080a84 bats: Add check for useless negation (SC2314/15) Martin Schulze 2021-11-15 11:49:36 +01:00
  • 499c99372e Rewrite SC2032 warning and mention line number (fixes #2353) Vidar Holen 2021-11-14 21:34:21 -08:00
  • d9a9d5db86 Mark prefix/postfix inc/dec as integers (fixes #2376) Vidar Holen 2021-11-14 16:39:32 -08:00
  • c5de58ae84 Comment spelling fixes Ville Skyttä 2021-11-13 12:50:53 +02:00
  • 4c186c20b9 Post-release CHANGELOG update Vidar Holen 2021-11-06 23:18:19 -07:00
  • e5ad4cf420 Stable version 0.8.0 v0.8.0 Vidar Holen 2021-11-06 19:08:58 -07:00
  • eea823e3d0 Fix bad version on stable releases Vidar Holen 2021-11-06 22:05:19 -07:00
  • 3b6972fbf1 Update copyright years Vidar Holen 2021-11-06 19:07:34 -07:00
  • 14a38b94cc Update stack resolver Vidar Holen 2021-11-06 18:59:24 -07:00
  • 71f1db6609 Update distro tests Vidar Holen 2021-11-06 18:21:11 -07:00
  • bcca66eb6b Update release checklist Vidar Holen 2021-11-06 15:46:19 -07:00
  • 8db220ae43 Include local -r in check-extra-masked-returns (fixes #2362) Vidar Holen 2021-11-06 15:37:59 -07:00
  • efd49e486f Consider all forms of TA_Assignment to remove spaces (fixes #2364) Vidar Holen 2021-10-30 17:47:30 -07:00
  • 0dd5c67bdf Warn about [^..] in Dash (fixes #2361) Vidar Holen 2021-10-21 20:58:14 -07:00
  • 290fc8b945 Have quickscripts search for relevant paths (fixes #2286) Vidar Holen 2021-10-15 18:03:05 -07:00
  • 7b2092b3cd Give more examples of what ShellCheck looks for Vidar Holen 2021-10-15 15:29:52 -07:00
  • 788aee1b7c Treat typeset similar to declare (fixes #2354) Vidar Holen 2021-10-15 14:39:30 -07:00
  • 0d128dd918 Mention known incompatibilities in man page Vidar Holen 2021-10-15 12:06:33 -07:00
  • c3aaa27540 Skip SC2214 if variable is modified in loop (fixes #2351) Vidar Holen 2021-10-09 12:13:41 -07:00
  • 3aedda766d For while getopts; do case .. checks, make sure variable matches Vidar Holen 2021-10-09 11:40:52 -07:00
  • 205ba429b3 Warn about read foo[i] expanding as glob (fixes #2345) Vidar Holen 2021-10-07 18:50:44 -07:00
  • 05bdeae3ab Mention require-double-brackets in CHANGELOG Vidar Holen 2021-10-07 17:26:08 -07:00
  • 38251abe26 Add suggestion level in text for TTY output (fixes #2339) Vidar Holen 2021-10-07 17:14:41 -07:00
  • 6f7eee4a27 Mention check-extra-masked-returns in changelog Vidar Holen 2021-10-02 12:58:28 -07:00
  • 23cddb037e
    Merge pull request #2320 from DoxasticFox/set-e-proc-sub Vidar Holen 2021-10-02 12:52:59 -07:00
  • 093df8cb24 Add extra checks for masked return codes Christian Nassif-Haynes 2021-09-06 05:52:34 +10:00