Commit graph

  • 58783ab3cc Allow specifying ranges in disable directives Vidar Holen 2020-09-01 16:22:15 -07:00
  • 43191fa71d Suppress SC2035 for echo * and printf * (fixes #2036) Vidar Holen 2020-09-01 14:19:28 -07:00
  • c9be7ab2eb Parse assignments according to spec (fixes #2022) Vidar Holen 2020-08-23 18:46:13 -07:00
  • fb89cdf4ad
    Merge pull request #2042 from sshine/patch-1 Vidar Holen 2020-08-23 15:57:57 -07:00
  • 9e59bcca91 Upgrade SC2169 (unsupported in dash) from warning to error (fixes #2013) Vidar Holen 2020-08-23 15:49:20 -07:00
  • a62d9f10c2 Warn when using &/| between test statements Vidar Holen 2020-08-23 15:43:33 -07:00
  • e72fbb2640
    Fix whitespace in README.md Simon Shine 2020-08-20 13:07:32 +02:00
  • 17e591233f Merge branch 'donnerpeter-supportMinusNZ' Vidar Holen 2020-08-08 15:02:07 -07:00
  • 50067ddf94 Consider variables in -z/-n tests to be checked Vidar Holen 2020-08-08 12:32:20 -07:00
  • 3fa5b7d3bd Merge branch 'supportMinusNZ' of https://github.com/donnerpeter/shellcheck into donnerpeter-supportMinusNZ Vidar Holen 2020-08-08 11:22:00 -07:00
  • 5e6d50f493 Merge branch 'Gandalf--issue_1759_mapfile_proc_substition' Vidar Holen 2020-08-07 16:41:52 -07:00
  • e779aedac3 Modernize getting mapfile array name Vidar Holen 2020-08-07 16:00:58 -07:00
  • 3ef1175566 Merge branch 'issue_1759_mapfile_proc_substition' of https://github.com/Gandalf-/shellcheck into Gandalf--issue_1759_mapfile_proc_substition Vidar Holen 2020-08-07 15:57:59 -07:00
  • 506ffa849b Merge branch 'glenjamin-patch-1' Vidar Holen 2020-08-07 15:24:45 -07:00
  • b864242caa Merge branch 'patch-1' of https://github.com/glenjamin/shellcheck into glenjamin-patch-1 Vidar Holen 2020-08-07 15:24:36 -07:00
  • 3e50a2fce8 Suppress SC2216 for du --files0-from or --exclude-from (fixes #1286) Vidar Holen 2020-08-07 14:59:34 -07:00
  • 10c2d827fa
    Merge pull request #2028 from Lin-Buo-Ren/github-issue-1643 Vidar Holen 2020-08-07 11:35:50 -07:00
  • e0e2edd525
    Merge pull request #2031 from umanwizard/patch-1 Vidar Holen 2020-08-07 11:34:36 -07:00
  • c5b6d6f027
    Update README.md Brennan Vincent 2020-08-05 10:50:14 -04:00
  • beee9b22ca Fix snap distribution unable to process scripts in Unicode(Chinese) (fixes #1643) 林博仁(Buo-ren, Lin) 2020-08-02 16:55:45 +08:00
  • 1ac2c31728 Warn when shell functions blatantly recurse (fixes #1994) Vidar Holen 2020-07-27 21:28:48 -07:00
  • cc81bdee31 Improve SC1033/SC1034 message Vidar Holen 2020-07-27 18:44:07 -07:00
  • 34885142e7 Handle tilde expansion in pattern matching (fixes #1769) Vidar Holen 2020-07-27 18:34:42 -07:00
  • 14e6806092 Handle literal linefeeds in printf format strings (fixes #2007) Vidar Holen 2020-07-25 17:36:22 -07:00
  • 5d753212fb Improve handling of command prefixes like exec/command (fixes #2008) Vidar Holen 2020-07-25 13:45:05 -07:00
  • 5b86777f9d Warn about non-POSIX case modification expansions (fixes #1977) Vidar Holen 2020-07-22 17:32:00 -07:00
  • 7a9dbc042b Re-enable Windows job Vidar Holen 2020-07-05 20:30:25 -07:00
  • 9793d94206 Remove trailing whitespace Vidar Holen 2020-07-05 20:30:18 -07:00
  • baab5b53e0 Use TravisCI workspaces Vidar Holen 2020-07-01 21:21:38 -07:00
  • 210cdcd01a Treat $x/ or $(x)/ as ./ when finding sourced files (fixes #1998) Vidar Holen 2020-06-28 17:24:07 -07:00
  • 1b884a17ea
    Merge pull request #2002 from stdedos/patch-1 Vidar Holen 2020-06-28 16:05:24 -07:00
  • b52f58473d
    Merge pull request #1999 from aureliojargas/patch-1 Vidar Holen 2020-06-28 16:04:56 -07:00
  • 376e78b631 Merge branch 'onnozweers-patch-1' Vidar Holen 2020-06-28 16:03:56 -07:00
  • 40aacc3345 Merge branch 'patch-1' of https://github.com/onnozweers/shellcheck into onnozweers-patch-1 Vidar Holen 2020-06-28 16:03:44 -07:00
  • 739eaadbf5 Warn about extra spaces between ((s in for((;;)) Vidar Holen 2020-06-28 16:01:15 -07:00
  • 6b88a341f3
    Autolink https://www.shellcheck.net/ Stavros Ntentos 2020-06-28 01:47:02 +03:00
  • a61d8a232c
    SC1102: Fix typo in error message: substition Aurelio Jargas 2020-06-26 02:13:33 +02:00
  • 12d9c1b76d Clarify that SC1090 refers to ShellCheck, not sh Vidar Holen 2020-06-24 11:50:27 -07:00
  • a2b5b6a500
    Rephrase: *Shellcheck* can't follow non-constant source Onno Zweers 2020-06-03 11:37:53 +02:00
  • 5cf2c00ff7 Warn about defining and using an alias in a single command (fixes #1807) Vidar Holen 2020-05-25 23:21:47 -07:00
  • a08ad3bee9 Count $# as an argument reference in SC2120 Vidar Holen 2020-05-08 10:19:33 -07:00
  • 417e13f129
    Merge pull request #1950 from geeseven/aur-shellcheck-bin Vidar Holen 2020-05-25 18:06:35 -07:00
  • 536cb584f4
    update dependency free AUR package geeseven 2020-05-12 14:58:15 -05:00
  • c2a15ce8e9 Allow disabling SC1072/SC1073 with annotations (fixes #1931) Vidar Holen 2020-05-03 21:52:25 -07:00
  • d6adbfde78 Improve SC2259/60/61 messages Vidar Holen 2020-05-03 21:46:16 -07:00
  • 2030b83607 Warn about duplicate uses of stdin/out/err Vidar Holen 2020-05-03 11:29:00 -07:00
  • 8aa40c43ed
    Merge pull request #1926 from scop/spelling Vidar Holen 2020-05-02 18:39:44 -07:00
  • 5a42f4b938
    Merge pull request #1927 from scop/sc-prefix Vidar Holen 2020-04-25 16:37:55 -07:00
  • a7a406c43c
    Merge pull request #1925 from josephcsible/nofromright Vidar Holen 2020-04-25 16:37:22 -07:00
  • 1d126960f3 Use SC prefix for disable= in man page Ville Skyttä 2020-04-25 08:33:10 +03:00
  • 60e80e4ce1 Spelling fixes Ville Skyttä 2020-04-25 08:29:38 +03:00
  • e0daa936d2 Revert "Use fromRight instead of reimplementing it" Joseph C. Sible 2020-04-24 22:14:08 -04:00
  • 75863a887e
    Merge pull request #1918 from josephcsible/getsuspiciousregexwildcard Vidar Holen 2020-04-12 15:32:00 -07:00
  • 413f0048b8
    Merge pull request #1917 from josephcsible/thenskip Vidar Holen 2020-04-12 15:26:36 -07:00
  • e7b5fb9742
    Merge pull request #1907 from josephcsible/formatters Vidar Holen 2020-04-12 15:23:17 -07:00
  • 30523555af
    Merge pull request #1906 from josephcsible/shellsupport Vidar Holen 2020-04-12 15:22:52 -07:00
  • 58d3e50f43
    Merge pull request #1905 from josephcsible/skiprepeating Vidar Holen 2020-04-12 15:21:39 -07:00
  • 73cc11fd0a
    Merge pull request #1901 from josephcsible/bracedstring Vidar Holen 2020-04-12 15:14:50 -07:00
  • 163c710ba7 Clean up and optimize getSuspiciousRegexWildcard Joseph C. Sible 2020-04-12 16:15:45 -04:00
  • ab1610b004
    Merge pull request #1903 from josephcsible/fixer Vidar Holen 2020-04-11 17:23:51 -07:00
  • 148468be70
    Merge pull request #1904 from josephcsible/commands Vidar Holen 2020-04-11 17:23:39 -07:00
  • 5eac721fcf
    Merge pull request #1902 from josephcsible/astlib Vidar Holen 2020-04-11 17:23:08 -07:00
  • b58bb4ba9d Move bracedString to be local to its last use site Joseph C. Sible 2020-04-05 17:26:24 -04:00
  • 999b7e2596 Get rid of bracedString everywhere it's easy to Joseph C. Sible 2020-04-05 17:20:49 -04:00
  • a9d564a8bc Combine bracedString into getSingleUnmodifiedVariable Joseph C. Sible 2020-04-05 17:19:14 -04:00
  • 8a7497c4f0 Simplify checkVariableBraces Joseph C. Sible 2020-04-05 17:07:05 -04:00
  • 1eac0d7340
    Merge pull request #1900 from josephcsible/analyzerlib Vidar Holen 2020-04-11 16:21:20 -07:00
  • f8c1ffb0dc
    Merge pull request #1898 from josephcsible/nameexpansion Vidar Holen 2020-04-11 16:18:54 -07:00
  • 3e17a20965 Simplify thenSkip, and use in another location Joseph C. Sible 2020-04-11 17:29:28 -04:00
  • 1c6202dba4 Avoid some awkward parentheses with forM_ Joseph C. Sible 2020-04-05 22:25:19 -04:00
  • 64c31d9142 Use fromRight instead of reimplementing it Joseph C. Sible 2020-04-05 22:13:39 -04:00
  • 8a6679fd8a Remove unnecessary fromMaybe and when from bashism Joseph C. Sible 2020-04-05 22:03:50 -04:00
  • facf0d1e27 Write getLiteralArgs with foldr and without fromMaybe or monads Joseph C. Sible 2020-04-05 21:59:27 -04:00
  • cd38afce26 Make it slightly lazier still (and more clear) Joseph C. Sible 2020-04-05 21:45:51 -04:00
  • 5084ba8d7e Make skipRepeating lazier and faster Joseph C. Sible 2020-04-05 21:23:34 -04:00
  • ed331b816b Simplify warnRedundant Joseph C. Sible 2020-04-05 20:32:39 -04:00
  • cfa2a663af Simplify checkSetAssignment Joseph C. Sible 2020-04-05 20:21:14 -04:00
  • df4928f4e3 Use MultiWayIf instead of case-matching on () Joseph C. Sible 2020-04-05 20:14:03 -04:00
  • 9747b1d5c3 Simplify checkArg Joseph C. Sible 2020-04-05 20:10:56 -04:00
  • fa841cb270 Prefer pattern matching in undirected Joseph C. Sible 2020-04-05 20:08:02 -04:00
  • e8501151dd Use a guard instead of unless Joseph C. Sible 2020-04-05 20:04:54 -04:00
  • 9027a9239f Use pattern matching instead of snd Joseph C. Sible 2020-04-05 20:03:17 -04:00
  • 773e98868d Use foldr in checkFindNameGlob Joseph C. Sible 2020-04-05 19:53:40 -04:00
  • d45ab327b0 Only perform the comparisons once Joseph C. Sible 2020-04-05 19:45:28 -04:00
  • 0f9b0f18a4 Remove unnecessary cases from wordToPseudoGlob Joseph C. Sible 2020-04-05 19:30:21 -04:00
  • 322842b57e Remove unnecessary monadicity from wordToPseudoGlob Joseph C. Sible 2020-04-05 19:29:40 -04:00
  • b6cff5ea0e Simplify getAssociativeArrays Joseph C. Sible 2020-04-05 19:06:16 -04:00
  • 8f105074fe Simplify getCommandNameAndToken Joseph C. Sible 2020-04-05 19:01:56 -04:00
  • d22e0aa4a7 Simplify process Joseph C. Sible 2020-04-05 16:38:52 -04:00
  • fb55072302 Implement supportsArrays with pattern-matching Joseph C. Sible 2020-04-05 16:30:59 -04:00
  • 0cc5ed4563 Don't bother with asks if you're just immediately binding the result anyway Joseph C. Sible 2020-04-05 16:25:43 -04:00
  • ca41440a67 Simplify getSpecial Joseph C. Sible 2020-04-05 16:21:07 -04:00
  • 1cf0aa25e9 Simplify dropPrefix Joseph C. Sible 2020-04-05 16:19:18 -04:00
  • 4604066c37 Use head instead of (!! 0) Joseph C. Sible 2020-04-05 16:16:12 -04:00
  • 2ebf522a52 Simplify isArrayFlag Joseph C. Sible 2020-04-05 16:07:19 -04:00
  • e4eb2d157f Remove an unnecessary operator section Joseph C. Sible 2020-04-05 16:03:49 -04:00
  • f109f9ab92 Remove unnecessary as-patterns Joseph C. Sible 2020-04-05 15:38:16 -04:00
  • 67e091674e Remove unnecessary maybeToList Joseph C. Sible 2020-04-05 15:36:10 -04:00
  • f833ee3d5a Use a list comprehension instead of a concatMap with extra lists Joseph C. Sible 2020-04-05 15:35:09 -04:00
  • f55d8c45e5 Simplify causesSubshell Joseph C. Sible 2020-04-05 15:30:28 -04:00