Skip to content

chore(deps): update dependency koalaman/shellcheck to v0.11.0

This MR contains the following updates:

Package Update Change
koalaman/shellcheck minor 0.9.0 -> 0.11.0

WARNING: this job ran in a Renovate pipeline that doesn't support the configuration required for common-ci-tasks Renovate presets.


Release Notes

koalaman/shellcheck (koalaman/shellcheck)

v0.11.0

Compare Source

Added
  • SC2327/SC2328: Warn about capturing the output of redirected commands.
  • SC2329: Warn when (non-escaping) functions are never invoked.
  • SC2330: Warn about unsupported glob matches with [[ .. ]] in BusyBox.
  • SC2331: Suggest using standard -e instead of unary -a in tests.
  • SC2332: Warn about [ ! -o opt ] being unconditionally true in Bash.
  • SC3062: Warn about bashism [ -o opt ].
  • Optional avoid-negated-conditions: suggest replacing [ ! a -eq b ] with [ a -ne b ], and similar for -ge/-lt/=/!=/etc (SC2335).
  • Precompiled binaries for Linux riscv64 (linux.riscv64)
Changed
  • SC2002 about Useless Use Of Cat is now disabled by default. It can be re-enabled with --enable=useless-use-of-cat or equivalent directive.
  • SC2236/SC2237 about replacing [ ! -n .. ] with [ -z ] and vice versa is now optional under avoid-negated-conditions.
  • SC2015 about A && B || C no longer triggers when B is a test command.
  • SC3012: Do not warn about \< and \> in test/[] as specified in POSIX.1-2024
  • Diff output now uses / as path separator on Windows
Fixed
  • SC2218 about function use-before-define is now more accurate.
  • SC2317 about unreachable commands is now less spammy for nested ones.
  • SC2292, optional suggestion for [[ ]], now triggers for Busybox.
  • Updates for Bash 5.3, including ${| cmd; } and source -p
Removed
  • SC3013: removed since the operators -ot/-nt/-ef are specified in POSIX.1-2024

v0.10.0

Compare Source

Added
  • Precompiled binaries for macOS ARM64 (darwin.aarch64)
  • Added support for busybox sh
  • Added flag --rcfile to specify an rc file by name.
  • Added extended-analysis=true directive to enable/disable dataflow analysis (with a corresponding --extended-analysis flag).
  • SC2324: Warn when x+=1 appends instead of increments
  • SC2325: Warn about multiple !s in dash/sh.
  • SC2326: Warn about foo | ! bar in bash/dash/sh.
  • SC3012: Warn about lexicographic-compare bashism in test like in [ ]
  • SC3013: Warn bashism test _ -op/-nt/-ef _ like in [ ]
  • SC3014: Warn bashism test _ == _ like in [ ]
  • SC3015: Warn bashism test _ =~ _ like in [ ]
  • SC3016: Warn bashism test -v _ like in [ ]
  • SC3017: Warn bashism test -a _ like in [ ]
Fixed
  • source statements with here docs now work correctly
  • "(Array.!): undefined array element" error should no longer occur

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Soos

Merge request reports

Loading