Commit Graph

  • e272fa04ee Remove redundant bind and return Joseph C. Sible 2020-12-28 18:04:32 -05:00
  • 81e84c2939 Use execState instead of snd . runState Joseph C. Sible 2020-12-28 18:03:14 -05:00
  • 34939ca0b7 Fuse map into any Joseph C. Sible 2020-12-28 18:00:14 -05:00
  • e7820479f0 Use find Joseph C. Sible 2020-12-28 17:56:25 -05:00
  • 8480563672 Use syntactic sugar instead of building lists by hand Joseph C. Sible 2020-12-28 17:55:54 -05:00
  • dfbcc9595e Use mapM instead of reimplementing it Joseph C. Sible 2020-12-28 17:48:58 -05:00
  • 2c0766825e Implement groupByLink in terms of foldr Joseph C. Sible 2020-12-28 17:45:11 -05:00
  • cb4f4e7edc Use mapM_ instead of reimplementing it Joseph C. Sible 2020-12-28 17:34:52 -05:00
  • 0607039d41 Simplify actualArgs Joseph C. Sible 2020-12-28 17:21:47 -05:00
  • 46f177b5be Simplify parseArgs Joseph C. Sible 2020-12-28 17:14:18 -05:00
  • eaccd3d02c Simplify parser Joseph C. Sible 2020-12-28 16:32:10 -05:00
  • 35033a9f2f Remove unnecessary use of Maybe from shellFor Joseph C. Sible 2020-12-28 16:22:53 -05:00
  • 19355226e1
    Change error 2076 to a warning. Martin Bagge / brother 2020-12-27 00:27:36 +01:00
  • 4e7e3f9456
    Add Haddock markup to SystemInterface Pepe Iborra 2020-12-22 09:15:57 +00:00
  • bd3299edd3 Treat 'exec $1' like '$1' for the purpose of quoting (fixes #2068) Vidar Holen 2020-12-17 20:30:39 -08:00
  • cc3884cf9f Support env -S/--split-string in shebangs (fixes #2105) Vidar Holen 2020-12-12 20:24:32 -08:00
  • 6ba1af0898 Warn when a variable is assigned to itself Vidar Holen 2020-12-11 20:28:36 -08:00
  • 8e332ce879 Improve handling of trailing tokens for []/compounds (fixes #2091) Vidar Holen 2020-12-06 20:30:43 -08:00
  • 7e40d97e7a
    Merge pull request #1857 from lukelbd/conda-install-instructions Vidar Holen 2020-12-05 20:35:20 -08:00
  • 775c0c11d7
    Merge pull request #1899 from ArturKlauser/simplify-prepare-deploy Vidar Holen 2020-12-05 20:19:16 -08:00
  • 5196ab1f95
    Merge pull request #2097 from ylluminarious/patch-1 Vidar Holen 2020-12-05 20:14:46 -08:00
  • b625562d60 Add POSIX checks for more Bash-specific variables (fixes #2093) Vidar Holen 2020-12-02 18:43:56 -08:00
  • 18e80284ec
    add macports as installation option in README.md George Plymale II 2020-12-01 16:15:22 -05:00
  • 65044c2568 SC2095: Also warn if the command is backgrounded Vidar Holen 2020-10-28 13:36:10 -07:00
  • 61b7dd610d
    Merge pull request #2077 from keith/ks/readonly-masking Vidar Holen 2020-11-13 17:38:43 -08:00
  • 4b0e5ca119
    Simplify .prepare-deploy Artur Klauser 2020-04-05 21:11:35 +02:00
  • 619662adb6 Add readonly to SC2155 Keith Smiley 2020-10-23 17:29:04 -07:00
  • 28d3279ba6 Optional style warning about [ x$var = xval ] Vidar Holen 2020-10-19 18:25:18 -07:00
  • 256457c47a Use getopts parser to find 'read' arrays (fixes #2073) Vidar Holen 2020-10-18 22:57:16 -07:00
  • 3104cec770 SC2267: Warn about xargs -i (fixes #2058) Vidar Holen 2020-10-18 22:08:40 -07:00
  • f100c2939e Rewrite getopts style option parser Vidar Holen 2020-10-18 20:36:48 -07:00
  • 8d99926554 Recognize local -x similarly to export (fixes #2069) Vidar Holen 2020-10-18 15:15:31 -07:00
  • 218deb6d01 Update SC2091/SC2092 message and ignore in quotes. Vidar Holen 2020-09-08 19:30:13 -07:00
  • c4cc2debb7 Improve compatibility checks Vidar Holen 2020-09-07 21:05:49 -07:00
  • cfd68ee0c2 Give each sh/dash compatibility warning its own SC3xxx error code Vidar Holen 2020-09-01 16:48:14 -07:00
  • 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