Commit graph

  • 5a6f4840ad Replace a few more occurrences of !!! with pattern matching Joseph C. Sible 2024-01-01 14:16:50 -05:00
  • 9e0fdbe431 Simplify isTransparentCommand Joseph C. Sible 2023-12-31 18:13:32 -05:00
  • b7f88ec4b7 Stop building tuples that we never look at both sides of Joseph C. Sible 2023-12-31 18:09:02 -05:00
  • 7b0589988f Implement isCondition in terms of foldr Joseph C. Sible 2023-12-31 17:21:50 -05:00
  • 71889c139a Use a case expression instead of any and take 1 Joseph C. Sible 2023-12-31 16:44:21 -05:00
  • a6984cddb0 Switch then and else to remove a not Joseph C. Sible 2023-12-31 16:40:18 -05:00
  • 3f40b688ee Simplify getStringFromParsec Joseph C. Sible 2023-12-31 16:33:34 -05:00
  • 6c81505870 Use a pattern guard instead of fromJust in checkLoopKeywordScope Joseph C. Sible 2023-12-31 16:26:03 -05:00
  • 10afe83ce3 Use getLiteralStringDef instead of rebuilding it with fromJust Joseph C. Sible 2023-12-31 16:23:45 -05:00
  • a786f996a1 Replace !!! with pattern-matching where it's easy Joseph C. Sible 2023-12-31 15:55:06 -05:00
  • 6e5b5401c6 Manually fuse elem and map in checkArrayValueUsedAsIndex Joseph C. Sible 2023-12-31 02:31:07 -05:00
  • 71c0fcb737 Manually fuse elem and map in isParentOf Joseph C. Sible 2023-12-31 02:27:52 -05:00
  • add49cda17 Make getPath return a NonEmpty Joseph C. Sible 2023-12-31 02:12:58 -05:00
  • e1ad063834 Implement getPath in terms of unfoldr Joseph C. Sible 2023-12-31 01:59:53 -05:00
  • ee41c780f4 Replace Atom reference with Pulsar Edit equivalent Otto Kekäläinen 2023-12-31 10:47:40 +08:00
  • 980e7d3ca8 Use <$> instead of >>= and return Joseph C. Sible 2023-12-30 14:49:26 -05:00
  • dedf932fe8 Use traverse instead of sequence and map Joseph C. Sible 2023-12-30 13:59:15 -05:00
  • 3bd7df955b Use a pattern match instead of null and head in checkCommand Joseph C. Sible 2023-12-29 14:18:42 -05:00
  • dab77b2c8d Implement parseEnum in terms of lookup Joseph C. Sible 2023-12-21 13:48:47 -05:00
  • f983d9ae93 Simplify functionMap and remove unnecessary partiality Joseph C. Sible 2023-12-21 13:35:22 -05:00
  • bfe4342697 Remove unnecessary partiality from check Joseph C. Sible 2023-12-19 02:30:48 -05:00
  • a47a42cb45 Remove unnecessary partiality from isAssignmentParamToCommand Joseph C. Sible 2023-12-19 02:17:59 -05:00
  • eed0174e90 Make "Unresolved scope in dependency" impossible Joseph C. Sible 2023-12-19 02:06:45 -05:00
  • 0c46b8b2d5 Use NonEmpty to remove partiality from handleCommand Joseph C. Sible 2023-12-19 01:49:04 -05:00
  • 208e38358e Use a list comprehension to remove partiality from notesForContext Joseph C. Sible 2023-12-19 01:00:20 -05:00
  • c1452e0d17 Remove unnecessary partiality from kludgeAwayQuotes Joseph C. Sible 2023-12-19 00:53:08 -05:00
  • c97abdb939 Make HereDocPending only hold the relevant pieces of a T_HereDoc instead of an arbitrary Token Joseph C. Sible 2023-12-19 00:41:12 -05:00
  • f242922a2e Use onlyLiteralString in more places Joseph C. Sible 2023-12-19 00:00:32 -05:00
  • a37803d2b8 Remove partial head function from src/ShellCheck/Formatter/CheckStyle.hs Joseph C. Sible 2023-12-18 23:57:47 -05:00
  • 09d04c4c9b
    .cabal: allow Diff-0.5 Jens Petersen 2023-12-15 22:40:48 +08:00
  • d0a65bbb3f
    Bump actions/download-artifact from 3 to 4 dependabot[bot] 2023-12-15 08:27:56 +00:00
  • 158abebdc8
    Bump actions/upload-artifact from 3 to 4 dependabot[bot] 2023-12-15 08:27:53 +00:00
  • e5028481e2 Add installation directions for winge slycordinator 2023-12-14 15:24:49 +09:00
  • 5a961371a7 Remove partial head function from src/ShellCheck/Formatter/GCC.hs Joseph C. Sible 2023-12-11 15:55:29 -05:00
  • e5208ccb50 Remove partial head function from src/ShellCheck/Formatter/JSON1.hs Joseph C. Sible 2023-12-11 15:43:35 -05:00
  • 4c1d9171b2 Remove partial head function from src/ShellCheck/Formatter/TTY.hs Joseph C. Sible 2023-12-11 15:08:39 -05:00
  • a9e7bf1950 Reparse indices after attaching here docs (fixes #2846) Vidar Holen 2023-12-10 19:13:34 -08:00
  • f2729f73cb Abuse STRIP to avoid crashes on unsupported AST nodes Vidar Holen 2023-12-10 17:57:33 -08:00
  • 175d3cc9b7
    Merge pull request #2876 from andreasabel/master Vidar Holen 2023-12-10 17:34:51 -08:00
  • 5c50b0b189 Merge branch 'grische-feature/busyboxsh-support' Vidar Holen 2023-12-10 17:15:57 -08:00
  • 74282b0a93 Recognize 'busybox' in --shell and directives. Add to doc texts. Vidar Holen 2023-12-10 17:05:29 -08:00
  • b6d4952e2e Testsuite: report which module failed the tests Andreas Abel 2023-12-06 18:41:53 +01:00
  • fdcce458c1 silence some shell expansions for busybox sh Grische 2023-11-25 15:10:44 +01:00
  • ca255fe326 silence SC3046 and SC3051 for busybox sh Grische 2023-11-25 14:04:11 +01:00
  • a3b8be82fe silence SC3048 for busybox sh Grische 2023-11-25 13:58:49 +01:00
  • ac63dc33c9 silence SC3020 for busybox sh Grische 2023-11-25 13:55:07 +01:00
  • 903421fb5d silence SC3014 for busybox sh Grische 2023-11-25 13:53:13 +01:00
  • 00ffd2db33 silence SC3010 for busybox sh Grische 2023-11-25 13:50:23 +01:00
  • 1e1045e73e make busybox sh Dash-like Grische 2023-11-25 12:52:32 +01:00
  • be8e4b2b8a add basic busybox sh support Grische 2023-11-25 12:44:46 +01:00
  • 76ac46936b
    Update install.sh Gabriel Gómez de la Torre 2023-11-25 11:03:57 -05:00
  • 7d76bc38f7
    add z for explicit gzip support Gabriel Gómez de la Torre 2023-11-25 10:59:46 -05:00
  • e3ca5c86c6
    add install sh file for multiple cases Gabriel Gómez de la Torre 2023-11-25 00:42:52 -05:00
  • a71a13c2fc
    Merge pull request #2837 from ulidtko/fix/missed-test(1)-bashisms Vidar Holen 2023-11-08 13:06:26 -08:00
  • 1aeab287e6 Add nil case that went missing in 4fd0615 Joseph C. Sible 2023-11-03 01:33:49 -04:00
  • 2a95bc6be3 Switch to getLiteralStringDef to avoid an unnecessary fromJust Joseph C. Sible 2023-10-16 20:00:31 -04:00
  • 4fd0615501 Stop using head in isLeadingNumberVar Joseph C. Sible 2023-10-16 00:55:04 -04:00
  • 8b3c37aa36 Use find instead of listToMaybe and filter Joseph C. Sible 2023-10-16 00:06:53 -04:00
  • dc2f388310 Adjust bounds to compile on 9.8 Joseph C. Sible 2023-10-14 18:12:51 -04:00
  • b3a2f44d06
    Bump actions/checkout from 3 to 4 dependabot[bot] 2023-10-09 08:37:23 +00:00
  • 99a94421ab Manually install 'hub' dependency Vidar Holen 2023-10-08 19:42:31 -07:00
  • 6a6d8e9fc4 Revert "Bump actions/checkout from 3 to 4" Vidar Holen 2023-10-08 18:52:05 -07:00
  • c9b8ad3439 Drop attoparsec/text dependencies ebuild Vidar Holen 2023-10-08 18:16:09 -07:00
  • e59fbfebda Re-add other Portage functionality Vidar Holen 2023-10-08 15:47:21 -07:00
  • 592c17e4f2
    Merge pull request #2824 from koalaman/dependabot/github_actions/actions/checkout-4 Vidar Holen 2023-10-08 14:14:25 -07:00
  • 9605396bef
    Docs: describe fixes of PR #2837 in changelog Max Ulidtko 2023-10-01 21:23:25 +02:00
  • c89ec2fd49
    Fix: do []-related bashism checks on test(1) calls too Max Ulidtko 2023-10-01 19:57:19 +02:00
  • 7810552c27 Drop root privileges in container. Joe Testa 2023-09-05 11:29:45 -04:00
  • 410ec54617
    Bump actions/checkout from 3 to 4 dependabot[bot] 2023-09-05 08:21:55 +00:00
  • ce3414eeea Move from Parameters to SystemInterface for Portage variables Vidar Holen 2023-08-27 15:35:39 -07:00
  • feebbbb096 Merge branch 'kangie' into ebuild Vidar Holen 2023-08-27 15:20:00 -07:00
  • 87ef5ae18a Merge branch 'portage' of https://github.com/Kangie/shellcheck into kangie Vidar Holen 2023-08-27 15:18:32 -07:00
  • 0138a6fafc Example plumbing for Portage variables Vidar Holen 2023-08-13 17:49:36 -07:00
  • 90d3172dfe Add a newSystemInterface to go with the rest of the new* constructors Vidar Holen 2023-08-13 16:32:53 -07:00
  • d18b2553cf
    Merge pull request #2808 from bruce-ricard/pr/dfbr Vidar Holen 2023-08-13 14:53:15 -07:00
  • dfa920c5d2
    Switch to attoparsec for gentoo scan hololeap 2023-08-05 17:38:01 -06:00
  • fc9b63fb5e
    Remove PortageAutoInternalVariables and python hololeap 2023-08-05 15:19:35 -06:00
  • 272ef819b9
    Scan for Gentoo eclass variables hololeap 2023-08-05 15:16:30 -06:00
  • 08ae7ef836
    New IO interface to scan for Gentoo eclass vars hololeap 2023-08-04 17:19:05 -06:00
  • e3d8483e49
    Rebase of chromiumos fork Matt Jolly 2023-02-28 20:30:31 +11:00
  • dd747b2a98 SC2325/SC2326: Warn about ! ! foo and foo | ! bar (fixes #2810) Vidar Holen 2023-07-30 19:18:27 -07:00
  • 9490b94886 Save and restore pending here docs when sourcing files (fixes #2803) Vidar Holen 2023-07-30 16:52:40 -07:00
  • 372c0b667e SC2324: Warn when x+=1 appends. Vidar Holen 2023-07-30 13:47:00 -07:00
  • 01aee1a859 improve short description Danny Faught 2023-07-28 14:19:54 -04:00
  • f08eedce9f
    Update CHANGELOG.md Jose pedro hurtado vega 2023-07-08 10:08:49 +06:00
  • 0ca4444e01
    Update README.md to include sonar-shellcheck Andrei Epure 2023-07-07 12:21:41 +02:00
  • d5b1a621e6
    Merge f6cd40d4f4 into c9e27c2470 Arkadiusz Bokowy 2023-06-05 22:53:02 +10:00
  • c9e27c2470
    Merge pull request #2768 from nicolas-ot/add-dependabot Vidar Holen 2023-06-04 15:40:27 -07:00
  • 4ffa9cc397
    Merge pull request #2765 from josephcsible/bracedstring Vidar Holen 2023-06-04 15:22:23 -07:00
  • b625cc1acc add dependabot.yml Nicolas Theodarus 2023-05-28 12:33:16 +02:00
  • f03c437e2f Get rid of a dangerous partial function from checkSpacefulnessCfg' Joseph C. Sible 2023-05-24 16:38:53 -04:00
  • 824c802b63
    Merge pull request #2749 from josephcsible/2734 Vidar Holen 2023-05-22 17:52:34 -07:00
  • b3932dfa10 Fix #2734: adjust bounds to compile on 9.6 Joseph C. Sible 2023-05-01 00:02:53 -04:00
  • a54965dd2c Merge branch 'ArenM-posix-read' Vidar Holen 2023-04-30 14:49:36 -07:00
  • 46b678fca8 Minor fixes to POSIX read without variable check Vidar Holen 2023-04-30 14:37:37 -07:00
  • be0d5d4163
    Merge pull request #2746 from J-M0/fish-bad-shell Vidar Holen 2023-04-30 13:31:34 -07:00
  • 5fec3f9b34 Add fish to the badShells list James Morris 2023-04-24 22:08:22 -04:00
  • 1164aa4efc Installing custom docker should no longer be necessary for buildx Vidar Holen 2023-04-23 19:35:54 -07:00
  • ff85a5a2a2 Merge branch 'felipecrs-vscode-binaries' Vidar Holen 2023-04-23 16:48:28 -07:00
  • 08b437974e Rewrite vscode-shellcheck blurb Vidar Holen 2023-04-23 16:47:49 -07:00